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:
parent
994838a2ef
commit
d44be217f2
4 changed files with 11 additions and 1 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.12.4
|
||||||
kubeVersion: ">=1.25.0-0"
|
kubeVersion: ">=1.25.0-0"
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 7.6.7
|
version: 7.7.0
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
sources:
|
sources:
|
||||||
|
|
|
@ -670,6 +670,7 @@ NAME: my-release
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| apiVersionOverrides | object | `{}` | |
|
| apiVersionOverrides | object | `{}` | |
|
||||||
|
| checkDeprecation | bool | `true` | Checks if any deprecated values are used |
|
||||||
| crds.additionalLabels | object | `{}` | Addtional labels to be added to all CRDs |
|
| crds.additionalLabels | object | `{}` | Addtional labels to be added to all CRDs |
|
||||||
| crds.annotations | object | `{}` | Annotations to be added to all CRDs |
|
| crds.annotations | object | `{}` | Annotations to be added to all CRDs |
|
||||||
| crds.install | bool | `true` | Install and upgrade CRDs |
|
| crds.install | bool | `true` | Install and upgrade CRDs |
|
||||||
|
|
5
charts/argo-cd/templates/argocd-server/deprecation.yaml
Normal file
5
charts/argo-cd/templates/argocd-server/deprecation.yaml
Normal 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 }}
|
|
@ -3721,3 +3721,7 @@ notifications:
|
||||||
# For more information: https://argo-cd.readthedocs.io/en/stable/operator-manual/notifications/triggers/#default-triggers
|
# For more information: https://argo-cd.readthedocs.io/en/stable/operator-manual/notifications/triggers/#default-triggers
|
||||||
# defaultTriggers: |
|
# defaultTriggers: |
|
||||||
# - on-sync-status-unknown
|
# - on-sync-status-unknown
|
||||||
|
|
||||||
|
# -- Checks if any deprecated values are used
|
||||||
|
checkDeprecation: true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue