Added chart values deprecation parameters. This will simplify updates for changes in charts.

Pattern copied from https://github.com/jenkinsci/helm-charts/blob/jenkins-5.7.1/charts/jenkins/templates/deprecation.yaml

Signed-off-by: Jānis Orlovs <janis@cwise.eu>
This commit is contained in:
Jānis Orlovs 2024-10-01 13:58:16 +03:00
parent 994838a2ef
commit d44be217f2
4 changed files with 11 additions and 1 deletions

View file

@ -3,7 +3,7 @@ appVersion: v2.12.4
kubeVersion: ">=1.25.0-0"
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 7.6.7
version: 7.7.0
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
sources:

View file

@ -670,6 +670,7 @@ NAME: my-release
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| apiVersionOverrides | object | `{}` | |
| checkDeprecation | bool | `true` | Checks if any deprecated values are used |
| crds.additionalLabels | object | `{}` | Addtional labels to be added to all CRDs |
| crds.annotations | object | `{}` | Annotations to be added to all CRDs |
| crds.install | bool | `true` | Install and upgrade CRDs |

View file

@ -0,0 +1,5 @@
{{- if .Values.checkDeprecation }}
{{- if .Values.server.config }}
{{ fail "`server.config` does no longer exist. It has been renamed to `configs`" }}
{{- end }}
{{- end }}

View file

@ -3721,3 +3721,7 @@ notifications:
# For more information: https://argo-cd.readthedocs.io/en/stable/operator-manual/notifications/triggers/#default-triggers
# defaultTriggers: |
# - on-sync-status-unknown
# -- Checks if any deprecated values are used
checkDeprecation: true