Update persistence toggle to meet ICp requirements
This commit is contained in:
@@ -49,7 +49,7 @@ The following table lists the configurable parameters of the `ibm-mqadvanced-ser
|
|||||||
| `image.tag` | Image tag | `9` |
|
| `image.tag` | Image tag | `9` |
|
||||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||||
| `image.pullSecret` | Image pull secret, if you are using a private Docker registry | `nil` |
|
| `image.pullSecret` | Image pull secret, if you are using a private Docker registry | `nil` |
|
||||||
| `data.persistence.enabled` | Use a PersistentVolume to persist MQ data (under `/var/mqm`) | `true` |
|
| `persistence.enabled` | Use a PersistentVolume to persist MQ data (under `/var/mqm`) | `true` |
|
||||||
| `data.persistence.storageClass` | Storage class of backing Persistent Volume | `nil` |
|
| `data.persistence.storageClass` | Storage class of backing Persistent Volume | `nil` |
|
||||||
| `data.persistence.size` | Size of data volume | `2Gi` |
|
| `data.persistence.size` | Size of data volume | `2Gi` |
|
||||||
| `service.name` | Name of the Kubernetes service to create | `qmgr` |
|
| `service.name` | Name of the Kubernetes service to create | `qmgr` |
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: qmgr
|
- name: qmgr
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 1414
|
- containerPort: 1414
|
||||||
- containerPort: 9443
|
- containerPort: 9443
|
||||||
@@ -63,7 +63,7 @@ spec:
|
|||||||
name: {{ template "fullname" . }}
|
name: {{ template "fullname" . }}
|
||||||
key: appPassword
|
key: appPassword
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.data.persistence.enabled }}
|
{{- if .Values.persistence.enabled }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: "/mnt/mqm"
|
- mountPath: "/mnt/mqm"
|
||||||
name: {{ template "fullname" . }}-{{ .Values.data.name }}
|
name: {{ template "fullname" . }}-{{ .Values.data.name }}
|
||||||
@@ -74,7 +74,7 @@ spec:
|
|||||||
requests:
|
requests:
|
||||||
{{ toYaml .Values.resources.requests | indent 14 }}
|
{{ toYaml .Values.resources.requests | indent 14 }}
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
{{- if .Values.data.persistence.enabled }}
|
{{- if .Values.persistence.enabled }}
|
||||||
- metadata:
|
- metadata:
|
||||||
name: {{ template "fullname" . }}-{{ .Values.data.name }}
|
name: {{ template "fullname" . }}-{{ .Values.data.name }}
|
||||||
labels:
|
labels:
|
||||||
@@ -89,5 +89,5 @@ spec:
|
|||||||
accessModes: [ "ReadWriteOnce" ]
|
accessModes: [ "ReadWriteOnce" ]
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: {{ .Values.data.persistence.size | quote }}
|
storage: {{ .Values.data.persistence.size | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -19,16 +19,16 @@ image:
|
|||||||
repository: ibmcom/mq
|
repository: ibmcom/mq
|
||||||
# tag is the tag to use for the container repository
|
# tag is the tag to use for the container repository
|
||||||
tag: 9
|
tag: 9
|
||||||
# pullSecret is the secret to use when pulling the image from a private registry
|
# pullSecret is the secret to use when pulling the image from a private registry
|
||||||
pullSecret:
|
pullSecret:
|
||||||
# pullPolicy is either IfNotPresent or Always (https://kubernetes.io/docs/concepts/containers/images/)
|
# pullPolicy is either IfNotPresent or Always (https://kubernetes.io/docs/concepts/containers/images/)
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# data section specifies settings for the main persistent volume claim, which is used for data in /var/mqm
|
# data section specifies settings for the main persistent volume claim, which is used for data in /var/mqm
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
data:
|
data:
|
||||||
# name sets part of the name for this persistent volume claim
|
# name sets part of the name for this persistent volume claim
|
||||||
name: "data"
|
name: "data"
|
||||||
persistence:
|
|
||||||
enabled: true
|
|
||||||
## storageClassName is the name of the storage class to use, or an empty string for no storage class
|
## storageClassName is the name of the storage class to use, or an empty string for no storage class
|
||||||
storageClassName: ""
|
storageClassName: ""
|
||||||
## size is the minimum size of the persistent volume
|
## size is the minimum size of the persistent volume
|
||||||
@@ -54,4 +54,4 @@ queueManager:
|
|||||||
# appPassword sets the password of the app user
|
# appPassword sets the password of the app user
|
||||||
appPassword:
|
appPassword:
|
||||||
# nameOverride can be set to partially override the name of the resources created by this chart
|
# nameOverride can be set to partially override the name of the resources created by this chart
|
||||||
nameOverride:
|
nameOverride:
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ The following table lists the configurable parameters of the `ibm-mqadvanced-ser
|
|||||||
| `image.tag` | Image tag | `nil` |
|
| `image.tag` | Image tag | `nil` |
|
||||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||||
| `image.pullSecret` | Image pull secret, if you are using a private Docker registry | `nil` |
|
| `image.pullSecret` | Image pull secret, if you are using a private Docker registry | `nil` |
|
||||||
| `data.persistence.enabled` | Use a PersistentVolume to persist MQ data (under `/var/mqm`) | `true` |
|
| `persistence.enabled` | Use a PersistentVolume to persist MQ data (under `/var/mqm`) | `true` |
|
||||||
| `data.persistence.storageClass` | Storage class of backing Persistent Volume | `nil` |
|
| `data.persistence.storageClass` | Storage class of backing Persistent Volume | `nil` |
|
||||||
| `data.persistence.size` | Size of data volume | `2Gi` |
|
| `data.persistence.size` | Size of data volume | `2Gi` |
|
||||||
| `service.name` | Name of the Kubernetes service to create | `qmgr` |
|
| `service.name` | Name of the Kubernetes service to create | `qmgr` |
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ spec:
|
|||||||
value: {{ .Values.license }}
|
value: {{ .Values.license }}
|
||||||
- name: MQ_QMGR_NAME
|
- name: MQ_QMGR_NAME
|
||||||
value: {{ .Values.queueManager.name | default .Release.Name | replace "-" "" }}
|
value: {{ .Values.queueManager.name | default .Release.Name | replace "-" "" }}
|
||||||
{{- if .Values.data.persistence.enabled }}
|
{{- if .Values.persistence.enabled }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: "/mnt/mqm"
|
- mountPath: "/mnt/mqm"
|
||||||
name: {{ template "fullname" . }}-{{ .Values.data.name }}
|
name: {{ template "fullname" . }}-{{ .Values.data.name }}
|
||||||
@@ -77,7 +77,7 @@ spec:
|
|||||||
requests:
|
requests:
|
||||||
{{ toYaml .Values.resources.requests | indent 14 }}
|
{{ toYaml .Values.resources.requests | indent 14 }}
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
{{- if .Values.data.persistence.enabled }}
|
{{- if .Values.persistence.enabled }}
|
||||||
- metadata:
|
- metadata:
|
||||||
name: {{ template "fullname" . }}-{{ .Values.data.name }}
|
name: {{ template "fullname" . }}-{{ .Values.data.name }}
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ image:
|
|||||||
# pullPolicy is either IfNotPresent or Always (https://kubernetes.io/docs/concepts/containers/images/)
|
# pullPolicy is either IfNotPresent or Always (https://kubernetes.io/docs/concepts/containers/images/)
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# data section specifies settings for the main persistent volume claim, which is used for data in /var/mqm
|
# data section specifies settings for the main persistent volume claim, which is used for data in /var/mqm
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
data:
|
data:
|
||||||
# name sets part of the name for this persistent volume claim
|
# name sets part of the name for this persistent volume claim
|
||||||
name: "data"
|
name: "data"
|
||||||
|
|||||||
Reference in New Issue
Block a user