From f35421c26a3766ccf9da59fca6b814f8073e80d0 Mon Sep 17 00:00:00 2001 From: Scott Leggett Date: Sun, 26 Sep 2021 22:18:21 +0800 Subject: [PATCH 1/2] fix: use the correct master configuration for majorversion 1 Signed-off-by: Scott Leggett --- charts/opensearch/templates/statefulset.yaml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/charts/opensearch/templates/statefulset.yaml b/charts/opensearch/templates/statefulset.yaml index 489444e9..5bf72a97 100644 --- a/charts/opensearch/templates/statefulset.yaml +++ b/charts/opensearch/templates/statefulset.yaml @@ -306,21 +306,11 @@ spec: fieldRef: fieldPath: metadata.name {{- if eq .Values.roles.master "true" }} - {{- if ge (int (include "opensearch.majorVersion" .)) 7 }} - name: cluster.initial_master_nodes value: "{{ template "opensearch.endpoints" . }}" - {{- else }} - - name: discovery.zen.minimum_master_nodes - value: "{{ .Values.minimumMasterNodes }}" - {{- end }} {{- end }} - {{- if lt (int (include "opensearch.majorVersion" .)) 7 }} - - name: discovery.zen.ping.unicast.hosts - value: "{{ template "opensearch.masterService" . }}-headless" - {{- else }} - name: discovery.seed_hosts value: "{{ template "opensearch.masterService" . }}-headless" - {{- end }} - name: cluster.name value: "{{ .Values.clusterName }}" - name: network.host From 3ecaf0d23204907446d0225d0d1c48dcc11b877f Mon Sep 17 00:00:00 2001 From: Scott Leggett Date: Tue, 28 Sep 2021 09:17:45 +0800 Subject: [PATCH 2/2] chore: bump opensearch chart version Signed-off-by: Scott Leggett --- charts/opensearch/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/opensearch/Chart.yaml b/charts/opensearch/Chart.yaml index 793d6259..38373731 100644 --- a/charts/opensearch/Chart.yaml +++ b/charts/opensearch/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.6 +version: 1.0.7 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to