https://github.com/cppforlife/tap-playground
https://github.com/cppforlife/tap-playground
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cppforlife/tap-playground
- Owner: cppforlife
- Created: 2021-10-11T15:02:29.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-11T19:14:52.000Z (over 4 years ago)
- Last Synced: 2025-02-22T00:17:02.899Z (about 1 year ago)
- Size: 158 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Install TAP
(...Playing around with Packaging k8s APIs + TAP beta2...)
### Step 0
Install kapp-controller + secretgen-controller
```
$ time kapp deploy -a prereq -f 0-config-prereq/
```
### Step 1
Create `values.yml`:
```yaml
image_registry:
username: ""
password: ""
rw_app_registry:
# e.g. us-east4-docker.pkg.dev/cf-sandbox-dkalinin/test-areg-private/tbs
server_repo: ""
username: ""
password: ""
```
Install TAP:
```
$ time kapp deploy -a tap -f <(ytt -f 1-config-tap/ --data-values-file values.yml)
```
(Currently not all TAP components are installed because some require manual configuration.)
### Step 2
Deploy workload:
```
$ kapp deploy -a app -f 2-config-app/
```
---
### Step 1 Alternative
Create `values.yml` as described above.
1st option:
```
$ time kapp deploy -a tap -f <(ytt -f 1.1-config-tap-alt/a-repo/ --data-values-file values.yml)
$ time kapp deploy -a tap -f <(ytt -f 1.1-config-tap-alt/b-pkg/ --data-values-file values.yml)
```
2nd option w/ tanzu CLI way:
```
$ time kapp deploy -a tap -f <(ytt -f 1.1-config-tap-alt/a-repo/ --data-values-file values.yml)
$ tanzu package install tap -n tap-install -p tap-full.tanzu.vmware.com -v 0.0.1 -f values.yml
```