Last active
September 26, 2022 08:30
-
-
Save hoegaarden/1fcb5d5d7c2afd7645342943992de52b to your computer and use it in GitHub Desktop.
ytt-defaults
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 | |
--- | |
inline: | |
- a: not_a | |
b: not_b | |
annotation: | |
- a: not_a | |
b: not_b |
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 | |
--- | |
inline: | |
- a: "a" | |
b: "b" | |
inline_no_input_values: | |
- a: "a" | |
b: "b" | |
#@schema/default [{"a":"a", "b":"b"}] | |
annotation: | |
- a: "" | |
b: "" | |
#@schema/default [{"a":"a", "b":"b"}] | |
annotation_no_input_values: | |
- a: "" | |
b: "" |
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") | |
--- | |
"just the values-schema, no data values provided": | |
inline: #@ data.values.inline_no_input_values | |
annotation: #@ data.values.annotation_no_input_values | |
"data-values provided": | |
inline: #@ data.values.inline | |
annotation: #@ data.values.annotation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment