pull/7900/merge
rmlamarche 2 weeks ago committed by GitHub
commit 4ac99d1026
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -99,6 +99,9 @@ The following table lists the configurable parameters of the Wiki.js chart and t
| `imagePullPolicy` | Image pull policy | `IfNotPresent` |
| `replicacount` | Number of Wiki.js pods to run | `1` |
| `revisionHistoryLimit` | Total number of revision history points | `10` |
| `strategy.type` | Strategy used to replace old pods by new ones | `RollingUpdate` |
| `strategy.rollingUpdate.maxSurge` | Maximum number of pods that can be created over the desired replica count during the upgrade process | `25%` |
| `strategy.rollingUpdate.maxUnavailable` | Maximum number of pods that can be unavailable during the upgrade process | `25%` |
| `resources.limits` | Wiki.js service resource limits | `nil` |
| `resources.requests` | Wiki.js service resource requests | `nil` |
| `nodeSelector` | Node labels for the Wiki.js pod assignment | `{}` |

@ -7,6 +7,13 @@ metadata:
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
strategy:
type: {{ .Values.strategy.type }}
{{- if eq .Values.strategy.type "RollingUpdate" }}
rollingUpdate:
maxSurge: {{ .Values.strategy.rollingUpdate.maxSurge }}
maxUnavailable: {{ .Values.strategy.rollingUpdate.maxUnavailable }}
{{- end }}
selector:
matchLabels:
{{- include "wiki.selectorLabels" . | nindent 6 }}

@ -5,6 +5,12 @@
replicaCount: 1
revisionHistoryLimit: 10
strategy:
type: "RollingUpdate"
rollingUpdate:
maxSurge: "25%"
maxUnavailable: "25%"
image:
repository: requarks/wiki
imagePullPolicy: IfNotPresent

Loading…
Cancel
Save