diff --git a/charts/redis-ha/Chart.yaml b/charts/redis-ha/Chart.yaml index 4ba7a21..d030336 100644 --- a/charts/redis-ha/Chart.yaml +++ b/charts/redis-ha/Chart.yaml @@ -5,7 +5,7 @@ keywords: - redis - keyvalue - database -version: 4.28.1 +version: 4.28.2 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 c354ac2..1ad2873 100644 --- a/charts/redis-ha/README.md +++ b/charts/redis-ha/README.md @@ -110,6 +110,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 c5dc998..8f247e6 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: