[bitnami/redis] fix topology spread constraints templating (#9499)

Eliminate Helm warning if user defines topology spread
constraints for master: cannot overwrite table with non
table for redis.master.topologySpreadConstraints (map[])

Same is applicable to redis.replica.topologySpreadConstraints
(map[]) warning

Signed-off-by: Alex Szakaly <alex.szakaly@gmail.com>
This commit is contained in:
Alex SZAKALY
2022-03-22 10:04:33 +01:00
committed by GitHub
parent 2ec2fb5e7b
commit c9a77bdfa8
3 changed files with 7 additions and 7 deletions

View File

@@ -24,4 +24,4 @@ maintainers:
name: redis
sources:
- https://github.com/bitnami/bitnami-docker-redis
version: 16.5.4
version: 16.5.5

View File

@@ -7,7 +7,7 @@ Redis(TM) is an open source, advanced key-value store. It is often referred to a
[Overview of Redis&trade;](http://redis.io)
Disclaimer: Redis is a registered trademark of Redis Labs Ltd. Any rights therein are reserved to Redis Labs Ltd. Any use by Bitnami is for referential purposes only and does not indicate any sponsorship, endorsement, or affiliation between Redis Labs Ltd.
## TL;DR
```bash
@@ -176,7 +176,7 @@ The command removes all the Kubernetes components associated with the chart and
| `master.affinity` | Affinity for Redis&trade; master pods assignment | `{}` |
| `master.nodeSelector` | Node labels for Redis&trade; master pods assignment | `{}` |
| `master.tolerations` | Tolerations for Redis&trade; master pods assignment | `[]` |
| `master.topologySpreadConstraints` | Spread Constraints for Redis&trade; master pod assignment | `{}` |
| `master.topologySpreadConstraints` | Spread Constraints for Redis&trade; master pod assignment | `[]` |
| `master.lifecycleHooks` | for the Redis&trade; master container(s) to automate configuration before or after startup | `{}` |
| `master.extraVolumes` | Optionally specify extra list of additional volumes for the Redis&trade; master pod(s) | `[]` |
| `master.extraVolumeMounts` | Optionally specify extra list of additional volumeMounts for the Redis&trade; master container(s) | `[]` |
@@ -267,7 +267,7 @@ The command removes all the Kubernetes components associated with the chart and
| `replica.affinity` | Affinity for Redis&trade; replicas pods assignment | `{}` |
| `replica.nodeSelector` | Node labels for Redis&trade; replicas pods assignment | `{}` |
| `replica.tolerations` | Tolerations for Redis&trade; replicas pods assignment | `[]` |
| `replica.topologySpreadConstraints` | Spread Constraints for Redis&trade; replicas pod assignment | `{}` |
| `replica.topologySpreadConstraints` | Spread Constraints for Redis&trade; replicas pod assignment | `[]` |
| `replica.lifecycleHooks` | for the Redis&trade; replica container(s) to automate configuration before or after startup | `{}` |
| `replica.extraVolumes` | Optionally specify extra list of additional volumes for the Redis&trade; replicas pod(s) | `[]` |
| `replica.extraVolumeMounts` | Optionally specify extra list of additional volumeMounts for the Redis&trade; replicas container(s) | `[]` |
@@ -862,4 +862,4 @@ Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.

View File

@@ -346,7 +346,7 @@ master:
## topologyKey: node
## whenUnsatisfiable: DoNotSchedule
##
topologySpreadConstraints: {}
topologySpreadConstraints: []
## @param master.lifecycleHooks for the Redis&trade; master container(s) to automate configuration before or after startup
##
lifecycleHooks: {}
@@ -699,7 +699,7 @@ replica:
## topologyKey: node
## whenUnsatisfiable: DoNotSchedule
##
topologySpreadConstraints: {}
topologySpreadConstraints: []
## @param replica.lifecycleHooks for the Redis&trade; replica container(s) to automate configuration before or after startup
##
lifecycleHooks: {}