Skip to content

Commit f644b84

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 f644b84

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-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.excludeLabelKeysRegex }}
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"

hack/e2e/values.venafi-kubernetes-agent.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ config:
22
clusterName: venafi-kubernetes-agent-e2e
33
clusterDescription: |
44
A kind cluster used for testing the venafi-kubernetes-agent.
5+
excludeAnnotationKeysRegex: ['^kapp\.k14s\.io/original.*']
56

67
authentication:
78
venafiConnection:

0 commit comments

Comments
 (0)