aboutsummaryrefslogtreecommitdiffstats
path: root/helm/ves-client/templates/configmap.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'helm/ves-client/templates/configmap.yaml')
-rw-r--r--helm/ves-client/templates/configmap.yaml11
1 files changed, 3 insertions, 8 deletions
diff --git a/helm/ves-client/templates/configmap.yaml b/helm/ves-client/templates/configmap.yaml
index 4717c38..59c91c9 100644
--- a/helm/ves-client/templates/configmap.yaml
+++ b/helm/ves-client/templates/configmap.yaml
@@ -1,11 +1,6 @@
apiVersion: v1
kind: ConfigMap
metadata:
- name: {{ .Chart.Name }}-configmap
-binaryData:
- {{- $files := .Files }}
- {{- range $key, $value := .Files }}
- {{- if hasPrefix "resources/" $key }}
- {{ $key | trimPrefix "resources/" }}: {{ $files.Get $key | b64enc | quote }}
- {{- end }}
- {{- end }}
+ name: {{ .Values.configMapName }}
+data:
+{{ tpl (.Files.Glob "resources/*").AsConfig . | indent 2 }}