diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 56bbf6d8..71067d29 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v2.3.3 description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 4.5.7 +version: 4.5.8 home: https://github.com/argoproj/argo-helm icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png keywords: @@ -21,4 +21,4 @@ dependencies: condition: redis-ha.enabled annotations: artifacthub.io/changes: | - - "[Removed]: Drop unneeded static-files volume from argocd-server" + - "[Added]: Document how to upgrade CRDs" diff --git a/charts/argo-cd/README.md b/charts/argo-cd/README.md index 44495436..33fff9bf 100644 --- a/charts/argo-cd/README.md +++ b/charts/argo-cd/README.md @@ -82,6 +82,19 @@ Changes in the `CustomResourceDefinition` resources shall be fixed easily by cop ## Upgrading +### Custom resource definitions + +Helm cannot upgrade custom resource definitions [by design](https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#some-caveats-and-explanations). + +Please use `kubectl` to upgrade CRDs manually: + +```sh +kubectl apply -f https://raw.githubusercontent.com/argoproj/argo-helm/argo-cd-4.5.8/charts/argo-cd/crds/crd-application.yaml +kubectl apply -f https://raw.githubusercontent.com/argoproj/argo-helm/argo-cd-4.5.8/charts/argo-cd/crds/crd-applicationset.yaml +kubectl apply -f https://raw.githubusercontent.com/argoproj/argo-helm/argo-cd-4.5.8/charts/argo-cd/crds/crd-extension.yaml +kubectl apply -f https://raw.githubusercontent.com/argoproj/argo-helm/argo-cd-4.5.8/charts/argo-cd/crds/crd-project.yaml +``` + ### 4.3.* With this minor version, the notification notifier's `service.slack` is no longer configured by default. diff --git a/charts/argo-cd/README.md.gotmpl b/charts/argo-cd/README.md.gotmpl index 3f58e445..494db478 100644 --- a/charts/argo-cd/README.md.gotmpl +++ b/charts/argo-cd/README.md.gotmpl @@ -82,6 +82,19 @@ Changes in the `CustomResourceDefinition` resources shall be fixed easily by cop ## Upgrading +### Custom resource definitions + +Helm cannot upgrade custom resource definitions [by design](https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#some-caveats-and-explanations). + +Please use `kubectl` to upgrade CRDs manually: + +```sh +kubectl apply -f https://raw.githubusercontent.com/argoproj/argo-helm/argo-cd-{{ template "chart.version" . }}/charts/argo-cd/crds/crd-application.yaml +kubectl apply -f https://raw.githubusercontent.com/argoproj/argo-helm/argo-cd-{{ template "chart.version" . }}/charts/argo-cd/crds/crd-applicationset.yaml +kubectl apply -f https://raw.githubusercontent.com/argoproj/argo-helm/argo-cd-{{ template "chart.version" . }}/charts/argo-cd/crds/crd-extension.yaml +kubectl apply -f https://raw.githubusercontent.com/argoproj/argo-helm/argo-cd-{{ template "chart.version" . }}/charts/argo-cd/crds/crd-project.yaml +``` + ### 4.3.* With this minor version, the notification notifier's `service.slack` is no longer configured by default.