We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08b3738 commit 962e425Copy full SHA for 962e425
issue-494/templates/secret.yaml
@@ -5,4 +5,5 @@ metadata:
5
name: foo
6
data:
7
greeting: 'aGVsbG8K'
8
+ greetingBase64: {{ .Values.greeting | b64enc | quote }}
9
issue-494/tests/secret_test.yaml
@@ -3,9 +3,18 @@ templates:
3
- secret.yaml
4
tests:
- it: should be "hello"
+ set:
+ greeting: hello
asserts:
- equal:
10
path: data.greeting
11
+ value: aGVsbG8K
12
+ # decodeBase64: true
13
+ # value: 'aGVsbG8K'
14
+ - equal:
15
+ path: data.greetingBase64
16
+ value: aGVsbG8=
17
18
19
value: hello
20
decodeBase64: true
- # value: 'aGVsbG8K'
0 commit comments