argocd-example-apps/plugins/kustomized-helm
May Zhang 53e28ff20c
feat: update helm samples to use helm3 (#78)
* helm3 guestbook

* helm3 blue-green

* helm3 dependencies

* helm3 plugin

* helm3 plugin

* helm3 plugin

* helm3 apps

* helm3 dependency

* helm3 dependency

* helm3 dependency

* helm3 fix readme
2021-03-03 13:07:29 -08:00
..
overlays Use apps/v1 API for Deployment resources (#38) 2019-09-27 10:58:45 -07:00
.gitignore Add config template plugin examples (#7) 2019-02-25 14:19:08 -08:00
Chart.yaml feat: update helm samples to use helm3 (#78) 2021-03-03 13:07:29 -08:00
README.md feat: update helm samples to use helm3 (#78) 2021-03-03 13:07:29 -08:00
kustomization.yaml Add config template plugin examples (#7) 2019-02-25 14:19:08 -08:00

README.md

Helm + Kustomize

Sometimes Helm chart don't have all required parameters and additional customization is required. This example application demonstrates how to combine Helm and Kustomize and use it as a config management plugin in Argo CD.

Use following steps to try the application:

  • configure kustomized-helm tool in argocd-cm ConfigMap:
  configManagementPlugins: |
    - name: kustomized-helm
      init:
        command: ["/bin/sh", "-c"]
        args: ["helm dependency build"]
      generate:
        command: [sh, -c]
        args: ["helm template --release-name release-name . > all.yaml && kustomize build"]    
  • create application using kustomized-helm as a config management plugin name:
argocd app create kustomized-helm \
    --config-management-plugin kustomized-helm \
    --repo https://github.com/argoproj/argocd-example-apps \
    --path plugins/kustomized-helm \
    --dest-server https://kubernetes.default.svc \
    --dest-namespace default