mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
[bitname/redis] Add custom annotations to master and slave statefulsets (#4667)
This commit is contained in:
@@ -19,4 +19,4 @@ name: redis
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-redis
|
||||
- http://redis.io/
|
||||
version: 12.1.3
|
||||
version: 12.2.0
|
||||
|
||||
@@ -136,6 +136,7 @@ The following table lists the configurable parameters of the Redis chart and the
|
||||
| `master.persistence.matchLabels` | matchLabels persistent volume selector | `{}` |
|
||||
| `master.persistence.matchExpressions` | matchExpressions persistent volume selector | `{}` |
|
||||
| `master.statefulset.labels` | Additional labels for redis master StatefulSet | `{}` |
|
||||
| `master.statefulset.annotations` | Additional annotations for redis master StatefulSet | `{}` |
|
||||
| `master.statefulset.updateStrategy` | Update strategy for StatefulSet | onDelete |
|
||||
| `master.statefulset.rollingUpdatePartition` | Partition update strategy | `nil` |
|
||||
| `master.podLabels` | Additional labels for Redis master pod | {} |
|
||||
@@ -226,7 +227,8 @@ The following table lists the configurable parameters of the Redis chart and the
|
||||
| `slave.persistence.size` | Size of data volume | `8Gi` |
|
||||
| `slave.persistence.matchLabels` | matchLabels persistent volume selector | `{}` |
|
||||
| `slave.persistence.matchExpressions` | matchExpressions persistent volume selector | `{}` |
|
||||
| `slave.statefulset.labels` | Additional labels for redis slave StatefulSet | `{}` |
|
||||
| `slave.statefulset.labels` | Additional labels for redis slave StatefulSet | `{}` |
|
||||
| `slave.statefulset.annotations` | Additional annotations for redis slave StatefulSet | `{}` |
|
||||
| `slave.statefulset.updateStrategy` | Update strategy for StatefulSet | onDelete |
|
||||
| `slave.statefulset.rollingUpdatePartition` | Partition update strategy | `nil` |
|
||||
| `slave.extraEnvVars` | Additional Environement Variables passed to the pod of the slave's stateful set set | `[]`
|
||||
|
||||
@@ -12,6 +12,10 @@ metadata:
|
||||
{{- if .Values.master.statefulset.labels }}
|
||||
{{- toYaml .Values.master.statefulset.labels | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.master.statefulset.annotations }}
|
||||
annotations:
|
||||
{{- toYaml .Values.master.statefulset.annotations | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
|
||||
@@ -12,6 +12,10 @@ metadata:
|
||||
{{- if .Values.slave.statefulset.labels }}
|
||||
{{- toYaml .Values.slave.statefulset.labels | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.slave.statefulset.annotations }}
|
||||
annotations:
|
||||
{{- toYaml .Values.slave.statefulset.annotations | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.slave.updateStrategy }}
|
||||
strategy: {{- toYaml .Values.slave.updateStrategy | nindent 4 }}
|
||||
|
||||
@@ -412,6 +412,7 @@ master:
|
||||
## https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets
|
||||
statefulset:
|
||||
labels: {}
|
||||
annotations: {}
|
||||
updateStrategy: RollingUpdate
|
||||
## Partition update strategy
|
||||
## https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#partitions
|
||||
@@ -599,6 +600,7 @@ slave:
|
||||
## https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets
|
||||
statefulset:
|
||||
labels: {}
|
||||
annotations: {}
|
||||
updateStrategy: RollingUpdate
|
||||
## Partition update strategy
|
||||
## https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#partitions
|
||||
|
||||
@@ -413,6 +413,7 @@ master:
|
||||
## https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets
|
||||
statefulset:
|
||||
labels: {}
|
||||
annotations: {}
|
||||
updateStrategy: RollingUpdate
|
||||
## Partition update strategy
|
||||
## https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#partitions
|
||||
@@ -600,6 +601,7 @@ slave:
|
||||
## https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets
|
||||
statefulset:
|
||||
labels: {}
|
||||
annotations: {}
|
||||
updateStrategy: RollingUpdate
|
||||
## Partition update strategy
|
||||
## https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#partitions
|
||||
|
||||
Reference in New Issue
Block a user