KubeZero/charts/kubezero-logging/templates/secrets.yaml

15 lines
467 B
YAML
Raw Normal View History

2020-08-11 14:09:48 +00:00
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
2020-08-11 14:09:48 +00:00
namespace: {{ .Release.Namespace }}
labels:
{{ include "kubezero-lib.labels" . | indent 4 }}
2020-08-11 14:09:48 +00:00
data:
username: {{ "elastic" | b64enc | quote }}
2020-08-15 13:25:07 +00:00
elastic: {{ .Values.elastic_password | b64enc | quote }}