Last active
September 8, 2020 03:16
-
-
Save jtigger/e0948851963c364f9cde80afb3c89ae7 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
#@ load("@ytt:data", "data") | |
apps: | |
#@ for app in data.values.traefik.ingress_routes: | |
- #@ app | |
#@ end |
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
#@data/values | |
--- | |
traefik: | |
ingress_routes: | |
- name: foo | |
insecure: true | |
- name: bar | |
insecure: false | |
- name: ree |
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") | |
#@data/values | |
--- | |
traefik: | |
ingress_routes: | |
#@overlay/match by=overlay.not_op(overlay.subset({"insecure": True})), expects="0+" | |
- | |
#@overlay/match missing_ok=True | |
insecure: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment