Created
March 30, 2021 20:49
-
-
Save pivotaljohn/bfecca9dfb22026390fc86550080dc45 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
--- | |
kind: ConfigMap | |
metadata: | |
name: habor-core-ver-43 | |
spec: | |
original_stuff: 1 |
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 name_startswith(name): | |
#@ return lambda idx, left, right: left["metadata"]["name"].startswith(name) | |
#@ end | |
#@ is_config_map = overlay.subset({"kind": "ConfigMap"}) | |
#@ habor_configmap = overlay.and_op(is_config_map, name_startswith("habor")) | |
#@overlay/match by=habor_configmap,expects="1+" | |
--- | |
spec: | |
#@overlay/match missing_ok=True | |
additional_stuff: null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment