Revert ES fixes as servicemonitor is retarted

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

View File

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

View File

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