Added keycloak operator

This commit is contained in:
2024-11-07 18:28:36 +00:00
parent 2d58d848db
commit 81fdbc130c
9 changed files with 172 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
{{- if .Values.keycloakOperator.enable -}}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: keycloak-operator
namespace: {{ .Values.argocd.namespace }}
annotations:
notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: "-1002270587578"
spec:
project: {{ .Values.argocd.project }}
source:
repoURL: "https://git.blarre.net/thomas/helm-charts.git"
targetRevision: HEAD
path: keycloak-operator
helm:
releaseName: keycloak-operator
destination:
server: {{ .Values.keycloakOperator.destination.server }}
namespace: {{ .Values.keycloakOperator.destination.namespace }}
syncPolicy:
automated:
prune: true # Automatically remove resources no longer in the repo
selfHeal: true # Automatically self-heal when drift is detected
syncOptions:
- ApplyOutOfSyncOnly=true
- ServerSideApply=true
- CreateNamespace=true
{{- end }}