Skip to content

Commit

Permalink
Update kustomize.md
Browse files Browse the repository at this point in the history
Resolves  argoproj#7835.

Signed-off-by: Didrik Finnøy <[email protected]>
  • Loading branch information
djfinnoy committed Jun 30, 2022
1 parent 71c1f54 commit 5919867
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/user-guide/kustomize.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,22 @@ argocd app set <appName> --kustomize-version v3.5.4
## Build Environment

Kustomize does not support parameters and therefore cannot support the standard [build environment](build-environment.md).

## Kustomizing Helm charts

It's possible to [render Helm charts with Kustomize](https://github.com/kubernetes-sigs/kustomize/blob/master/examples/chart.md).
Doing so requires that you pass the `--enable-helm` flag to the `kustomize build` command.
This flag is not part of the Kustomize options within ArgoCD.
If you would like to render Helm charts through Kustomize in an ArgoCD application, you have two options:
You can either create a [custom plugin](https://argo-cd.readthedocs.io/en/stable/user-guide/config-management-plugins/), or modify the `argocd-cm` configmap, activating the `--enable-helm` flag globally for all Kustomize applications:

```
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-cm
namespace: argocd
data:
kustomize.buildOptions: --load-restrictor LoadRestrictionsNone --enable-helm
```

0 comments on commit 5919867

Please sign in to comment.