Example Apps to Demonstrate Argo CD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Alexander Matyushentsev 826b3fa710
Fix init command in Helm + Kustomize example (#15)
6 years ago
..
overlays Add config template plugin examples (#7) 6 years ago
.gitignore Add config template plugin examples (#7) 6 years ago
Chart.yaml Add config template plugin examples (#7) 6 years ago
README.md Fix init command in Helm + Kustomize example (#15) 6 years ago
kustomization.yaml Add config template plugin examples (#7) 6 years ago
requirements.yaml Add config template plugin examples (#7) 6 years ago

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 init --client-only && helm dependency build"]
      generate:
        command: [sh, -c]
        args: ["helm template . > 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