-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow stringData and encoded values on secrets
- Loading branch information
1 parent
3e8defc
commit 6a860ae
Showing
4 changed files
with
78 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ type: application | |
|
||
# Helm chart Version | ||
|
||
version: 2.2.9 | ||
version: 2.3.0 | ||
|
||
|
||
keywords: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
suite: Secret | ||
|
||
templates: | ||
- secret.yaml | ||
|
||
tests: | ||
- it: include stringData and data if they are set | ||
set: | ||
secret: | ||
enabled: enable | ||
files: | ||
test: | ||
stringData: | ||
testStringData: testValue | ||
data: | ||
testNoEncodedData: testValue | ||
encodedData: | ||
testEncodedData: dGVzdFZhbHVl | ||
asserts: | ||
- equal: | ||
path: stringData.testStringData | ||
value: testValue | ||
- equal: | ||
path: data.testEncodedData | ||
value: dGVzdFZhbHVl | ||
- equal: | ||
path: data.testNoEncodedData | ||
value: dGVzdFZhbHVl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters