Skip to content

Commit 68bf5c1

Browse files
committed
Remove the extra whitespace around the supplied (or ommitted) exclude regexes
Signed-off-by: Richard Wall <[email protected]>
1 parent 1a567ef commit 68bf5c1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

deploy/charts/venafi-kubernetes-agent/templates/configmap.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@ data:
1313
cluster_description: {{ .Values.config.clusterDescription | quote }}
1414
server: {{ .Values.config.server | quote }}
1515
period: {{ .Values.config.period | quote }}
16+
{{- with .Values.config.excludeAnnotationKeysRegex }}
1617
exclude-annotation-keys-regex:
17-
{{ .Values.config.excludeAnnotationKeysRegex | toYaml | nindent 6 }}
18+
{{- . | toYaml | nindent 6 }}
19+
{{- end }}
20+
{{- with .Values.config.excludeAnnotationKeysRegex }}
1821
exclude-label-keys-regex:
19-
{{ .Values.config.excludeLabelKeysRegex | toYaml | nindent 6 }}
22+
{{- . | toYaml | nindent 6 }}
23+
{{- end }}
2024
venafi-cloud:
2125
uploader_id: "no"
2226
upload_path: "/v1/tlspk/upload/clusterdata"

0 commit comments

Comments
 (0)