Skip to content

Commit 923497f

Browse files
authored
support setting revisionHistoryLimit (#3844)
Signed-off-by: drfaust92 <[email protected]>
1 parent fdc58b4 commit 923497f

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

charts/rollout-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: rollout-operator
33
description: "Grafana rollout-operator"
44
type: application
5-
version: 0.30.0
5+
version: 0.31.0
66
appVersion: v0.28.0
77
home: https://github.com/grafana/rollout-operator
88
kubeVersion: ^1.10.0-0

charts/rollout-operator/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Helm chart for deploying [Grafana rollout-operator](https://github.com/grafana/r
44

55
# rollout-operator
66

7-
![Version: 0.30.0](https://img.shields.io/badge/Version-0.30.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.28.0](https://img.shields.io/badge/AppVersion-v0.28.0-informational?style=flat-square)
7+
![Version: 0.31.0](https://img.shields.io/badge/Version-0.31.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.28.0](https://img.shields.io/badge/AppVersion-v0.28.0-informational?style=flat-square)
88

99
Grafana rollout-operator
1010

@@ -58,6 +58,7 @@ It is not a highly available application and runs as a single pod.
5858
| resources.limits.memory | string | `"200Mi"` | |
5959
| resources.requests.cpu | string | `"100m"` | |
6060
| resources.requests.memory | string | `"100Mi"` | |
61+
| revisionHistoryLimit | int | `10` | Number of old ReplicaSets to retain |
6162
| securityContext | object | `{}` | |
6263
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
6364
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created |

charts/rollout-operator/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ metadata:
77
{{- include "rollout-operator.labels" . | nindent 4 }}
88
spec:
99
replicas: 1
10+
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
1011
minReadySeconds: {{ .Values.minReadySeconds }}
1112
selector:
1213
matchLabels:

charts/rollout-operator/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ global:
77
# -- Common labels for all object directly managed by this chart.
88
commonLabels: {}
99

10+
# -- Number of old ReplicaSets to retain
11+
revisionHistoryLimit: 10
1012

1113
image:
1214
repository: grafana/rollout-operator

0 commit comments

Comments
 (0)