Revert ES fixes as servicemonitor is retarted

This commit is contained in:
Stefan Reimer 2020-08-26 23:02:47 +01:00
parent 51d9dc48fc
commit 3e55e27bf1
2 changed files with 4 additions and 1 deletions

View File

@ -12,4 +12,5 @@ metadata:
{{ include "kubezero-lib.labels" . | indent 4 }}
data:
elastic: {{ .Values.elastic_password | b64enc | quote }}
username: {{ "elastic" | b64enc | quote }}
{{- end }}

View File

@ -10,7 +10,9 @@ metadata:
spec:
endpoints:
- basicAuth:
username: elastic
username:
name: {{ template "kubezero-lib.fullname" $ }}-es-elastic-user
key: username
password:
name: {{ template "kubezero-lib.fullname" $ }}-es-elastic-user
key: elastic