16 lines
463 B
YAML
16 lines
463 B
YAML
{{- if .Values.es.nodeSets }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
type: Opaque
|
|
metadata:
|
|
labels:
|
|
common.k8s.elastic.co/type: elasticsearch
|
|
elasticsearch.k8s.elastic.co/cluster-name: {{ template "kubezero-lib.fullname" $ }}
|
|
name: {{ template "kubezero-lib.fullname" $ }}-es-elastic-user
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
|
data:
|
|
elastic: {{ .Values.elastic_password | b64enc | quote }}
|
|
{{- end }}
|