blob: 12cca415f14e277a2b1f7291274db9b8eba4f310 [file] [log] [blame]
Oleksandr Kozachenkob0093492023-09-06 21:43:47 +02001{{- /*
Mohammed Naser7d1623e2024-06-17 09:12:39 -04002Copyright Broadcom, Inc. All Rights Reserved.
Oleksandr Kozachenkob0093492023-09-06 21:43:47 +02003SPDX-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 }}
Mohammed Naser65cda132024-05-02 14:34:08 -040012 labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
Oleksandr Kozachenkob0093492023-09-06 21:43:47 +020013 app.kubernetes.io/component: keycloak
Oleksandr Kozachenkob0093492023-09-06 21:43:47 +020014 {{- if .Values.commonAnnotations }}
15 annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
16 {{- end }}
17data:
18 keycloak.conf: |-
19 {{- .Values.configuration | nindent 4 }}
20{{- end }}