feat(argo-rollouts): Support revisionHistoryLimit (#2712)
* feat(argo-rollouts): Support revisionHistoryLimit Signed-off-by: yu-croco <yu.croco@gmail.com> * chore(argo-rollouts): Align to argo-cd's configuration Signed-off-by: yu-croco <yu.croco@gmail.com> --------- Signed-off-by: yu-croco <yu.croco@gmail.com>
This commit is contained in:
parent
3174f52ffc
commit
e6776415a4
5 changed files with 7 additions and 2 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: v1.6.6
|
appVersion: v1.6.6
|
||||||
description: A Helm chart for Argo Rollouts
|
description: A Helm chart for Argo Rollouts
|
||||||
name: argo-rollouts
|
name: argo-rollouts
|
||||||
version: 2.35.2
|
version: 2.35.3
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
|
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -19,4 +19,4 @@ annotations:
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: added
|
- kind: added
|
||||||
description: Added pod labels for the controller and the dashboard components
|
description: Support revisionHistoryLimit
|
||||||
|
|
|
@ -51,6 +51,7 @@ For full list of changes please check ArtifactHub [changelog].
|
||||||
| fullnameOverride | string | `nil` | String to fully override "argo-rollouts.fullname" template |
|
| fullnameOverride | string | `nil` | String to fully override "argo-rollouts.fullname" template |
|
||||||
| global.deploymentAnnotations | object | `{}` | Annotations for all deployed Deployments |
|
| global.deploymentAnnotations | object | `{}` | Annotations for all deployed Deployments |
|
||||||
| global.deploymentLabels | object | `{}` | Labels for all deployed Deployments |
|
| global.deploymentLabels | object | `{}` | Labels for all deployed Deployments |
|
||||||
|
| global.revisionHistoryLimit | int | `10` | Number of old deployment ReplicaSets to retain. The rest will be garbage collected. |
|
||||||
| imagePullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry. Registry secret names as an array. |
|
| imagePullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry. Registry secret names as an array. |
|
||||||
| installCRDs | bool | `true` | Install and upgrade CRDs |
|
| installCRDs | bool | `true` | Install and upgrade CRDs |
|
||||||
| keepCRDs | bool | `true` | Keep CRD's on helm uninstall |
|
| keepCRDs | bool | `true` | Keep CRD's on helm uninstall |
|
||||||
|
|
|
@ -23,6 +23,7 @@ spec:
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
replicas: {{ .Values.controller.replicas }}
|
replicas: {{ .Values.controller.replicas }}
|
||||||
|
revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- with (mergeOverwrite (deepCopy .Values.podAnnotations) .Values.controller.podAnnotations) }}
|
{{- with (mergeOverwrite (deepCopy .Values.podAnnotations) .Values.controller.podAnnotations) }}
|
||||||
|
|
|
@ -24,6 +24,7 @@ spec:
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
replicas: {{ .Values.dashboard.replicas }}
|
replicas: {{ .Values.dashboard.replicas }}
|
||||||
|
revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- with (mergeOverwrite (deepCopy .Values.podAnnotations) .Values.dashboard.podAnnotations) }}
|
{{- with (mergeOverwrite (deepCopy .Values.podAnnotations) .Values.dashboard.podAnnotations) }}
|
||||||
|
|
|
@ -43,6 +43,8 @@ global:
|
||||||
deploymentAnnotations: {}
|
deploymentAnnotations: {}
|
||||||
# -- Labels for all deployed Deployments
|
# -- Labels for all deployed Deployments
|
||||||
deploymentLabels: {}
|
deploymentLabels: {}
|
||||||
|
# -- Number of old deployment ReplicaSets to retain. The rest will be garbage collected.
|
||||||
|
revisionHistoryLimit: 10
|
||||||
|
|
||||||
controller:
|
controller:
|
||||||
# -- Value of label `app.kubernetes.io/component`
|
# -- Value of label `app.kubernetes.io/component`
|
||||||
|
|
Loading…
Reference in a new issue