2020-08-17 12:12:07 +00:00
|
|
|
{{- if .Values.es.nodeSets }}
|
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" $ }}
|
2024-07-26 13:46:58 +00:00
|
|
|
{{ include "kubezero-lib.labels" . | nindent 4 }}
|
2020-08-14 14:52:10 +00:00
|
|
|
name: {{ template "kubezero-lib.fullname" $ }}-es-elastic-user
|
2020-08-11 14:09:48 +00:00
|
|
|
namespace: {{ .Release.Namespace }}
|
|
|
|
data:
|
2020-08-15 13:25:07 +00:00
|
|
|
elastic: {{ .Values.elastic_password | b64enc | quote }}
|
2020-09-04 00:13:39 +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" $ }}
|
2024-07-26 13:46:58 +00:00
|
|
|
{{ include "kubezero-lib.labels" . | nindent 4 }}
|
2020-09-04 00:13:39 +00:00
|
|
|
name: {{ template "kubezero-lib.fullname" $ }}-es-elastic-username
|
|
|
|
namespace: {{ .Release.Namespace }}
|
|
|
|
data:
|
2020-08-26 22:02:47 +00:00
|
|
|
username: {{ "elastic" | b64enc | quote }}
|
2020-08-17 12:12:07 +00:00
|
|
|
{{- end }}
|