Last active
July 6, 2020 22:14
-
-
Save cari-lynn/77ebbc29ce41b0e0a1f32fe6e0259753 to your computer and use it in GitHub Desktop.
Overlay defaults
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: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