Skip to content

Commit 0e7fb79

Browse files
authored
fix!: update name of JAVA_OPTS variable (#39)
ES_JAVA_OPTS has been renamed in Opensearch to OPENSEARCH_JAVA_OPTS. Signed-off-by: Scott Leggett <[email protected]>
1 parent 615eba0 commit 0e7fb79

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

charts/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ This chart is tested with the latest 1.0.0-rc1 version.
2222
* The chart deploys a StatefulSet and by default will do an automated rolling
2323
update of your cluster. It does this by waiting for the cluster health to become
2424
green after each instance is updated.
25-
* It is important to verify that the JVM heap size in `esJavaOpts` and to set
26-
the CPU/Memory `resources` to something suitable for your cluster.
25+
* It is important to verify that the JVM heap size in `opensearchJavaOpts` and
26+
to set the CPU/Memory `resources` to something suitable for your cluster.
2727
* To simplify chart and maintenance each set of node groups is deployed as a
2828
separate Helm release. Without doing this it isn't possible to resize persistent
2929
volumes in a StatefulSet. By setting it up this way it makes it possible to add

charts/opensearch/templates/statefulset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,8 @@ spec:
299299
value: "{{ .Values.clusterName }}"
300300
- name: network.host
301301
value: "{{ .Values.networkHost }}"
302-
- name: ES_JAVA_OPTS
303-
value: "{{ .Values.esJavaOpts }}"
302+
- name: OPENSEARCH_JAVA_OPTS
303+
value: "{{ .Values.opensearchJavaOpts }}"
304304
{{- range $role, $enabled := .Values.roles }}
305305
- name: node.{{ $role }}
306306
value: "{{ $enabled }}"

charts/opensearch/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ podAnnotations: {}
115115
# additionals labels
116116
labels: {}
117117

118-
esJavaOpts: "-Xmx512M -Xms512M"
118+
opensearchJavaOpts: "-Xmx512M -Xms512M"
119119

120120
resources:
121121
requests:

0 commit comments

Comments
 (0)