diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index 4dba76a..893e02b 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 "owfms.name" . }} diff --git a/helm/values.yaml b/helm/values.yaml index 2009b5a..0ebce8b 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -1,6 +1,7 @@ # System replicaCount: 1 strategyType: Recreate +revisionHistoryLimit: 2 nameOverride: "" fullnameOverride: ""