Last active
September 27, 2019 14:50
-
-
Save silasb/5a875ee530265a1f516b779e927e5830 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
| apiVersion: v1 | |
| name: blah | |
| version: 1 |
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
| value: {{ .Values.env_name }} | |
| data: | |
| services: | |
| {{- range $key, $val := .Values.services }} | |
| {{ $key }}: | |
| branch: {{ $val.branch }} | |
| {{- end }} |
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
| #!/bin/bash | |
| helm template . -x templates/manifest.yaml --set services.api.branch=funny --set services.frontend.branch=something |
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
| services: | |
| app: | |
| branch: master |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Need to move manifest.yaml into
templatesdirectory to get this to work because that is how helm works.