diff options
author | Grzegorz-Lis <grzegorz.lis@nokia.com> | 2021-08-04 06:59:03 +0000 |
---|---|---|
committer | Grzegorz Lis <grzegorz.lis@nokia.com> | 2021-08-05 13:08:15 +0000 |
commit | f739bd6b7e48edad36966a00894dc08de0c4de21 (patch) | |
tree | f867439285c9f3261c46476a5c158984713d6c6a /helm/ves-client/templates/configmap.yaml | |
parent | 5c43a0c2c3412b416c2ae560f34059063e647012 (diff) |
Improve VES Client helm charts in order to use certificates from AAF or CMPv2istanbul
Issue-ID: INT-1954
Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com>
Change-Id: I449350101e8af43aabefccded31d6c6c5e717c2c
Diffstat (limited to 'helm/ves-client/templates/configmap.yaml')
-rw-r--r-- | helm/ves-client/templates/configmap.yaml | 11 |
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 }} |