diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 71067d29..d67ddee2 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.8 +version: 4.5.9 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: | - - "[Added]: Document how to upgrade CRDs" + - "[Fix]: Remove version dependencies in README for CRD paths" diff --git a/charts/argo-cd/README.md b/charts/argo-cd/README.md index 33fff9bf..bfc7327f 100644 --- a/charts/argo-cd/README.md +++ b/charts/argo-cd/README.md @@ -86,13 +86,13 @@ Changes in the `CustomResourceDefinition` resources shall be fixed easily by cop 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: +Please use `kubectl` to upgrade CRDs manually from [crds](crds/) folder or via the manifests from the upstream project repo: -```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 +```bash +kubectl apply -k https://github.com/argoproj/argo-cd.git/manifests/crds?ref= + +# Eg. version v2.3.3 +kubectl apply -k https://github.com/argoproj/argo-cd.git/manifests/crds?ref=v2.3.3 ``` ### 4.3.* diff --git a/charts/argo-cd/README.md.gotmpl b/charts/argo-cd/README.md.gotmpl index 494db478..7ab487cc 100644 --- a/charts/argo-cd/README.md.gotmpl +++ b/charts/argo-cd/README.md.gotmpl @@ -86,13 +86,13 @@ Changes in the `CustomResourceDefinition` resources shall be fixed easily by cop 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: +Please use `kubectl` to upgrade CRDs manually from [crds](crds/) folder or via the manifests from the upstream project repo: -```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 +```bash +kubectl apply -k https://github.com/argoproj/argo-cd.git/manifests/crds?ref= + +# Eg. version v2.3.3 +kubectl apply -k https://github.com/argoproj/argo-cd.git/manifests/crds?ref=v2.3.3 ``` ### 4.3.*