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,17 @@
apiVersion: batch/v1
kind: Job
metadata:
name: keycloakoperator-job
annotations:
"helm.sh/hook": post-install
spec:
template:
spec:
containers:
- name: crd-fetcher
image: bitnami/kubectl:latest # Use Bitnami's kubectl image
command:
- "sh"
- "-c"
- "curl -fL {{ .Values.baseURL }}/{{ .Release.appVersion }}/kubernetes/kubernetes.yml -o /tmp/keycloakoperator.yml && kubectl apply -f /tmp/keycloakoperator.yml"
restartPolicy: OnFailure