apiVersion: v1
kind: ConfigMap
metadata:
  labels:
    app: {{ include "openslice.fullname" . }}
    org.etsi.osl.service: keycloak
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
    {{- include "openslice.labels" . | nindent 4 }}
  name: {{ include "openslice.fullname" . }}-keycloak-realm-config
  namespace: {{ .Release.Namespace }}
data:
  realm-export.json: |
    {{- tpl (.Files.Get "files/keycloak-init/realm-export.json") . | nindent 4 }}
