-
Notifications
You must be signed in to change notification settings - Fork 749
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
Update Calico operator to 1.21, updates CRDs, and roles #1578
Conversation
/cc @tmjd |
@haouc could you include what you used as the source for these changes? did you base them off github.com/projectcalico/calico release-v3.20 branch, master branch, the v3.20.0 tag, or something else? |
Hey @tmjd
|
@tmjd Can you take a look at the PR? please let me know if you need any other information. Thanks. |
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.
The changes are looking like what I would expect, though I haven't compared them exactly, all the changes look like what I would reasonably expect.
Sorry for the delay on reviewing this PR. I was waiting on reviewing because I wanted to suggest that you use the v1.20 operator release instead of v1.21 because that is what was tested with the Calico v3.20 release. But because I believe there is a bug in v1.20.0 with AWS CNI I was trying to wait until the v1.20.1 patch release was available which addresses the bug and I believe will be available soon.
- apiGroups: | ||
- crd.projectcalico.org | ||
resources: | ||
- felixconfigurations | ||
verbs: | ||
- patch | ||
- list |
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.
I think you should update this list to match what is in the release-v3.20 branch https://github.com/projectcalico/calico/blob/75797b545f786f6955387d1ce51fd8de69f7500e/_includes/charts/tigera-operator/templates/tigera-operator/02-role-tigera-operator.yaml#L102
You should make do this in the order: create, patch, list, get, watch
That way future updates will hopefully not show any changes.
Bump helm version to stable 3.6.3 and enable helm hook
@tmjd I have updated the PR. The operator is using 1.20.1 now. Could you take a look? Thanks. |
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
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, but please make sure charts version is upgraded.
Looks good...Thanks. |
What type of PR is this?
This PR is for updating the calico operator to v1.21.
Which issue does this PR fix:
In order to avoid the known issue in earlier versions of Calico, we need update Calico to latest version to unblock users.
What does this PR do / Why do we need it:
The known issue blocks users.
If an issue # is not available please add repro steps and logs from IPAMD/CNI showing the issue:
Testing done on this change:
The manifests were templated by helm from charts/aws-calico. The manifests were applied to EKS 1.20 cluster and
Updated operator's version to 1.20.1
Automation added to e2e:
Will this break upgrades or downgrades. Has updating a running cluster been tested?:
on EKS 1.21, Calico operator 1.13.8
updated to Calico operator 1.21
Does this change require updates to the CNI daemonset config files to work?:
no
Does this PR introduce any user-facing change?:
no
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.