mirror of
https://github.com/bitnami/charts.git
synced 2026-02-20 12:07:40 +08:00
[bitnami/mediawiki] Add support for N replicas (#20064)
This commit is contained in:
committed by
GitHub
parent
6d3450c901
commit
c8ba0c6da1
@@ -39,4 +39,4 @@ maintainers:
|
||||
name: mediawiki
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/mediawiki
|
||||
version: 17.0.0
|
||||
version: 17.1.0
|
||||
|
||||
@@ -110,6 +110,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
|
||||
| Name | Description | Value |
|
||||
| --------------------------------------- | ----------------------------------------------------------------------------------------- | ------------------------------------------------- |
|
||||
| `replicaCount` | Number of Mediawiki replicas to deploy | `1` |
|
||||
| `updateStrategy.type` | StrategyType can be set to RollingUpdate or OnDelete | `RollingUpdate` |
|
||||
| `podSecurityContext.enabled` | Enable Mediawiki pods' Security Context | `true` |
|
||||
| `podSecurityContext.fsGroup` | Group ID for the volumes of the pod | `1001` |
|
||||
|
||||
@@ -14,6 +14,7 @@ metadata:
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
||||
|
||||
@@ -152,6 +152,10 @@ extraEnvVarsSecret: ""
|
||||
|
||||
## @section Mediawiki deployment parameters
|
||||
|
||||
## @param replicaCount Number of Mediawiki replicas to deploy
|
||||
## NOTE: ReadWriteMany PVC(s) are required if replicaCount > 1
|
||||
##
|
||||
replicaCount: 1
|
||||
## Strategy to use to update Pods
|
||||
## @param updateStrategy.type StrategyType can be set to RollingUpdate or OnDelete
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user