Last active
February 18, 2020 22:18
-
-
Save dnmgns/84cd3e7d19580d167a878b8193311023 to your computer and use it in GitHub Desktop.
configmap
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") | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: foo-service | |
port: #@ data.values.port | |
data: | |
foo.yaml: | | |
port: #@ data.values.port |
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 | |
--- | |
port: 1337 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment