Skip to content

Commit 7f4bcb3

Browse files
authored
Use the correct master configuration for majorVersion 1 (#69)
* fix: use the correct master configuration for majorversion 1 Signed-off-by: Scott Leggett <[email protected]> * chore: bump opensearch chart version Signed-off-by: Scott Leggett <[email protected]>
1 parent 8aaa89e commit 7f4bcb3

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

charts/opensearch/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.0.6
18+
version: 1.0.7
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/opensearch/templates/statefulset.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -306,21 +306,11 @@ spec:
306306
fieldRef:
307307
fieldPath: metadata.name
308308
{{- if eq .Values.roles.master "true" }}
309-
{{- if ge (int (include "opensearch.majorVersion" .)) 7 }}
310309
- name: cluster.initial_master_nodes
311310
value: "{{ template "opensearch.endpoints" . }}"
312-
{{- else }}
313-
- name: discovery.zen.minimum_master_nodes
314-
value: "{{ .Values.minimumMasterNodes }}"
315-
{{- end }}
316311
{{- end }}
317-
{{- if lt (int (include "opensearch.majorVersion" .)) 7 }}
318-
- name: discovery.zen.ping.unicast.hosts
319-
value: "{{ template "opensearch.masterService" . }}-headless"
320-
{{- else }}
321312
- name: discovery.seed_hosts
322313
value: "{{ template "opensearch.masterService" . }}-headless"
323-
{{- end }}
324314
- name: cluster.name
325315
value: "{{ .Values.clusterName }}"
326316
- name: network.host

0 commit comments

Comments
 (0)