Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update keycloak charts #150

Merged
merged 2 commits into from
Nov 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions keycloak-operator/templates/deploy-keycloak-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ spec:
fieldPath: metadata.name
- name: OPERATOR_NAME
value: "keycloak-operator"
- name: RELATED_IMAGE_KEYCLOAK
value: "{{ .Values.keycloakCrImage.repository }}:{{ .Values.keycloakCrImage.tag }}"
- name: RELATED_IMAGE_KEYCLOAK_INIT_CONTAINER
value: "{{ .Values.keycloakCrInitImage.repository }}:{{ .Values.keycloakCrInitImage.tag }}"
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
8 changes: 8 additions & 0 deletions keycloak-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ image:
# Overrides the image tag whose default is the chart appVersion.
tag: ""

keycloakCrImage:
repository: quay.io/keycloak/keycloak
tag: 17.0.0-legacy

keycloakCrInitImage:
repository: quay.io/keycloak/keycloak-init-container
tag: 17.0.0-legacy

imagePullSecrets: []

resources: {}
Expand Down
2 changes: 1 addition & 1 deletion keycloak-resources/templates/keycloak-realm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ spec:
displayName: "{{ .displayName }}"
instanceSelector:
matchLabels:
app: "{{ .name }}"
app: "{{ .keycloakSelector }}"
{{- end }}
1 change: 1 addition & 0 deletions keycloak-resources/templates/keycloak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ spec:
{{- end }}
externalAccess:
enabled: {{ .Values.keycloak.externalAccessEnabled }}
host: {{ .Values.keycloak.externalAccessHost }}
3 changes: 3 additions & 0 deletions keycloak-resources/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ keycloak:
superuserEnabled: true
storageClassName: storage # Valid only if externalDatabase is false
externalAccessEnabled: false
externalAccessHost: CHANGEME

keycloakRealm: []
# - name: myrealm
# displayName: "My Realm"
# #tpl function doesn't work. Just put keycloak.name directly.
# keycloakSelector: {{ tpl .Values.keycloak.name . }}

keycloakUser: []
# - name: "myuser"
Expand Down