mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-21 02:56:50 +10:00
Set ELASTICSEARCH_PLUGINS only when '.Values.plugins' is set
This commit is contained in:
@@ -76,8 +76,10 @@ spec:
|
||||
env:
|
||||
- name: ELASTICSEARCH_CLUSTER_NAME
|
||||
value: {{ .Values.name | quote }}
|
||||
{{- if .Values.plugins }}
|
||||
- name: ELASTICSEARCH_PLUGINS
|
||||
value: {{ .Values.plugins | quote }}
|
||||
{{- end }}
|
||||
- name: ELASTICSEARCH_HEAP_SIZE
|
||||
value: {{ .Values.coordinating.heapSize | quote }}
|
||||
- name: ELASTICSEARCH_IS_DEDICATED_NODE
|
||||
|
||||
@@ -72,8 +72,10 @@ spec:
|
||||
env:
|
||||
- name: ELASTICSEARCH_CLUSTER_NAME
|
||||
value: {{ .Values.name | quote }}
|
||||
{{- if .Values.plugins }}
|
||||
- name: ELASTICSEARCH_PLUGINS
|
||||
value: {{ .Values.plugins | quote }}
|
||||
{{- end }}
|
||||
- name: ELASTICSEARCH_HEAP_SIZE
|
||||
value: {{ .Values.data.heapSize | quote }}
|
||||
- name: ELASTICSEARCH_IS_DEDICATED_NODE
|
||||
|
||||
@@ -77,8 +77,10 @@ spec:
|
||||
env:
|
||||
- name: ELASTICSEARCH_CLUSTER_NAME
|
||||
value: {{ .Values.name | quote }}
|
||||
{{- if .Values.plugins }}
|
||||
- name: ELASTICSEARCH_PLUGINS
|
||||
value: {{ .Values.plugins | quote }}
|
||||
{{- end }}
|
||||
- name: ELASTICSEARCH_HEAP_SIZE
|
||||
value: {{ .Values.ingest.heapSize | quote }}
|
||||
- name: ELASTICSEARCH_IS_DEDICATED_NODE
|
||||
|
||||
@@ -77,7 +77,9 @@ spec:
|
||||
env:
|
||||
- name: ELASTICSEARCH_CLUSTER_NAME
|
||||
value: {{ .Values.name | quote }}
|
||||
{{- if .Values.plugins }}
|
||||
- name: ELASTICSEARCH_PLUGINS
|
||||
{{- end }}
|
||||
value: {{ .Values.plugins | quote }}
|
||||
- name: ELASTICSEARCH_HEAP_SIZE
|
||||
value: {{ .Values.master.heapSize | quote }}
|
||||
|
||||
@@ -35,7 +35,7 @@ name: elastic
|
||||
## Customize elasticsearch configuration
|
||||
## ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html
|
||||
##
|
||||
config:
|
||||
# config:
|
||||
|
||||
## Elasticsearch master-eligible node parameters
|
||||
##
|
||||
|
||||
@@ -54,7 +54,7 @@ name: elastic
|
||||
## Customize elasticsearch configuration
|
||||
## ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html
|
||||
##
|
||||
config:
|
||||
# config:
|
||||
|
||||
## Elasticsearch master-eligible node parameters
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user