apiVersion: v1 kind: ConfigMap metadata: name: {{ include "pyroscope.fullname" . }}-config namespace: {{ .Release.Namespace }} labels: {{- include "pyroscope.labels" . | nindent 4 }} data: config.yaml: | {{- tpl (mergeOverwrite (tpl .Values.pyroscope.config . | fromYaml) .Values.pyroscope.structuredConfig | toYaml) . | nindent 4 }}