From dba22a3b3e75b4b8fd10b29e55ee8239426dcf4b Mon Sep 17 00:00:00 2001 From: log101 Date: Sun, 2 Mar 2025 09:53:17 +0300 Subject: [PATCH] ci: change revisin history limit --- chart/templates/deployment.yaml | 1 + chart/values.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index 98a65a5..1dd9b0b 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -8,6 +8,7 @@ spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} {{- end }} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} selector: matchLabels: {{- include "chart.selectorLabels" . | nindent 6 }} diff --git a/chart/values.yaml b/chart/values.yaml index 29fb29c..55a0546 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -4,6 +4,7 @@ # This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ replicaCount: 1 +revisionHistoryLimit: 3 # This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/ image: