wip: add guards around apps for move to helm template

This commit is contained in:
2025-05-06 15:58:18 +02:00
parent 2b974b8f8c
commit 4590ddc30a
28 changed files with 127 additions and 318 deletions
+29
View File
@@ -0,0 +1,29 @@
{{ if .Values.dex.enabled }}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-dex
namespace: argocd
spec:
project: aux
destination:
server: https://kubernetes.default.svc
namespace: dex
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: 'values/dex/prod'
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: values/dex/resources
- repoURL: https://charts.dexidp.io
targetRevision: 0.19.1
chart: dex
helm:
valueFiles:
- $values/values/dex/values.yaml
- $values/values/dex/values-prod.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
ref: values
{{- end }}