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

Commit 63d31a7

Browse files
committed
Disable xpack.security.enabled if is not enabled
Signed-off-by: Nobi <[email protected]>
1 parent 2fd64d0 commit 63d31a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

elasticsearch/templates/statefulset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,9 @@ spec:
361361
value: "/usr/share/elasticsearch/config/certs/tls.crt"
362362
- name: xpack.security.http.ssl.certificate_authorities
363363
value: "/usr/share/elasticsearch/config/certs/ca.crt"
364+
{{- else }}
365+
- name: xpack.security.enabled
366+
value: "false"
364367
{{- end }}
365368
{{- if .Values.extraEnvs }}
366369
{{ toYaml .Values.extraEnvs | indent 10 }}

0 commit comments

Comments
 (0)