From 8456018c1e427fca0e961f19673ddc948b7c6191 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Wed, 3 May 2023 11:40:07 +0200 Subject: [PATCH] Enable helm with kustomize --- argocd/base/argocd-cm.yaml | 17 +++++++++++++++++ argocd/base/kustomization.yaml | 1 + 2 files changed, 18 insertions(+) create mode 100644 argocd/base/argocd-cm.yaml diff --git a/argocd/base/argocd-cm.yaml b/argocd/base/argocd-cm.yaml new file mode 100644 index 0000000..2e47138 --- /dev/null +++ b/argocd/base/argocd-cm.yaml @@ -0,0 +1,17 @@ +apiVersion: v1 +data: + resource.customizations: | + networking.k8s.io/Ingress: + health.lua: | + hs = {} + hs.status = "Healthy" + return hs + kustomize.buildOptions: --enable-helm +kind: ConfigMap +metadata: + labels: + app.kubernetes.io/instance: argocd + app.kubernetes.io/name: argocd-cm + app.kubernetes.io/part-of: argocd + name: argocd-cm + namespace: argocd diff --git a/argocd/base/kustomization.yaml b/argocd/base/kustomization.yaml index fcc1280..56e9ff7 100644 --- a/argocd/base/kustomization.yaml +++ b/argocd/base/kustomization.yaml @@ -4,3 +4,4 @@ kind: Kustomization namespace: argocd resources: - https://raw.githubusercontent.com/argoproj/argo-cd/v2.5.10/manifests/ha/install.yaml +- argocd-cm.yaml