Files
helm-charts/k3s-tooling/templates/keycloak-operator.yaml
2024-11-07 21:11:10 +00:00

29 lines
937 B
YAML

{{- 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://github.com/roukydesbois/keycloak-operator.git"
targetRevision: HEAD
path: '/'
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 }}