feat(argo-rollouts): Support revisionHistoryLimit

Signed-off-by: yu-croco <yu.croco@gmail.com>
This commit is contained in:
yu-croco 2024-05-23 12:40:58 +09:00
parent 3174f52ffc
commit ef645f3579
5 changed files with 10 additions and 2 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v1.6.6
description: A Helm chart for Argo Rollouts
name: argo-rollouts
version: 2.35.2
version: 2.35.3
home: https://github.com/argoproj/argo-helm
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
keywords:
@ -19,4 +19,4 @@ annotations:
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: added
description: Added pod labels for the controller and the dashboard components
description: Support revisionHistoryLimit

View file

@ -121,6 +121,7 @@ For full list of changes please check ArtifactHub [changelog].
| controller.readinessProbe | object | See [values.yaml] | Configure readiness [probe] for the controller |
| controller.replicas | int | `2` | The number of controller pods to run |
| controller.resources | object | `{}` | Resource limits and requests for the controller pods. |
| controller.revisionHistoryLimit | int | `10` | The number of revisions to keep |
| controller.tolerations | list | `[]` | [Tolerations] for use with node taints |
| controller.topologySpreadConstraints | list | `[]` | Assign custom [TopologySpreadConstraints] rules to the controller |
| controller.trafficRouterPlugins | object | `{}` | Configures 3rd party traffic router plugins for controller |
@ -175,6 +176,7 @@ For full list of changes please check ArtifactHub [changelog].
| dashboard.readonly | bool | `false` | Set cluster role to readonly |
| dashboard.replicas | int | `1` | The number of dashboard pods to run |
| dashboard.resources | object | `{}` | Resource limits and requests for the dashboard pods. |
| dashboard.revisionHistoryLimit | int | `10` | The number of revisions to keep |
| dashboard.service.annotations | object | `{}` | Service annotations |
| dashboard.service.externalIPs | list | `[]` | Dashboard service external IPs |
| dashboard.service.labels | object | `{}` | Service labels |

View file

@ -23,6 +23,7 @@ spec:
strategy:
type: Recreate
replicas: {{ .Values.controller.replicas }}
revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }}
template:
metadata:
{{- with (mergeOverwrite (deepCopy .Values.podAnnotations) .Values.controller.podAnnotations) }}

View file

@ -24,6 +24,7 @@ spec:
strategy:
type: Recreate
replicas: {{ .Values.dashboard.replicas }}
revisionHistoryLimit: {{ .Values.dashboard.revisionHistoryLimit }}
template:
metadata:
{{- with (mergeOverwrite (deepCopy .Values.podAnnotations) .Values.dashboard.podAnnotations) }}

View file

@ -90,6 +90,8 @@ controller:
tag: ""
# -- Image pull policy
pullPolicy: IfNotPresent
# -- The number of revisions to keep
revisionHistoryLimit: 10
# -- Additional command line arguments to pass to rollouts-controller. A list of flags.
extraArgs: []
@ -336,6 +338,8 @@ dashboard:
tag: ""
# -- Image pull policy
pullPolicy: IfNotPresent
# -- The number of revisions to keep
revisionHistoryLimit: 10
# -- Additional command line arguments to pass to rollouts-dashboard. A list of flags.
extraArgs: []
# -- Additional environment variables for rollouts-dashboard. A list of name/value maps.