John Win
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
2 deletions
-
plugins/kustomized-helm/README.md
|
|
@ -14,10 +14,14 @@ Use following steps to try the application: |
|
|
|
command: ["/bin/sh", "-c"] |
|
|
|
args: ["helm dependency build"] |
|
|
|
generate: |
|
|
|
command: [sh, -c] |
|
|
|
args: ["helm template --release-name release-name . > all.yaml && kustomize build"] |
|
|
|
command: ["/bin/sh", "-c"] |
|
|
|
args: ["helm template . --name-template $ARGOCD_APP_NAME --namespace $ARGOCD_APP_NAMESPACE --kube-version $KUBE_VERSION > all.yaml && kustomize build"] |
|
|
|
``` |
|
|
|
|
|
|
|
Notes: |
|
|
|
- `$ARGOCD_APP_NAME`, `$ARGOCD_APP_NAMESPACE` and `$KUBE_VERSION` are environment variables that exists in the context of the plugin. |
|
|
|
- setting `--kube-version` is important as helm template can mock up data which may not match the actual cluster version. |
|
|
|
|
|
|
|
* create application using `kustomized-helm` as a config management plugin name: |
|
|
|
|
|
|
|
|
|
|
|