Added keycloak operator
This commit is contained in:
28
k3s-tooling/templates/keycloak-operator.yaml
Normal file
28
k3s-tooling/templates/keycloak-operator.yaml
Normal 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 }}
|
||||
Reference in New Issue
Block a user