Last active
August 26, 2020 13:56
-
-
Save AndreSteenveld/d12cb00389ac874c097ae9717337fbc7 to your computer and use it in GitHub Desktop.
The YTT experiments
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
version: '3.7' | |
--- | |
#@ load( "@ytt:overlay", "overlay" ) | |
#@overlay/match by=overlay.all | |
#@overlay/match-child-defaults missing_ok=True | |
--- | |
#@overlay/assert | |
version: '3.7' | |
services: | |
cool-container: | |
labels: | |
- "cold" | |
- "ice" | |
- "snow" | |
--- | |
#@ load( "@ytt:overlay", "overlay" ) | |
#@overlay/match by=overlay.all | |
#@overlay/match-child-defaults missing_ok=True | |
--- | |
#@overlay/assert | |
version: '3.7' | |
services: | |
hot-container: | |
labels: | |
- "warm" | |
- "lava" | |
- "fire" |
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
# cat ./first.yaml | ytt --file - | |
version: "3.7" | |
services: | |
cool-container: | |
labels: | |
- cold | |
- ice | |
- snow | |
hot-container: | |
labels: | |
- warm | |
- lava | |
- fire |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment