Skip to content

Commit

Permalink
Remove the extra whitespace around the supplied (or ommitted) exclude…
Browse files Browse the repository at this point in the history
… regexes

Signed-off-by: Richard Wall <richard.wall@venafi.com>
  • Loading branch information
wallrj committed Nov 15, 2024
1 parent 1a567ef commit f0c0643
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ data:
cluster_description: {{ .Values.config.clusterDescription | quote }}
server: {{ .Values.config.server | quote }}
period: {{ .Values.config.period | quote }}
{{- with .Values.config.excludeAnnotationKeysRegex }}
exclude-annotation-keys-regex:
{{ .Values.config.excludeAnnotationKeysRegex | toYaml | nindent 6 }}
{{- . | toYaml | nindent 6 }}
{{- end }}
{{- with .Values.config.excludeLabelKeysRegex }}
exclude-label-keys-regex:
{{ .Values.config.excludeLabelKeysRegex | toYaml | nindent 6 }}
{{- . | toYaml | nindent 6 }}
{{- end }}
venafi-cloud:
uploader_id: "no"
upload_path: "/v1/tlspk/upload/clusterdata"
Expand Down
1 change: 1 addition & 0 deletions hack/e2e/values.venafi-kubernetes-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ config:
clusterName: venafi-kubernetes-agent-e2e
clusterDescription: |
A kind cluster used for testing the venafi-kubernetes-agent.
excludeAnnotationKeysRegex: ['^kapp\.k14s\.io/original.*']

authentication:
venafiConnection:
Expand Down

0 comments on commit f0c0643

Please sign in to comment.