From aafd821f00331d138d57a4cefbe9f545a28f0d18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Sat, 4 Aug 2018 19:13:43 +0200 Subject: [PATCH] made revisionHistoryLimit configurable (#6945) --- stable/cerebro/Chart.yaml | 2 +- stable/cerebro/templates/deployment.yaml | 1 + stable/cerebro/values.yaml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/stable/cerebro/Chart.yaml b/stable/cerebro/Chart.yaml index 8c0e5ee886..f1be04690e 100644 --- a/stable/cerebro/Chart.yaml +++ b/stable/cerebro/Chart.yaml @@ -6,7 +6,7 @@ sources: - https://github.com/lmenezes/cerebro-docker - https://github.com/lmenezes/cerebro name: cerebro -version: 0.3.0 +version: 0.3.1 maintainers: - name: davidkarlsen email: david@davidkarlsen.com diff --git a/stable/cerebro/templates/deployment.yaml b/stable/cerebro/templates/deployment.yaml index dff06afb13..e4845bae7c 100644 --- a/stable/cerebro/templates/deployment.yaml +++ b/stable/cerebro/templates/deployment.yaml @@ -9,6 +9,7 @@ metadata: heritage: {{ .Release.Service }} spec: replicas: {{ .Values.replicaCount }} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} selector: matchLabels: app: {{ template "cerebro.name" . }} diff --git a/stable/cerebro/values.yaml b/stable/cerebro/values.yaml index af58561990..c1dc93ca2c 100644 --- a/stable/cerebro/values.yaml +++ b/stable/cerebro/values.yaml @@ -1,4 +1,5 @@ replicaCount: 1 +revisionHistoryLimit: 3 image: repository: lmenezes/cerebro