mirror of
https://github.com/bitnami/charts.git
synced 2026-03-07 16:17:21 +08:00
[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:
@@ -24,4 +24,4 @@ maintainers:
|
||||
name: redis
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-redis
|
||||
version: 16.5.4
|
||||
version: 16.5.5
|
||||
|
||||
@@ -7,7 +7,7 @@ Redis(TM) is an open source, advanced key-value store. It is often referred to a
|
||||
[Overview of Redis™](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™ master pods assignment | `{}` |
|
||||
| `master.nodeSelector` | Node labels for Redis™ master pods assignment | `{}` |
|
||||
| `master.tolerations` | Tolerations for Redis™ master pods assignment | `[]` |
|
||||
| `master.topologySpreadConstraints` | Spread Constraints for Redis™ master pod assignment | `{}` |
|
||||
| `master.topologySpreadConstraints` | Spread Constraints for Redis™ master pod assignment | `[]` |
|
||||
| `master.lifecycleHooks` | for the Redis™ master container(s) to automate configuration before or after startup | `{}` |
|
||||
| `master.extraVolumes` | Optionally specify extra list of additional volumes for the Redis™ master pod(s) | `[]` |
|
||||
| `master.extraVolumeMounts` | Optionally specify extra list of additional volumeMounts for the Redis™ master container(s) | `[]` |
|
||||
@@ -267,7 +267,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `replica.affinity` | Affinity for Redis™ replicas pods assignment | `{}` |
|
||||
| `replica.nodeSelector` | Node labels for Redis™ replicas pods assignment | `{}` |
|
||||
| `replica.tolerations` | Tolerations for Redis™ replicas pods assignment | `[]` |
|
||||
| `replica.topologySpreadConstraints` | Spread Constraints for Redis™ replicas pod assignment | `{}` |
|
||||
| `replica.topologySpreadConstraints` | Spread Constraints for Redis™ replicas pod assignment | `[]` |
|
||||
| `replica.lifecycleHooks` | for the Redis™ replica container(s) to automate configuration before or after startup | `{}` |
|
||||
| `replica.extraVolumes` | Optionally specify extra list of additional volumes for the Redis™ replicas pod(s) | `[]` |
|
||||
| `replica.extraVolumeMounts` | Optionally specify extra list of additional volumeMounts for the Redis™ 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.
|
||||
|
||||
@@ -346,7 +346,7 @@ master:
|
||||
## topologyKey: node
|
||||
## whenUnsatisfiable: DoNotSchedule
|
||||
##
|
||||
topologySpreadConstraints: {}
|
||||
topologySpreadConstraints: []
|
||||
## @param master.lifecycleHooks for the Redis™ 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™ replica container(s) to automate configuration before or after startup
|
||||
##
|
||||
lifecycleHooks: {}
|
||||
|
||||
Reference in New Issue
Block a user