Closed ol3k closed 2 months ago
in azure-resourcemanager-exporter-1.3.0 the podLabels annotation isn't working anymore:
podLabels: azure.workload.identity/use: "true"
results in:
error converting YAML to JSON: yaml: line 28: mapping values are not allowed in this context
Looks like the issue references to the last refactoring in PR #27
charts/azure-resourcemanager-exporter/templates/deployment.yaml: [...] labels: {{- include "azure-resourcemanager-exporter.selectorLabels" . | nindent 8 }} {{- with .Values.podLabels }} {{ toYaml . | indent 8 }} {{- end }} {{- if or (not .Values.existingConfigMap) (.Values.podAnnotations) (.Values.secrets) }} [...]
Last working version is azure-resourcemanager-exporter-1.2.2
Edit: Looks like {{ toYaml . | indent 8 }}
{{ toYaml . | indent 8 }}
has to be {{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 8 }}
in azure-resourcemanager-exporter-1.3.0 the podLabels annotation isn't working anymore:
results in:
error converting YAML to JSON: yaml: line 28: mapping values are not allowed in this context
Looks like the issue references to the last refactoring in PR #27
Last working version is azure-resourcemanager-exporter-1.2.2
Edit: Looks like
{{ toYaml . | indent 8 }}
has to be
{{- toYaml . | nindent 8 }}