diff --git a/helm/safe-settings/templates/deployment.yaml b/helm/safe-settings/templates/deployment.yaml index 5d1d6bc5..3c8080f0 100644 --- a/helm/safe-settings/templates/deployment.yaml +++ b/helm/safe-settings/templates/deployment.yaml @@ -8,6 +8,7 @@ spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} {{- end }} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} selector: matchLabels: {{- include "safe-settings.selectorLabels" . | nindent 6 }} diff --git a/helm/safe-settings/values.yaml b/helm/safe-settings/values.yaml index 4a9253c6..f77d275f 100644 --- a/helm/safe-settings/values.yaml +++ b/helm/safe-settings/values.yaml @@ -3,6 +3,7 @@ # Declare variables to be passed into your templates. replicaCount: 2 +revisionHistoryLimit: 10 image: repository: ghcr.io/github/safe-settings