[bitnami/redis] Support custom dataSource to allow creating volumes from VolumeSnapshots (#8185)

This commit is contained in:
Mac Chaffee
2021-11-22 02:27:49 -05:00
committed by GitHub
parent 8d1d19f56b
commit b6c94ab070
6 changed files with 16 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
version: 1.10.0
digest: sha256:d6f283322d34efda54721ddd67aec935f1bea501c7b45dfbe89814aed21ae5dc
generated: "2021-10-04T14:32:42.919560577Z"
version: 1.10.1
digest: sha256:46a0218b2fbb421c87da91166dc5230d3ec85aa7d822dff1d479619fff8314e7
generated: "2021-11-18T17:38:31.365659-05:00"

View File

@@ -25,4 +25,4 @@ name: redis
sources:
- https://github.com/bitnami/bitnami-docker-redis
- http://redis.io/
version: 15.5.5
version: 15.6.0

View File

@@ -179,6 +179,7 @@ The command removes all the Kubernetes components associated with the chart and
| `master.persistence.size` | Persistent Volume size | `8Gi` |
| `master.persistence.annotations` | Additional custom annotations for the PVC | `{}` |
| `master.persistence.selector` | Additional labels to match for the PVC | `{}` |
| `master.persistence.dataSource` | Custom PVC data source | `{}` |
| `master.persistence.existingClaim` | Use a existing PVC which must be created manually before bound | `""` |
| `master.service.type` | Redis™ master service type | `ClusterIP` |
| `master.service.port` | Redis™ master service port | `6379` |
@@ -256,6 +257,7 @@ The command removes all the Kubernetes components associated with the chart and
| `replica.persistence.size` | Persistent Volume size | `8Gi` |
| `replica.persistence.annotations` | Additional custom annotations for the PVC | `{}` |
| `replica.persistence.selector` | Additional labels to match for the PVC | `{}` |
| `replica.persistence.dataSource` | Custom PVC data source | `{}` |
| `replica.service.type` | Redis™ replicas service type | `ClusterIP` |
| `replica.service.port` | Redis™ replicas service port | `6379` |
| `replica.service.nodePort` | Node port for Redis™ replicas | `""` |

View File

@@ -435,6 +435,9 @@ spec:
{{- if .Values.master.persistence.selector }}
selector: {{- include "common.tplvalues.render" (dict "value" .Values.master.persistence.selector "context" $) | nindent 10 }}
{{- end }}
{{- if .Values.master.persistence.dataSource }}
dataSource: {{- include "common.tplvalues.render" (dict "value" .Values.master.persistence.dataSource "context" $) | nindent 10 }}
{{- end }}
{{- include "common.storage.class" (dict "persistence" .Values.master.persistence "global" .Values.global) | nindent 8 }}
{{- end }}
{{- end }}

View File

@@ -435,6 +435,9 @@ spec:
{{- if .Values.replica.persistence.selector }}
selector: {{- include "common.tplvalues.render" (dict "value" .Values.replica.persistence.selector "context" $) | nindent 10 }}
{{- end }}
{{- if .Values.replica.persistence.dataSource }}
dataSource: {{- include "common.tplvalues.render" (dict "value" .Values.replica.persistence.dataSource "context" $) | nindent 10 }}
{{- end }}
{{- include "common.storage.class" (dict "persistence" .Values.replica.persistence "global" .Values.global) | nindent 8 }}
{{- end }}
{{- end }}

View File

@@ -395,6 +395,8 @@ master:
## app: my-app
##
selector: {}
## @param master.persistence.dataSource Custom PVC data source
dataSource: {}
## @param master.persistence.existingClaim Use a existing PVC which must be created manually before bound
## NOTE: requires master.persistence.enabled: true
##
@@ -707,6 +709,8 @@ replica:
## app: my-app
##
selector: {}
## @param replica.persistence.dataSource Custom PVC data source
dataSource: {}
## Redis™ replicas service parameters
##
service: