From c361c4aba2605388a6c3e5f21866040389a86def Mon Sep 17 00:00:00 2001
From: Steffen Illium <steffen.illium@gmail.com>
Date: Tue, 26 Mar 2024 15:42:45 +0100
Subject: [PATCH] argo now with helm build support

---
 infrastructure/02-argocd/kustomization.yaml           | 1 +
 infrastructure/02-argocd/patches/argocd-cm-patch.yaml | 6 ++++++
 2 files changed, 7 insertions(+)
 create mode 100644 infrastructure/02-argocd/patches/argocd-cm-patch.yaml

diff --git a/infrastructure/02-argocd/kustomization.yaml b/infrastructure/02-argocd/kustomization.yaml
index 5d731d0..6223868 100644
--- a/infrastructure/02-argocd/kustomization.yaml
+++ b/infrastructure/02-argocd/kustomization.yaml
@@ -12,3 +12,4 @@ resources:
 patches:
 - path: patches/argocd-cmd-params-cm-patch.yaml
 - path: patches/argocd-server-service-type.yaml
+- path: patches/argocd-cm-patch.yaml
diff --git a/infrastructure/02-argocd/patches/argocd-cm-patch.yaml b/infrastructure/02-argocd/patches/argocd-cm-patch.yaml
new file mode 100644
index 0000000..b6749a7
--- /dev/null
+++ b/infrastructure/02-argocd/patches/argocd-cm-patch.yaml
@@ -0,0 +1,6 @@
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: argocd-cm
+data:
+  kustomize.buildOptions: --enable-helm