-
Notifications
You must be signed in to change notification settings - Fork 931
Upgrade argocd to 2.14.13 and debug upgrade issues #1671
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
base: master
Are you sure you want to change the base?
Conversation
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 | |||
kind: CustomResourceDefinition | |||
metadata: | |||
annotations: | |||
controller-gen.kubebuilder.io/version: v0.14.0 | |||
controller-gen.kubebuilder.io/version: v0.17.2 |
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.
Is controller-gen upgrade required? If so, we will also need to update it in makefile
Lines 169 to 171 in 58532ce
CONTROLLER_GEN = $(shell pwd)/bin/controller-gen | |
controller-gen: ## Download controller-gen locally if necessary. | |
$(call go-install-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/[email protected]) |
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.
Yes, IIRC, this change was required for the compilation to succeed. Let me cross check and revert if not required.
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.
Yes, this was required to make the builds succeed with kubernetes API 0.31.0
. Updated the Makefile
too.
config/rbac/role.yaml
Outdated
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.
Are these permission changes done by code-gen automatically?
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.
Yes, these were generated by code-gen automatically.
Signed-off-by: Anand Francis Joseph <[email protected]>
What type of PR is this?
What does this PR do / why we need it:
Have you updated the necessary documentation?
Which issue(s) this PR fixes:
Fixes #?
How to test changes / Special notes to the reviewer: