diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 16b11ae6e..969f8c465 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -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: @@ -26,5 +26,5 @@ annotations: fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252 url: https://argoproj.github.io/argo-helm/pgp_keys.asc artifacthub.io/changes: | - - kind: fixed - description: Arrange for ApplicationSet in any namespace. + - kind: added + description: Added values deprecation pattern for Chart, to make easier upgrade process. \ No newline at end of file diff --git a/charts/argo-cd/README.md b/charts/argo-cd/README.md index b44bb4315..ef7b371b8 100644 --- a/charts/argo-cd/README.md +++ b/charts/argo-cd/README.md @@ -670,6 +670,7 @@ NAME: my-release | Key | Type | Default | Description | |-----|------|---------|-------------| | apiVersionOverrides | object | `{}` | | +| checkDeprecation | bool | `false` | 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 | diff --git a/charts/argo-cd/templates/argocd-server/deprecation.yaml b/charts/argo-cd/templates/argocd-server/deprecation.yaml new file mode 100644 index 000000000..8fca95291 --- /dev/null +++ b/charts/argo-cd/templates/argocd-server/deprecation.yaml @@ -0,0 +1,5 @@ +{{- if .Values.checkDeprecation }} + {{- if .Values.server.config }} + {{ fail "`server.config` no longer exists. It has been renamed to `configs`" }} + {{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index 70dfb347d..46e2ccfe8 100644 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -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: false +