Skip to content

Commit 9eabb45

Browse files
kroustouwerne2j
authored andcommitted
fix: Add the ARGOCD_ENV prefix in the helm with args example
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]>
1 parent b373eaa commit 9eabb45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ configManagementPlugins: |
9090
args: ["helm dependency build"]
9191
generate:
9292
command: ["sh", "-c"]
93-
args: ["helm template $ARGOCD_APP_NAME ${helm_args} . --include-crds | argocd-vault-plugin generate -"]
93+
args: ["helm template $ARGOCD_APP_NAME -n $ARGOCD_APP_NAMESPACE ${ARGOCD_ENV_helm_args} . --include-crds | argocd-vault-plugin generate -"]
9494
```
9595
For sidecar configured plugins, add this to `cmp-plugin` ConfigMap, and then [add a sidecar to run it](../installation#initcontainer-and-configuration-via-sidecar):
9696
```yaml

0 commit comments

Comments
 (0)