mirror of
https://github.com/bitnami/charts.git
synced 2026-03-10 15:07:49 +08:00
Synchronize upstreamed folder to 5928c0625
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: mongodb
|
||||
version: 6.2.1
|
||||
version: 6.3.0
|
||||
appVersion: 4.0.11
|
||||
description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications.
|
||||
keywords:
|
||||
|
||||
@@ -90,10 +90,8 @@ The following table lists the configurable parameters of the MongoDB chart and t
|
||||
| `replicaSet.replicas.secondary` | Number of secondary nodes in the replica set | `1` |
|
||||
| `replicaSet.replicas.arbiter` | Number of arbiter nodes in the replica set | `1` |
|
||||
| `replicaSet.pdb.enabled` | Switch to enable/disable Pod Disruption Budget | `true` |
|
||||
| `replicaSet.pdb.minAvailable.primary` | PDB (min available) for the MongoDB Primary nodes | `1` |
|
||||
| `replicaSet.pdb.minAvailable.secondary` | PDB (min available) for the MongoDB Secondary nodes | `1` |
|
||||
| `replicaSet.pdb.minAvailable.arbiter` | PDB (min available) for the MongoDB Arbiter nodes | `1` |
|
||||
| `replicaSet.pdb.maxUnavailable.primary` | PDB (max unavailable) for the MongoDB Primary nodes | `nil` |
|
||||
| `replicaSet.pdb.maxUnavailable.secondary` | PDB (max unavailable) for the MongoDB Secondary nodes | `nil` |
|
||||
| `replicaSet.pdb.maxUnavailable.arbiter` | PDB (max unavailable) for the MongoDB Arbiter nodes | `nil` |
|
||||
| `podAnnotations` | Annotations to be added to pods | `{}` |
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
{{- if and .Values.replicaSet.enabled .Values.replicaSet.pdb.enabled }}
|
||||
apiVersion: policy/v1beta1
|
||||
kind: PodDisruptionBudget
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ template "mongodb.name" . }}
|
||||
chart: {{ template "mongodb.chart" . }}
|
||||
heritage: {{ .Release.Service }}
|
||||
release: {{ .Release.Name }}
|
||||
name: {{ template "mongodb.fullname" . }}-primary
|
||||
spec:
|
||||
{{- if .Values.replicaSet.pdb.minAvailable }}
|
||||
{{- if .Values.replicaSet.pdb.minAvailable.primary }}
|
||||
minAvailable: {{ .Values.replicaSet.pdb.minAvailable.primary }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.replicaSet.pdb.maxUnavailable }}
|
||||
{{- if .Values.replicaSet.pdb.maxUnavailable.primary }}
|
||||
maxUnavailable: {{ .Values.replicaSet.pdb.maxUnavailable.primary }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ template "mongodb.name" . }}
|
||||
release: {{ .Release.Name }}
|
||||
component: primary
|
||||
{{- end }}
|
||||
@@ -166,11 +166,9 @@ replicaSet:
|
||||
pdb:
|
||||
enabled: true
|
||||
minAvailable:
|
||||
primary: 1
|
||||
secondary: 1
|
||||
arbiter: 1
|
||||
# maxUnavailable:
|
||||
# primary: 1
|
||||
# secondary: 1
|
||||
# arbiter: 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user