Fix error 'Error: ConfigMap in version v1 cannot be handled as a ConfigMap' (#10222)

Signed-off-by: David Gomez <dgomezleon@vmware.com>
This commit is contained in:
David Gomez
2022-05-16 10:04:16 +02:00
committed by GitHub
parent 80aaf6e7b9
commit 905260a6f7
2 changed files with 2 additions and 2 deletions

View File

@@ -12,5 +12,5 @@ metadata:
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
data:
custom-metrics.yaml: {{- toYaml .Values.metrics.customMetrics | nindent 4 }}
custom-metrics.yaml: {{ toYaml .Values.metrics.customMetrics | quote }}
{{- end }}

View File

@@ -12,5 +12,5 @@ metadata:
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
data:
custom-metrics.yaml: {{- toYaml .Values.metrics.customMetrics | nindent 4 }}
custom-metrics.yaml: {{ toYaml .Values.metrics.customMetrics | quote }}
{{- end }}