diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index e4a6e983..10f562e2 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -13,6 +13,7 @@ spec: replicas: {{ .Values.replicaCount }} strategy: type: {{ .Values.strategyType }} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} selector: matchLabels: app.kubernetes.io/name: {{ include "owgw.name" . }} diff --git a/helm/values.yaml b/helm/values.yaml index 77af442f..87643cae 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -1,6 +1,7 @@ # System replicaCount: 1 strategyType: Recreate +revisionHistoryLimit: 2 nameOverride: "" fullnameOverride: ""