aboutsummaryrefslogtreecommitdiffstats
path: root/helm/ves-client/templates/configmap.yaml
diff options
context:
space:
mode:
authorTomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>2021-04-14 13:31:56 +0200
committerTomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>2021-04-16 11:51:09 +0200
commiteb58efec7dd82f97b9d5f5e47052149cca0405c9 (patch)
treee92501a1e0f2fe026fa67c89b1b5e710271a994e /helm/ves-client/templates/configmap.yaml
parent06a22c3ed766df749341866ea9c968a2a788e790 (diff)
ves-client helm chart
Change-Id: I960ce9566a9871179cfc7c5a072bbeedf6c7e26f Issue-ID: INT-1869 Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
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 }}