Skip to content

Instantly share code, notes, and snippets.

@cari-lynn
Last active July 6, 2020 22:14
Show Gist options
  • Save cari-lynn/77ebbc29ce41b0e0a1f32fe6e0259753 to your computer and use it in GitHub Desktop.
Save cari-lynn/77ebbc29ce41b0e0a1f32fe6e0259753 to your computer and use it in GitHub Desktop.
Overlay defaults
#@ load("@ytt:overlay", "overlay")
#@ def left():
key1: value1
key2: value2
#@ end
#@ def right1():
#@overlay/match missing_ok=True
name: type1
key2: value2.2
#@ end
#@ def right2():
#@overlay/match missing_ok=True
name: type2
key1: value1.1
#@ end
data:
- #@ overlay.apply(left(), right1())
- #@ overlay.apply(left(), right2())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment