Created
July 15, 2024 10:00
-
-
Save 100mik/75a942ff81679a35992ec351254df05f to your computer and use it in GitHub Desktop.
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
#@ load("@ytt:data", "data") | |
#@ if/end data.values.configFileContents.defaultHttpVersions: | |
default-http-versions: #@ data.values.configFileContents.defaultHttpVersions |
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
#@ def default_conns(): | |
- foo: 2 | |
bar: 1 | |
#@ end | |
#@data/values-schema | |
--- | |
configFileContents: | |
#@schema/default default_conns() | |
defaultHttpVersions: | |
- foo: 1 | |
bar: 2 |
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
#@data/values | |
--- | |
configFileContents: | |
defaultHttpVersions: | |
- foo: 4 | |
- bar: 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment