blob: cac21dba6d1952ff1a7f43142e60b363080f423a [file] [log] [blame]
Oleksandr Kozachenkob0093492023-09-06 21:43:47 +02001{{- /*
2Copyright VMware, Inc.
3SPDX-License-Identifier: APACHE-2.0
4*/}}
5
6{{- if (include "keycloak.createConfigmap" .) }}
7apiVersion: v1
8kind: ConfigMap
9metadata:
10 name: {{ printf "%s-configuration" (include "common.names.fullname" .) }}
11 namespace: {{ include "common.names.namespace" . | quote }}
12 labels: {{- include "common.labels.standard" . | nindent 4 }}
13 app.kubernetes.io/component: keycloak
14 {{- if .Values.commonLabels }}
15 {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
16 {{- end }}
17 {{- if .Values.commonAnnotations }}
18 annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
19 {{- end }}
20data:
21 keycloak.conf: |-
22 {{- .Values.configuration | nindent 4 }}
23{{- end }}