Skip to content

Commit acb32b4

Browse files
Merge pull request #48 from ibm-messaging/EnvVariable
Environment variable update
2 parents 512f301 + a8bb57f commit acb32b4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

charts/ibm-mq/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
apiVersion: v2
1515
name: ibm-mq
1616
description: IBM MQ queue manager
17-
version: 7.0.0
17+
version: 7.0.1
1818
type: application
1919
appVersion: 9.3.3.0
2020
kubeVersion: ">=1.18.0-0"

charts/ibm-mq/templates/stateful-set.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,7 @@ spec:
245245
- name: MQ_MULTI_INSTANCE
246246
value: "{{ .Values.queueManager.multiinstance.enable | default false }}"
247247
{{- end }}
248-
- name: MQ_NATIVE_HA
249-
value: "true"
248+
{{- if .Values.queueManager.nativeha.enable }}
250249
- name: MQ_NATIVE_HA_INSTANCE_0_NAME
251250
value: {{ include "ibm-mq.pod0.name" . }}
252251
- name: MQ_NATIVE_HA_INSTANCE_0_REPLICATION_ADDRESS
@@ -259,6 +258,7 @@ spec:
259258
value: {{ include "ibm-mq.pod2.name" . }}
260259
- name: MQ_NATIVE_HA_INSTANCE_2_REPLICATION_ADDRESS
261260
value: {{ include "ibm-mq.pod2.service" . }}(9414)
261+
{{- end }}
262262
- name: LOG_FORMAT
263263
value: {{ .Values.log.format | default "basic" }}
264264
- name: MQ_ENABLE_METRICS

0 commit comments

Comments
 (0)