Created
November 1, 2023 13:17
-
-
Save mamachanko/569230d48bc0ebebd88874cc3b1c2439 to your computer and use it in GitHub Desktop.
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
#@ load("@ytt:data", "data") | |
#@ load("@ytt:yaml", "yaml") | |
--- | |
kind: ConfigMap | |
metadata: | |
name: controller-config | |
data: | |
config.yaml: #@ yaml.encode(data.values.controller.feature_gates) |
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
#@data/values-schema | |
--- | |
controller: | |
#@schema/default [] | |
feature_gates: | |
#@schema/validation one_of=["A", "B"] | |
- "" |
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
#@data/values | |
--- | |
controller: | |
feature_gates: [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment