Skip to content

Commit

Permalink
Fix issues with acceptance test external secrets (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinclarkeuk authored Nov 22, 2024
1 parent 0bb27e6 commit 4a2aba8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/bandstand-web-service/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: bandstand-web-service
version: 4.9.0
version: 4.9.1
description: Application chart for a web service
type: application
maintainers:
Expand Down
12 changes: 8 additions & 4 deletions charts/bandstand-web-service/templates/tests/extsecrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@ spec:
dataFrom:
- extract:
key: {{ tpl .secret $ }}
{{- if .upperCaseKeys }}
- transform:
template: {{`'{{ .value | upper }}'`}}
{{- end}}
rewrite:
- regexp:
source: "[^a-zA-Z0-9]"
target: "_"
{{- if .upperCaseKeys }}
- transform:
template: {{`'{{ .value | upper }}'`}}
{{- end}}
---
{{- end }}

0 comments on commit 4a2aba8

Please sign in to comment.