-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRDs not upgraded from 5.27.4 to 5.42.3 #2311
Comments
@mailbox171 Did you handle https://github.com/argoproj/argo-helm/tree/main/charts/argo-cd#520 when you upgrade your Helm Chart to 5.2.0? |
@yu-croco thanks a lot for you answer, but I am afraid I didn't make myself clear enough.
Checking the CRDs (see for example "applications" and "applicationsets" annotations below), we see they have not been upgraded. Why the CRD have not been upgraded by upgrading the Helm Chart? Please, I really need help on understanding this.
Thanks a lot!
|
Thank you for the info.
In my project, I upgraded Argo CD to the latest version every time via Helm Chart and it worked well all the time, but I am not so sure the behavior of Terraform. 🤔 I'm not so sure at all if it's a bug, but I put the label back in case. |
You can do investigate yourself this by searching PR.... 🙄
|
Digging deeper, I think I was looking just at part of the CRD upgrades.
Am I right?
|
We at @swisspost also use the Terraform helm provider to manage Argo CD's installation. And the CRDs are upgraded all the time when needed. Starting from helm chart version 5.2.0, the CRDs are living in the
Normally CRDs change from minor (app) version to minor version:
|
@mkilchhofer thanks a lot. I really appreciate your help.
What is misleading for me is the "Creation Timestamp: 2023-06-30T09:38:49Z". Is it updated when the crd is upgraded? And then, what is the meaning of "Resource Version: 103751166". Is there a reference somewhere where the version number can be checked?
|
Aaah now I see, you got confused by the We could also place a version label on the CRD or for you you could set |
Are there still open points @mailbox171 or can we close this issue? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe the bug
Hello,
we upgraded our argocd (Helm chart) installation going from version 5.27.4 to 5.42.3 of the package (argocd 2.6 to 2.7).
We use a Terraform Helm provider to deploy/update the chart.
Everything seems ok - all our applications stayed Running all the time - but I noticed argoproj CRDs in our k8s cluster have not been upgraded, and they are still the same. They have been created months ago, and never changed.
Is it an issue? or maybe it's just because they have not changed between the two versions (5.27.4 --->> 5.42.3)?
This sentence in the README make me think that CRDs should be upgraded when the Helm chart is upgraded: "Helm cannot upgrade custom resource definitions in the /crds folder [by design] . . . Starting with 5.2.0, the CRDs have been moved to /templates to address this design decision."
Our next step will be to upgrade argocd 2.7 to 2.8, so we will upgrade to the latest version of the chart. Are the CRDs going to change this time? If so, what will happen to running Applications, Projects, .. are they going to be up all the time during the upgrade? or they will be stopped, deleted.. ?
Thanks a lot
Related helm chart
argo-cd
Helm chart version
5.42.3
To Reproduce
Deploy argocd chart 5.27.4
Check CRDs
Ugrade chart to 5.42.3
CRDs are the same
Expected behavior
Maybe CRDs should have been upgraded?
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: