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, 11 insertions, 0 deletions
diff --git a/helm/ves-client/templates/configmap.yaml b/helm/ves-client/templates/configmap.yaml
new file mode 100644
index 0000000..4717c38
--- /dev/null
+++ b/helm/ves-client/templates/configmap.yaml
@@ -0,0 +1,11 @@
+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 }}