diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index 7c166f95..e50629bb 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -8,6 +8,10 @@ spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} {{- end }} + {{- if .Values.revisionHistoryLimit }} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} + {{- end }} + selector: matchLabels: {{- include "dragon-bot.selectorLabels" . | nindent 6 }} diff --git a/helm/values.yaml b/helm/values.yaml index 4a78fec1..ab193b3b 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -61,6 +61,7 @@ autoscaling: maxReplicas: 100 targetCPUUtilizationPercentage: 80 # targetMemoryUtilizationPercentage: 80 +revisionHistoryLimit: 0 nodeSelector: {}