Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Document the possibility of rendering Helm charts with Kustomize #9841

Merged
merged 3 commits into from
Jul 5, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:
djfinnoy marked this conversation as resolved.
Show resolved Hide resolved
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
djfinnoy marked this conversation as resolved.
Show resolved Hide resolved
```