Last active
October 26, 2021 21:44
-
-
Save KauzClay/a43c8b44e58772948133bd3c30e1ee07 to your computer and use it in GitHub Desktop.
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
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: example-ingress1 | |
labels: | |
ingress.kubernetes.io/rewrite-target: / | |
keep: me | |
foo: bar | |
--- | |
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: example-ingress1 | |
labels: | |
foo: bar |
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 matcher(): | |
kind: Ingress | |
metadata: | |
name: example-ingress1 | |
labels: | |
foo: bar | |
#@ end | |
#@overlay/match by=overlay.subset(matcher()),expects=2 | |
#@overlay/remove | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment