-
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
feat(argo-cd): Update to Argo CD v2.4.0 #1325
Conversation
Including CVEs. Ref: https://github.com/redis/redis/blob/7.0/00-RELEASENOTES Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
16dc2c1
to
e68a553
Compare
Do we also need to update CRDs? 🤔 |
I think yes, since they drop support for KSonnet and Helm 2. I will push new changes in https://github.com/argoproj/argo-cd/tree/v2.4.0/manifests/crds to crds. |
c278ffb
to
fbc3864
Compare
Signed-off-by: thonglm2 <thonglm2@vng.com.vn>
Argocd v2.4 introduced logs as a new RBAC resource. We should remind user to set the flag now for an easier upgrade experience in future releases. Signed-off-by: thonglm2 <thonglm2@vng.com.vn>
… CRDs KSonnet and Helm2 support is removed in v2.4. See: https://argo-cd.readthedocs.io/en/latest/operator-manual/upgrading/2.3-2.4/#ksonnet-support-is-removed and https://argo-cd.readthedocs.io/en/latest/operator-manual/upgrading/2.3-2.4/#helm-2-support-is-removed Signed-off-by: thonglm2 <thonglm2@vng.com.vn>
b463eee
to
72ac110
Compare
72ac110
to
14887dc
Compare
Argocd v2.4 introduced logs as a new RBAC resource. We should remind user to set the flag now for an easier upgrade in future releases. Signed-off-by: thonglm2 <thonglm2@vng.com.vn>
14887dc
to
4ccace0
Compare
@minhthong582000, maybe we should change the image for applicationset from the |
Also merged #1245 and #1266 as their target are 2.4.x
--> Solved via merge of #1266 |
@mkilchhofer I've noticed that applicationset controller now have |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm. Thanks for your contributions @minhthong582000 , @pdrastil and @sathieu
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
Nice spotted! Thanks, also added this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes
charts/argo-cd/Chart.yaml
Outdated
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes. | ||
name: argo-cd | ||
version: 4.8.3 | ||
version: 4.8.4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please bump the minor version here as well?
version: 4.8.4 | |
version: 4.9.0 |
* feat(argo-cd): Upgrade redis to 7.0.0 Including CVEs. Ref: https://github.com/redis/redis/blob/7.0/00-RELEASENOTES Signed-off-by: Mathieu Parent <math.parent@gmail.com> * feat(argo-cd): Use upstream applicationset binary Signed-off-by: Petr Drastil <petr.drastil@gmail.com> * feat(argo-cd): Update Argo CD to v2.4.0 Signed-off-by: thonglm2 <thonglm2@vng.com.vn> * Specify logs RBAC enforcement config in server Argocd v2.4 introduced logs as a new RBAC resource. We should remind user to set the flag now for an easier upgrade experience in future releases. Signed-off-by: thonglm2 <thonglm2@vng.com.vn> * Remove ksonnet and helm 2 support from Application and ApplicationSet CRDs KSonnet and Helm2 support is removed in v2.4. See: https://argo-cd.readthedocs.io/en/latest/operator-manual/upgrading/2.3-2.4/#ksonnet-support-is-removed and https://argo-cd.readthedocs.io/en/latest/operator-manual/upgrading/2.3-2.4/#helm-2-support-is-removed Signed-off-by: thonglm2 <thonglm2@vng.com.vn> * Specify logs RBAC enforcement config in argocd-cm Argocd v2.4 introduced logs as a new RBAC resource. We should remind user to set the flag now for an easier upgrade in future releases. Signed-off-by: thonglm2 <thonglm2@vng.com.vn> * Add entrypoint.sh on applicationset deployment Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Mathieu Parent <math.parent@gmail.com> Co-authored-by: Petr Drastil <petr.drastil@gmail.com> Co-authored-by: thonglm2 <thonglm2@vng.com.vn> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
Upgrade ArgoCD to v2.4.0.
Specify logs RBAC enforcement config in server. According to this docs:
2.4 introduced logs as a new RBAC resource. In 2.3, users with applications, get access automatically get logs access. In 2.5, you will have to explicitly grant logs, get access.
. So I think we should put the configuration to values as a reminder to prepare for future releases.Remove ksonnet and helm 2 support from Application and ApplicationSet CRDs
Note on DCO:
If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.
Checklist:
Changes are automatically published when merged to
main
. They are not published on branches.