Created
July 15, 2024 09:31
-
-
Save jorgemoralespou/f3a402bda6830cc85bd32a03707c3e82 to your computer and use it in GitHub Desktop.
Ytt schema/default error with lists
This file contains hidden or 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
#@ load("@ytt:data", "data") | |
#@ if/end data.values.configFileContents.defaultHttpVersions: | |
default-http-versions: #@ data.values.configFileContents.defaultHttpVersions |
This file contains hidden or 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
#@data/values-schema | |
--- | |
configFileContents: | |
#@schema/default ["HTTP/1.1", "HTTP/2"] | |
defaultHttpVersions: | |
- "" |
This file contains hidden or 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
#@data/values | |
--- | |
configFileContents: | |
defaultHttpVersions: | |
- HTTP/1.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment