Skip to content

Commit

Permalink
chore(helm): add revisionHistoryLimit (#5175)
Browse files Browse the repository at this point in the history
  • Loading branch information
rudesome authored and NGPixel committed Apr 12, 2022
1 parent 07d274c commit 38aab6f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ The following table lists the configurable parameters of the Wiki.js chart and t
| `image.tag` | Wiki.js image tag | `latest` |
| `imagePullPolicy` | Image pull policy | `IfNotPresent` |
| `replicacount` | Amount of wiki.js service pods to run | `1` |
| `revisionHistoryLimit` | Total amount of revision history points | `10` |
| `resources.limits` | wiki.js service resource limits | `nil` |
| `resources.requests` | wiki.js service resource requests | `nil` |
| `nodeSelector` | Node labels for wiki.js pod assignment | `{}` |
Expand Down
1 change: 1 addition & 0 deletions dev/helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
{{- include "wiki.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "wiki.selectorLabels" . | nindent 6 }}
Expand Down
1 change: 1 addition & 0 deletions dev/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Declare variables to be passed into your templates.

replicaCount: 1
revisionHistoryLimit: 10

image:
repository: requarks/wiki
Expand Down

0 comments on commit 38aab6f

Please sign in to comment.