Skip to content

Instantly share code, notes, and snippets.

@AndreSteenveld
Last active August 26, 2020 13:56
Show Gist options
  • Save AndreSteenveld/d12cb00389ac874c097ae9717337fbc7 to your computer and use it in GitHub Desktop.
Save AndreSteenveld/d12cb00389ac874c097ae9717337fbc7 to your computer and use it in GitHub Desktop.
The YTT experiments
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"
# 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