Created
May 8, 2020 18:36
-
-
Save pivotaljohn/2b3a9b3367137079195971e1409d539e to your computer and use it in GitHub Desktop.
Replace one list with another
This file contains hidden or 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
apiVersion: training.eduk8s.io/v1alpha2 | |
kind: Workshop | |
metadata: | |
name: lab-1 | |
spec: | |
description: Sample | |
--- | |
apiVersion: training.eduk8s.io/v1alpha2 | |
kind: Workshop | |
metadata: | |
name: lab-2 | |
spec: | |
authors: | |
- Jorge | |
description: Sample | |
#@ load("@ytt:overlay", "overlay") | |
#@overlay/match by=overlay.subset({"kind": "Workshop"}),expects="0+" | |
--- | |
spec: | |
#@overlay/match missing_ok=True | |
#@overlay/replace | |
authors: | |
- eduk8s team | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment