Skip to content

Instantly share code, notes, and snippets.

@ewrenn8
Created March 19, 2020 00:03
Show Gist options
  • Save ewrenn8/ed4c0209d80fe023d52a49131b5a487f to your computer and use it in GitHub Desktop.
Save ewrenn8/ed4c0209d80fe023d52a49131b5a487f to your computer and use it in GitHub Desktop.
ytt with_data_values bug
#@ 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())
#@ load("@ytt:data", "data")
names: #@ data.values.names
#@data/values
---
names:
- app1
- app2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment