mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/redis] Support setting the volume mount path (#3253)
This commit is contained in:
committed by
k8s-ci-robot
parent
dd52fa5ace
commit
c5759337fe
@@ -1,5 +1,5 @@
|
||||
name: redis
|
||||
version: 1.1.6
|
||||
version: 1.1.7
|
||||
appVersion: 4.0.6
|
||||
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:
|
||||
|
||||
@@ -52,6 +52,7 @@ The following tables lists the configurable parameters of the Redis chart and th
|
||||
| `redisPassword` | Redis password | Randomly generated |
|
||||
| `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.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` |
|
||||
|
||||
@@ -71,7 +71,7 @@ spec:
|
||||
{{ toYaml .Values.resources | indent 10 }}
|
||||
volumeMounts:
|
||||
- name: redis-data
|
||||
mountPath: /bitnami
|
||||
mountPath: {{ .Values.persistence.path }}
|
||||
{{- if .Values.metrics.enabled }}
|
||||
- name: metrics
|
||||
image: "{{ .Values.metrics.image }}:{{ .Values.metrics.imageTag }}"
|
||||
|
||||
@@ -40,6 +40,10 @@ args:
|
||||
persistence:
|
||||
enabled: true
|
||||
|
||||
## The path the volume will be mounted at, useful when using different
|
||||
## Redis images.
|
||||
path: /bitnami
|
||||
|
||||
## 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