feat(argocd): Creating kustomize build with helm plugin

This commit is contained in:
Vegard Hagen
2023-01-09 21:22:59 +01:00
parent 888e0de398
commit f5da0ac420
3 changed files with 15 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-cm
data:
configManagementPlugins: |
- name: kustomize-build-with-helm
generate:
command: [ "sh", "-c" ]
args: [ "kustomize build --enable-helm" ]

View File

@@ -3,4 +3,5 @@ kind: ConfigMap
metadata:
name: argocd-cmd-params-cm
data:
# Traefik handles TLS
server.insecure: "true"

View File

@@ -10,7 +10,9 @@ resources:
- infrastructure.yaml
- applications.yaml
# Let Traefik manage TLS-termination
patchesStrategicMerge:
- config/argocd-cmd-params-cm-patch.yaml
# Kustomize Helm plugin
- config/argocd-cm-kustomize-helm-patch.yaml
# Let Traefik manage TLS-termination
- config/argocd-cmd-params-cm-server-insecrure-patch.yaml