[bitnami/rabbitmq] Attach existing volume as persistence storage (#4102)

* Attach existing volume as persistence storage

* chart version update

* changed indent to nindent

* changed indent to nindent

* changed indent to nindent

* changed indent to nindent

* revert changes from requirements.lock file and increment minor version of the chart

* Update statefulset.yaml

* Update statefulset.yaml

* Update statefulset.yaml

* Use a proper name

* Update values-production.yaml

Co-authored-by: Ronak <ronak@remitbee.com>
Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
ronakthamor
2020-10-27 10:27:30 +01:00
committed by GitHub
co-authored by Ronak Carlos Rodríguez Hernández
parent a92fbbe145
commit d883c8bbad
5 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: rabbitmq
version: 7.6.9
version: 7.7.0
appVersion: 3.8.9
description: Open source message broker software that implements the Advanced Message Queuing Protocol (AMQP)
keywords:
+1
View File
@@ -195,6 +195,7 @@ The following table lists the configurable parameters of the RabbitMQ chart and
| `persistence.accessMode` | PVC Access Mode for RabbitMQ data volume | `ReadWriteOnce` |
| `persistence.size` | PVC Storage Request for RabbitMQ data volume | `8Gi` |
| `persistence.selector` | Selector to match an existing Persistent Volume | `{}`(evaluated as a template) |
| `persistence.volumes` | Additional volumes without creating PVC | `{}`(evaluated as a template) |
### RBAC parameters
@@ -272,6 +272,9 @@ spec:
{{- include "common.tplvalues.render" (dict "value" .Values.sidecars "context" $) | nindent 8 }}
{{- end }}
volumes:
{{- if .Values.persistence.volumes }}
{{- toYaml .Values.persistence.volumes | nindent 8 }}
{{- end }}
{{- if .Values.auth.tls.enabled }}
- name: certs
secret:
@@ -302,6 +305,7 @@ spec:
{{- if .Values.extraVolumes }}
{{- toYaml .Values.extraVolumes | nindent 8 }}
{{- end }}
{{- if not (contains "data" (quote .Values.persistence.volumes)) }}
{{- if not .Values.persistence.enabled }}
- name: data
emptyDir: {}
@@ -327,3 +331,4 @@ spec:
selector: {{- include "common.tplvalues.render" (dict "value" .Values.persistence.selector "context" $) | nindent 10 }}
{{- end -}}
{{- end }}
{{- end }}
+4
View File
@@ -487,6 +487,10 @@ persistence:
##
size: 8Gi
volumes:
# - name: volume_name
# emptyDir: {}
## Pod Disruption Budget configuration
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
##
+4
View File
@@ -488,6 +488,10 @@ persistence:
##
size: 8Gi
volumes:
# - name: volume_name
# emptyDir: {}
## Pod Disruption Budget configuration
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
##