mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
[bitnami/redis-cluster] Make AOF Persistence optional (#2577)
* [bitnami/redis-cluster] Make AOF Persistence optional Signed-off-by: joancafom <jcarmona@bitnami.com> The user can now enable/disable Redis' AOF persistence mode. * [bitnami/redis-cluster] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
committed by
GitHub
parent
e67301215b
commit
d1cadd1396
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
name: redis-cluster
|
name: redis-cluster
|
||||||
version: 2.0.15
|
version: 2.1.0
|
||||||
appVersion: 6.0.1
|
appVersion: 6.0.1
|
||||||
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.
|
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:
|
keywords:
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ The following table lists the configurable parameters of the Redis chart and the
|
|||||||
| `existingSecretPasswordKey` | Name of key containing password to be retrieved from the existing secret | `nil` |
|
| `existingSecretPasswordKey` | Name of key containing password to be retrieved from the existing secret | `nil` |
|
||||||
| `usePassword` | Use password | `true` |
|
| `usePassword` | Use password | `true` |
|
||||||
| `usePasswordFile` | Mount passwords as files instead of environment variables | `false` |
|
| `usePasswordFile` | Mount passwords as files instead of environment variables | `false` |
|
||||||
|
| `useAOFPersistence` | Enables AOF persistence mode | `"yes"` |
|
||||||
| `password` | Redis password (ignored if existingSecret set) | Randomly generated |
|
| `password` | Redis password (ignored if existingSecret set) | Randomly generated |
|
||||||
| `configmap` | Additional common Redis node configuration (this value is evaluated as a template) | See values.yaml |
|
| `configmap` | Additional common Redis node configuration (this value is evaluated as a template) | See values.yaml |
|
||||||
| `clusterDomain` | Kubernetes DNS Domain name to use | `cluster.local` |
|
| `clusterDomain` | Kubernetes DNS Domain name to use | `cluster.local` |
|
||||||
|
|||||||
@@ -121,6 +121,8 @@ spec:
|
|||||||
- name: ALLOW_EMPTY_PASSWORD
|
- name: ALLOW_EMPTY_PASSWORD
|
||||||
value: "yes"
|
value: "yes"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
- name: REDIS_AOF_ENABLED
|
||||||
|
value: {{ .Values.useAOFPersistence | quote }}
|
||||||
- name: REDIS_PORT
|
- name: REDIS_PORT
|
||||||
value: {{ .Values.redisPort | quote }}
|
value: {{ .Values.redisPort | quote }}
|
||||||
{{- if .Values.extraEnvVars }}
|
{{- if .Values.extraEnvVars }}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ image:
|
|||||||
## Bitnami Redis image tag
|
## Bitnami Redis image tag
|
||||||
## ref: https://github.com/bitnami/bitnami-docker-redis#supported-tags-and-respective-dockerfile-links
|
## ref: https://github.com/bitnami/bitnami-docker-redis#supported-tags-and-respective-dockerfile-links
|
||||||
##
|
##
|
||||||
tag: 6.0.1-debian-10-r0
|
tag: 6.0.1-debian-10-r1
|
||||||
## Specify a imagePullPolicy
|
## Specify a imagePullPolicy
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||||
@@ -178,6 +178,13 @@ password: ""
|
|||||||
## Mount secrets as files instead of environment variables
|
## Mount secrets as files instead of environment variables
|
||||||
usePasswordFile: false
|
usePasswordFile: false
|
||||||
|
|
||||||
|
# Whether to use AOF Persistence mode or not
|
||||||
|
# It is strongly recommended to use this type when dealing with clusters
|
||||||
|
#
|
||||||
|
# ref: https://redis.io/topics/persistence#append-only-file
|
||||||
|
# ref: https://redis.io/topics/cluster-tutorial#creating-and-using-a-redis-cluster
|
||||||
|
useAOFPersistence: "yes"
|
||||||
|
|
||||||
# Redis port
|
# Redis port
|
||||||
redisPort: 6379
|
redisPort: 6379
|
||||||
|
|
||||||
@@ -305,7 +312,7 @@ metrics:
|
|||||||
image:
|
image:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: bitnami/redis-exporter
|
repository: bitnami/redis-exporter
|
||||||
tag: 1.6.1-debian-10-r0
|
tag: 1.6.1-debian-10-r1
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
## Optionally specify an array of imagePullSecrets.
|
## Optionally specify an array of imagePullSecrets.
|
||||||
## Secrets must be manually created in the namespace.
|
## Secrets must be manually created in the namespace.
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ image:
|
|||||||
## Bitnami Redis image tag
|
## Bitnami Redis image tag
|
||||||
## ref: https://github.com/bitnami/bitnami-docker-redis#supported-tags-and-respective-dockerfile-links
|
## ref: https://github.com/bitnami/bitnami-docker-redis#supported-tags-and-respective-dockerfile-links
|
||||||
##
|
##
|
||||||
tag: 6.0.1-debian-10-r0
|
tag: 6.0.1-debian-10-r1
|
||||||
## Specify a imagePullPolicy
|
## Specify a imagePullPolicy
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||||
@@ -178,6 +178,13 @@ password: ""
|
|||||||
## Mount secrets as files instead of environment variables
|
## Mount secrets as files instead of environment variables
|
||||||
usePasswordFile: false
|
usePasswordFile: false
|
||||||
|
|
||||||
|
# Whether to use AOF Persistence mode or not
|
||||||
|
# It is strongly recommended to use this type when dealing with clusters
|
||||||
|
#
|
||||||
|
# ref: https://redis.io/topics/persistence#append-only-file
|
||||||
|
# ref: https://redis.io/topics/cluster-tutorial#creating-and-using-a-redis-cluster
|
||||||
|
useAOFPersistence: "yes"
|
||||||
|
|
||||||
# Redis port
|
# Redis port
|
||||||
redisPort: 6379
|
redisPort: 6379
|
||||||
|
|
||||||
@@ -305,7 +312,7 @@ metrics:
|
|||||||
image:
|
image:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: bitnami/redis-exporter
|
repository: bitnami/redis-exporter
|
||||||
tag: 1.6.1-debian-10-r0
|
tag: 1.6.1-debian-10-r1
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
## Optionally specify an array of imagePullSecrets.
|
## Optionally specify an array of imagePullSecrets.
|
||||||
## Secrets must be manually created in the namespace.
|
## Secrets must be manually created in the namespace.
|
||||||
|
|||||||
Reference in New Issue
Block a user