mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/redis] added PV selectors (#20652)
Signed-off-by: Ivan Kurnosov <zerkms@zerkms.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: redis
|
||||
version: 10.4.4
|
||||
version: 10.5.0
|
||||
appVersion: 5.0.7
|
||||
description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
|
||||
keywords:
|
||||
|
||||
@@ -118,6 +118,8 @@ The following table lists the configurable parameters of the Redis chart and the
|
||||
| `master.persistence.storageClass` | Storage class of backing PVC | `generic` |
|
||||
| `master.persistence.accessModes` | Persistent Volume Access Modes | `[ReadWriteOnce]` |
|
||||
| `master.persistence.size` | Size of data volume | `8Gi` |
|
||||
| `master.persistence.matchLabels` | matchLabels persistent volume selector | `{}` |
|
||||
| `master.persistence.matchExpressions` | matchExpressions persistent volume selector | `{}` |
|
||||
| `master.statefulset.updateStrategy` | Update strategy for StatefulSet | onDelete |
|
||||
| `master.statefulset.rollingUpdatePartition` | Partition update strategy | `nil` |
|
||||
| `master.podLabels` | Additional labels for Redis master pod | {} |
|
||||
@@ -187,6 +189,8 @@ The following table lists the configurable parameters of the Redis chart and the
|
||||
| `slave.persistence.storageClass` | Storage class of backing PVC | `generic` |
|
||||
| `slave.persistence.accessModes` | Persistent Volume Access Modes | `[ReadWriteOnce]` |
|
||||
| `slave.persistence.size` | Size of data volume | `8Gi` |
|
||||
| `slave.persistence.matchLabels` | matchLabels persistent volume selector | `{}` |
|
||||
| `slave.persistence.matchExpressions` | matchExpressions persistent volume selector | `{}` |
|
||||
| `slave.statefulset.updateStrategy` | Update strategy for StatefulSet | onDelete |
|
||||
| `slave.statefulset.rollingUpdatePartition` | Partition update strategy | `nil` |
|
||||
| `slave.podLabels` | Additional labels for Redis slave pod | `master.podLabels` |
|
||||
|
||||
Regular → Executable
+9
@@ -397,6 +397,15 @@ spec:
|
||||
requests:
|
||||
storage: {{ .Values.master.persistence.size | quote }}
|
||||
{{ include "redis.master.storageClass" . }}
|
||||
selector:
|
||||
{{- if .Values.master.persistence.matchLabels }}
|
||||
matchLabels:
|
||||
{{ toYaml .Values.master.persistence.matchLabels | indent 12 }}
|
||||
{{- end -}}
|
||||
{{- if .Values.master.persistence.matchExpressions }}
|
||||
matchExpressions:
|
||||
{{ toYaml .Values.master.persistence.matchExpressions | indent 12 }}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
updateStrategy:
|
||||
type: {{ .Values.master.statefulset.updateStrategy }}
|
||||
|
||||
Regular → Executable
+9
@@ -414,6 +414,15 @@ spec:
|
||||
requests:
|
||||
storage: {{ .Values.slave.persistence.size | quote }}
|
||||
{{ include "redis.slave.storageClass" . }}
|
||||
selector:
|
||||
{{- if .Values.slave.persistence.matchLabels }}
|
||||
matchLabels:
|
||||
{{ toYaml .Values.slave.persistence.matchLabels | indent 12 }}
|
||||
{{- end -}}
|
||||
{{- if .Values.slave.persistence.matchExpressions }}
|
||||
matchExpressions:
|
||||
{{ toYaml .Values.slave.persistence.matchExpressions | indent 12 }}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
updateStrategy:
|
||||
type: {{ .Values.slave.statefulset.updateStrategy }}
|
||||
|
||||
@@ -335,6 +335,10 @@ master:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
size: 8Gi
|
||||
## Persistent Volume selectors
|
||||
## https://kubernetes.io/docs/concepts/storage/persistent-volumes/#selector
|
||||
matchLabels: {}
|
||||
matchExpressions: {}
|
||||
|
||||
## Update strategy, can be set to RollingUpdate or onDelete by default.
|
||||
## https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets
|
||||
@@ -455,6 +459,10 @@ slave:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
size: 8Gi
|
||||
## Persistent Volume selectors
|
||||
## https://kubernetes.io/docs/concepts/storage/persistent-volumes/#selector
|
||||
matchLabels: {}
|
||||
matchExpressions: {}
|
||||
|
||||
## Update strategy, can be set to RollingUpdate or onDelete by default.
|
||||
## https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets
|
||||
|
||||
@@ -67,6 +67,14 @@
|
||||
"condition": false,
|
||||
"value": "master.persistence.enabled"
|
||||
}
|
||||
},
|
||||
"matchLabels": {
|
||||
"type": "object",
|
||||
"title": "Persistent Match Labels Selector"
|
||||
},
|
||||
"matchExpressions": {
|
||||
"type": "object",
|
||||
"title": "Persistent Match Expressions Selector"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -104,6 +112,14 @@
|
||||
"condition": false,
|
||||
"value": "slave.persistence.enabled"
|
||||
}
|
||||
},
|
||||
"matchLabels": {
|
||||
"type": "object",
|
||||
"title": "Persistent Match Labels Selector"
|
||||
},
|
||||
"matchExpressions": {
|
||||
"type": "object",
|
||||
"title": "Persistent Match Expressions Selector"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -335,6 +335,10 @@ master:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
size: 8Gi
|
||||
## Persistent Volume selectors
|
||||
## https://kubernetes.io/docs/concepts/storage/persistent-volumes/#selector
|
||||
matchLabels: {}
|
||||
matchExpressions: {}
|
||||
|
||||
## Update strategy, can be set to RollingUpdate or onDelete by default.
|
||||
## https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets
|
||||
@@ -455,6 +459,10 @@ slave:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
size: 8Gi
|
||||
## Persistent Volume selectors
|
||||
## https://kubernetes.io/docs/concepts/storage/persistent-volumes/#selector
|
||||
matchLabels: {}
|
||||
matchExpressions: {}
|
||||
|
||||
## Update strategy, can be set to RollingUpdate or onDelete by default.
|
||||
## https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets
|
||||
|
||||
Reference in New Issue
Block a user