From 989439587fad1da3025b1fd3b174ee029d0472ce Mon Sep 17 00:00:00 2001 From: Dmitry Dunaev Date: Thu, 23 Dec 2021 16:10:27 +0300 Subject: [PATCH] [WIFI-4977] Add: helm add revisionHistoryLimit support Signed-off-by: Dmitry Dunaev --- helm/templates/deployment.yaml | 1 + helm/values.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index c5192d1..8644e21 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -11,6 +11,7 @@ metadata: app.kubernetes.io/managed-by: {{ .Release.Service }} spec: replicas: {{ .Values.replicaCount }} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} selector: matchLabels: app.kubernetes.io/name: {{ include "owgwui.name" . }} diff --git a/helm/values.yaml b/helm/values.yaml index 527e2a1..1b9a500 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -1,5 +1,6 @@ # System replicaCount: 1 +revisionHistoryLimit: 2 nameOverride: "" fullnameOverride: ""