From 8dcbc18a3b55ce4604f873b2e8b5c6bd77fc4a53 Mon Sep 17 00:00:00 2001 From: Parkhost <26667983+Parkhost@users.noreply.github.com> Date: Sun, 10 Apr 2022 02:29:26 +0200 Subject: [PATCH] chore(helm): add revisionHistoryLimit (#5175) --- dev/helm/README.md | 1 + dev/helm/templates/deployment.yaml | 1 + dev/helm/values.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/dev/helm/README.md b/dev/helm/README.md index 23f982ce..dc4954f1 100644 --- a/dev/helm/README.md +++ b/dev/helm/README.md @@ -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 | `{}` | diff --git a/dev/helm/templates/deployment.yaml b/dev/helm/templates/deployment.yaml index 4e8cec52..24910f2b 100644 --- a/dev/helm/templates/deployment.yaml +++ b/dev/helm/templates/deployment.yaml @@ -6,6 +6,7 @@ metadata: {{- include "wiki.labels" . | nindent 4 }} spec: replicas: {{ .Values.replicaCount }} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} selector: matchLabels: {{- include "wiki.selectorLabels" . | nindent 6 }} diff --git a/dev/helm/values.yaml b/dev/helm/values.yaml index a1ed353e..f647a583 100644 --- a/dev/helm/values.yaml +++ b/dev/helm/values.yaml @@ -3,6 +3,7 @@ # Declare variables to be passed into your templates. replicaCount: 1 +revisionHistoryLimit: 10 image: repository: requarks/wiki