mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/redis] add volumeMount subPath feature. (#3356)
* [stable/redis] add `volumeMount` `subPath` feature. * [stable/redis] add `volumeMount` `subPath` feature.
This commit is contained in:
committed by
k8s-ci-robot
parent
892bac43f2
commit
e04cc34987
@@ -1,5 +1,5 @@
|
||||
name: redis
|
||||
version: 1.1.9
|
||||
version: 1.1.10
|
||||
appVersion: 4.0.7
|
||||
description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
|
||||
keywords:
|
||||
|
||||
@@ -53,6 +53,7 @@ The following tables lists the configurable parameters of the Redis chart and th
|
||||
| `args` | Redis command-line args | [] |
|
||||
| `persistence.enabled` | Use a PVC to persist data | `true` |
|
||||
| `persistence.path` | Path to mount the volume at, to use other images | `/bitnami` |
|
||||
| `persistence.subPath` | Subdirectory of the volume to mount at | `""` |
|
||||
| `persistence.existingClaim` | Use an existing PVC to persist data | `nil` |
|
||||
| `persistence.storageClass` | Storage class of backing PVC | `generic` |
|
||||
| `persistence.accessMode` | Use volume as ReadOnly or ReadWrite | `ReadWriteOnce` |
|
||||
|
||||
@@ -74,6 +74,7 @@ spec:
|
||||
volumeMounts:
|
||||
- name: redis-data
|
||||
mountPath: {{ .Values.persistence.path }}
|
||||
subPath: {{ .Values.persistence.subPath }}
|
||||
{{- if .Values.metrics.enabled }}
|
||||
- name: metrics
|
||||
image: "{{ .Values.metrics.image }}:{{ .Values.metrics.imageTag }}"
|
||||
|
||||
@@ -45,6 +45,9 @@ persistence:
|
||||
## Redis images.
|
||||
path: /bitnami
|
||||
|
||||
## The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services.
|
||||
subPath: ""
|
||||
|
||||
## A manually managed Persistent Volume and Claim
|
||||
## Requires persistence.enabled: true
|
||||
## If defined, PVC must be created manually before volume will be bound
|
||||
|
||||
Reference in New Issue
Block a user