Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Disable xpack.security.enabled if is not enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Nobi <[email protected]>
  • Loading branch information
nobiit committed Dec 6, 2022
1 parent 2fd64d0 commit 63d31a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions elasticsearch/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,9 @@ spec:
value: "/usr/share/elasticsearch/config/certs/tls.crt"
- name: xpack.security.http.ssl.certificate_authorities
value: "/usr/share/elasticsearch/config/certs/ca.crt"
{{- else }}
- name: xpack.security.enabled
value: "false"
{{- end }}
{{- if .Values.extraEnvs }}
{{ toYaml .Values.extraEnvs | indent 10 }}
Expand Down

0 comments on commit 63d31a7

Please sign in to comment.