feat: add redis operator

This commit is contained in:
Morten Olsen
2025-12-03 19:18:34 +01:00
parent 8f044b62b3
commit 164570237b
8 changed files with 66 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: foundation
namespace: argocd
spec:
generators:
- git:
repoURL: {{ .Values.repoURL }}
revision: {{ .Values.targetRevision }}
directories:
- path: {{ .Values.path }}/*
- path: {{ .Values.path }}/*{{ .Values.exclude }}
exclude: true
template:
metadata:
name: '{{`{{path.basename}}`}}'
spec:
project: {{ .Values.project }}
source:
repoURL: {{ .Values.repoURL }}
targetRevision: {{ .Values.targetRevision }}
path: '{{`{{path}}`}}'
helm:
valueFiles:
- values.yaml
values: |
globals:
timezone: {{ .Values.globals.timezone }}
destination:
server: https://kubernetes.default.svc
namespace: foundation
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true