mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[mongodb] Add separate affinity for arbiter pod (#16711)
* [mongodb] Add separate affinity for arbiter pod Signed-off-by: Chirica Gheorghe <chiricagheorghe@gmail.com> * [mongodb] Bump version Signed-off-by: Chirica Gheorghe <chiricagheorghe@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
b8eb647c4b
commit
40a15c8dd4
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: mongodb
|
||||
version: 7.2.5
|
||||
version: 7.2.6
|
||||
appVersion: 4.0.12
|
||||
description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications.
|
||||
keywords:
|
||||
|
||||
@@ -102,6 +102,7 @@ The following table lists the configurable parameters of the MongoDB chart and t
|
||||
| `priorityClassName` | Pod priority class name | `` |
|
||||
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
||||
| `affinity` | Affinity for pod assignment | `{}` |
|
||||
| `affinityArbiter` | Affinity for arbiter pod assignment | `{}` |
|
||||
| `tolerations` | Toleration labels for pod assignment | `{}` |
|
||||
| `updateStrategy` | Statefulsets update strategy policy | `RollingUpdate` |
|
||||
| `securityContext.enabled` | Enable security context | `true` |
|
||||
|
||||
@@ -46,9 +46,9 @@ spec:
|
||||
securityContext:
|
||||
fsGroup: {{ .Values.securityContext.fsGroup }}
|
||||
{{- end }}
|
||||
{{- if .Values.affinity }}
|
||||
{{- if .Values.affinityArbiter }}
|
||||
affinity:
|
||||
{{ toYaml .Values.affinity | indent 8 }}
|
||||
{{ toYaml .Values.affinityArbiter | indent 8 }}
|
||||
{{- end -}}
|
||||
{{- if .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
|
||||
@@ -209,6 +209,8 @@ nodeSelector: {}
|
||||
## Affinity
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
||||
affinity: {}
|
||||
# Define separate affinity for arbiter pod
|
||||
affinityArbiter: {}
|
||||
|
||||
## Tolerations
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
|
||||
@@ -211,6 +211,8 @@ nodeSelector: {}
|
||||
## Affinity
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
||||
affinity: {}
|
||||
# Define separate affinity for arbiter pod
|
||||
affinityArbiter: {}
|
||||
|
||||
## Tolerations
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
|
||||
Reference in New Issue
Block a user