mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-11-01 18:37:52 +00:00
feat(argocd): Creating kustomize build with helm plugin
This commit is contained in:
10
infra/argocd/config/argocd-cm-kustomize-helm-patch.yaml
Normal file
10
infra/argocd/config/argocd-cm-kustomize-helm-patch.yaml
Normal 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" ]
|
||||
@@ -3,4 +3,5 @@ kind: ConfigMap
|
||||
metadata:
|
||||
name: argocd-cmd-params-cm
|
||||
data:
|
||||
# Traefik handles TLS
|
||||
server.insecure: "true"
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user