mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/elasticsearch] disable all xpack features in es5 when cluster.xpackEnable: false (#9490)
* [stable/elasticsearch] disable all xpack features in es5 when cluster.xpackEnable: false Signed-off-by: Cameron Attard <cameron.attard@siteminder.com> * [stable/elasticsearch] omit xpack.ml configuration for appVersion < 5.4 Signed-off-by: Cameron Attard <cameron.attard@siteminder.com> * [stable/elasticsearch] bump chart version Signed-off-by: Cameron Attard <cameron.attard@siteminder.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
b2cce48668
commit
87d4f5cf6b
@@ -1,6 +1,6 @@
|
||||
name: elasticsearch
|
||||
home: https://www.elastic.co/products/elasticsearch
|
||||
version: 1.17.0
|
||||
version: 1.17.1
|
||||
appVersion: 6.5.4
|
||||
description: Flexible and powerful open source, distributed real-time search and analytics
|
||||
engine.
|
||||
|
||||
@@ -41,10 +41,19 @@ data:
|
||||
|
||||
{{- if .Values.cluster.xpackEnable }}
|
||||
# see https://www.elastic.co/guide/en/x-pack/current/xpack-settings.html
|
||||
{{- if .Values.appVersion gt 5.4 or .Values.appVersion eq 5.4 }}
|
||||
xpack.ml.enabled: ${XPACK_ML_ENABLED:false}
|
||||
{{- end }}
|
||||
xpack.monitoring.enabled: ${XPACK_MONITORING_ENABLED:false}
|
||||
xpack.security.enabled: ${XPACK_SECURITY_ENABLED:false}
|
||||
xpack.watcher.enabled: ${XPACK_WATCHER_ENABLED:false}
|
||||
{{- else }}
|
||||
{{- if .Values.appVersion gt 5.4 or .Values.appVersion eq 5.4 }}
|
||||
xpack.ml.enabled: false
|
||||
{{- end }}
|
||||
xpack.monitoring.enabled: false
|
||||
xpack.security.enabled: false
|
||||
xpack.watcher.enabled: false
|
||||
{{- end }}
|
||||
{{- else if hasPrefix "6." .Values.appVersion }}
|
||||
# see https://github.com/kubernetes/kubernetes/issues/3595
|
||||
|
||||
Reference in New Issue
Block a user