diff --git a/charts/redis-ha/Chart.yaml b/charts/redis-ha/Chart.yaml index 1090b57..0f651dc 100644 --- a/charts/redis-ha/Chart.yaml +++ b/charts/redis-ha/Chart.yaml @@ -5,7 +5,7 @@ keywords: - redis - keyvalue - database -version: 4.27.6 +version: 4.27.7 appVersion: 7.2.4 description: This Helm chart provides a highly available Redis implementation with a master/slave configuration and uses Sentinel sidecars for failover management icon: https://upload.wikimedia.org/wikipedia/en/thumb/6/6b/Redis_Logo.svg/1200px-Redis_Logo.svg.png diff --git a/charts/redis-ha/README.md b/charts/redis-ha/README.md index 9dec5ef..60b72a6 100644 --- a/charts/redis-ha/README.md +++ b/charts/redis-ha/README.md @@ -101,6 +101,7 @@ The following table lists the configurable parameters of the Redis chart and the | `redis.lifecycle` | Container Lifecycle Hooks for redis container | see values.yaml | | `redis.annotations` | Annotations for the redis statefulset | `{}` | | `redis.updateStategy.type`| Update strategy for redis statefulSet | `RollingUpdate` | +| `redis.minReadySeconds` | an optional field that specifies the minimum number of seconds for which a newly created Pod should be running and ready without any of its containers crashing, for it to be considered available. | ``| | `redis.extraVolumeMounts` | Extra volume mounts for Redis container | `[]` | | `sentinel.port` | Port to access the sentinel service | `26379` | | `sentinel.bind` | Configure the 'bind' directive to bind to a list of network interfaces | `` | diff --git a/charts/redis-ha/templates/redis-ha-statefulset.yaml b/charts/redis-ha/templates/redis-ha-statefulset.yaml index bc47abc..f1cb098 100644 --- a/charts/redis-ha/templates/redis-ha-statefulset.yaml +++ b/charts/redis-ha/templates/redis-ha-statefulset.yaml @@ -24,6 +24,9 @@ spec: podManagementPolicy: {{ .Values.podManagementPolicy }} updateStrategy: type: {{ .Values.redis.updateStrategy.type }} + {{- if .Values.redis.minReadySeconds }} + minReadySeconds: {{ .Values.redis.minReadySeconds }} + {{- end }} template: metadata: annotations: