$ argocd-helm-envsubst-plugin build
Usage:
argocd-helm-envsubst-plugin build [flags]
Flags:
--helm-registry-secret-config-path string Repository config, default to /helm-working-dir/plugin-repositories/repositories.yaml
-h, --help help for build
--path string Path to the application
--repository-path string Repository config, default to /helm-working-dir/
Similar to helm template .
Usage:
argocd-helm-envsubst-plugin render [flags]
Flags:
-h, --help help for render
--log-location string Default to /tmp/argocd-helm-envsubst-plugin/
--path string Path to the application
Parameter | Description | Default |
---|---|---|
namespace | Namespace to deploy = helm template --namespace xxx |
"" |
releaseName | Release name = helm template --release-name xxx |
"" |
skipCRD | Set to true if you want to skip deploy CRD = helm template --skip-crds |
false |
syncOptionReplace | Resources to add argocd.argoproj.io/sync-options:Replace=true |
[] |
# Example
argocd:
namespace: metazen-${ARGOCD_ENV_ENVIRONMENT}
releaseName: asset-master-service
skipCRD: true
syncOptionReplace:
- crds/crd-alertmanagerconfigs.yaml
# To rebuild, run and go into shell script
$ make build-run-sh
# Normal run
/ $ argocd-helm-envsubst-plugin
# With debug mode
/ $ DEBUG=1 argocd-helm-envsubst-plugin