Created
March 19, 2020 00:03
-
-
Save ewrenn8/ed4c0209d80fe023d52a49131b5a487f to your computer and use it in GitHub Desktop.
ytt with_data_values bug
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:template", "template") | |
#@ load("@ytt:library", "library") | |
#@ load("@ytt:data", "data") | |
#@ def apps(): | |
names: | |
- app3 | |
#@ end | |
#@ backend = library.get("lib").with_data_values(apps()) | |
--- #@ template.replace(backend.eval()) |
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") | |
names: #@ data.values.names |
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 | |
--- | |
names: | |
- app1 | |
- app2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment