[Helm] base64 encode secrets (#2492)

* Fix #2393

* Bump chart version

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
This commit is contained in:
João Estrela 2022-08-30 13:17:08 +01:00 committed by GitHub
parent b135594e3f
commit 89a2c8d920
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,6 @@ apiVersion: v2
name: kafka-ui
description: A Helm chart for kafka-UI
type: application
version: 0.4.2
version: 0.4.3
appVersion: latest
icon: https://github.com/provectus/kafka-ui/raw/master/documentation/images/kafka-ui-logo.png

View file

@ -6,4 +6,6 @@ metadata:
{{- include "kafka-ui.labels" . | nindent 4 }}
type: Opaque
data:
{{- toYaml .Values.envs.secret | nindent 2 }}
{{- range $key, $val := .Values.envs.secret }}
{{ $key }}: {{ $val | b64enc | quote }}
{{- end -}}