Skip to content

Commit

Permalink
fix: Add the ARGOCD_ENV prefix in the helm with args example
Browse files Browse the repository at this point in the history
The example that shows how avp can be invoked to render with the cm configmap has been updated to:
- include the prefix argo appends (ARGOCD_ENV)
- respect the applications namespace

Signed-off-by: Stavros Kroustouris <[email protected]>
  • Loading branch information
kroustou authored and werne2j committed Nov 25, 2022
1 parent b373eaa commit 9eabb45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ configManagementPlugins: |
args: ["helm dependency build"]
generate:
command: ["sh", "-c"]
args: ["helm template $ARGOCD_APP_NAME ${helm_args} . --include-crds | argocd-vault-plugin generate -"]
args: ["helm template $ARGOCD_APP_NAME -n $ARGOCD_APP_NAMESPACE ${ARGOCD_ENV_helm_args} . --include-crds | argocd-vault-plugin generate -"]
```
For sidecar configured plugins, add this to `cmp-plugin` ConfigMap, and then [add a sidecar to run it](../installation#initcontainer-and-configuration-via-sidecar):
```yaml
Expand Down

0 comments on commit 9eabb45

Please sign in to comment.