apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ template "centrifugo.fullname" . }}-config
  labels:
    heritage: {{ .Release.Service }}
    release: {{ .Release.Name }}
    chart: {{ .Chart.Name }}-{{ .Chart.Version }}
    app: {{ template "centrifugo.name" . }}
data:
  config.json: |-
{{ toJson .Values.config| indent 4 }}