From eb58efec7dd82f97b9d5f5e47052149cca0405c9 Mon Sep 17 00:00:00 2001 From: Tomasz Pietruszkiewicz Date: Wed, 14 Apr 2021 13:31:56 +0200 Subject: ves-client helm chart Change-Id: I960ce9566a9871179cfc7c5a072bbeedf6c7e26f Issue-ID: INT-1869 Signed-off-by: Tomasz Pietruszkiewicz --- helm/ves-client/templates/configmap.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 helm/ves-client/templates/configmap.yaml (limited to 'helm/ves-client/templates/configmap.yaml') 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 }} -- cgit 1.2.3-korg