2020-08-11 14:09:48 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
type: Opaque
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
common.k8s.elastic.co/type: elasticsearch
|
2020-08-13 18:44:50 +00:00
|
|
|
elasticsearch.k8s.elastic.co/cluster-name: {{ template "kubezero-lib.fullname" $ }}
|
|
|
|
name: {{ template "kubezero-lib.fullname" $ }}-elastic-user
|
2020-08-11 14:09:48 +00:00
|
|
|
namespace: {{ .Release.Namespace }}
|
2020-08-13 18:44:50 +00:00
|
|
|
labels:
|
|
|
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
2020-08-11 14:09:48 +00:00
|
|
|
data:
|
|
|
|
username: {{ "elastic" | b64enc | quote }}
|
|
|
|
elastic: {{ .Values.es.elastic_password | b64enc | quote }}
|