pod updates when config updates, configmap reads from config yaml

This commit is contained in:
ducoterra
2020-12-16 10:46:35 -05:00
parent e24c14b189
commit 765b006285
5 changed files with 21 additions and 119 deletions

View File

@@ -0,0 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}
data:
config.yml: |{{ range .Files.Lines "config.yml" }}
{{ . }}{{ end }}