fix minior bug that creates invalid kong DANM dannotation
[it/dep.git] / ric-aux / helm / infrastructure / subcharts / kong / charts / postgresql / templates / metrics-configmap.yaml
1 {{- if and .Values.metrics.enabled .Values.metrics.customMetrics }}
2 apiVersion: v1
3 kind: ConfigMap
4 metadata:
5   name: {{ template "postgresql.metricsCM" . }}
6   labels:
7     app: {{ template "postgresql.name" . }}
8     chart: {{ template "postgresql.chart" . }}
9     release: {{ .Release.Name | quote }}
10     heritage: {{ .Release.Service | quote }}
11 data:
12   custom-metrics.yaml: {{ toYaml .Values.metrics.customMetrics | quote }}
13 {{- end }}