diff --git a/charts/prometheus-adapter/Chart.yaml b/charts/prometheus-adapter/Chart.yaml index f42257947f0b..0066660ac3cb 100644 --- a/charts/prometheus-adapter/Chart.yaml +++ b/charts/prometheus-adapter/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: prometheus-adapter -version: 5.1.0 +version: 5.2.0 appVersion: v0.12.0 description: A Helm chart for k8s prometheus adapter home: https://github.com/kubernetes-sigs/prometheus-adapter diff --git a/charts/prometheus-adapter/templates/deployment.yaml b/charts/prometheus-adapter/templates/deployment.yaml index 4036411818f5..b26256fbe688 100644 --- a/charts/prometheus-adapter/templates/deployment.yaml +++ b/charts/prometheus-adapter/templates/deployment.yaml @@ -16,6 +16,7 @@ metadata: namespace: {{ include "k8s-prometheus-adapter.namespace" . }} spec: replicas: {{ .Values.replicas }} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} strategy: {{ toYaml .Values.strategy | nindent 4 }} selector: matchLabels: diff --git a/charts/prometheus-adapter/values.yaml b/charts/prometheus-adapter/values.yaml index c57818e03447..f2141d61e32e 100644 --- a/charts/prometheus-adapter/values.yaml +++ b/charts/prometheus-adapter/values.yaml @@ -305,3 +305,6 @@ extraManifests: [] # name: prometheus-extra # data: # extra-data: "value" + +# Optional: set revisionHistoryLimit for the Deployment +revisionHistoryLimit: 10