Files
charts/bitnami/zookeeper/templates/secrets.yaml
mandreasik 2c175bf0ed [bitnami/zookeeper] Introduced .Release.Namespace in objects meta (#2316)
* Introduced  in objects meta

* [bitnami/zookeeper] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Michał Andreasik <mandreasik@piwik.pro>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-04-16 10:12:11 +02:00

13 lines
439 B
YAML

{{- if and .Values.auth.enabled (not .Values.auth.existingSecret) -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ template "zookeeper.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{- include "zookeeper.labels" . | nindent 4 }}
type: Opaque
data:
client-password: {{ include "zookeeper.clientPassword" . | b64enc | quote }}
server-password: {{ include "zookeeper.serverPasswords" . | b64enc | quote }}
{{- end }}