-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Use copies of upstream calico kdd CRDs #6956
Conversation
Hi @hafe. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: hafe The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
How do we solve this? We want to keep exact copies and not modify them |
/ok-to-test |
a73775a
to
49d3c8e
Compare
/test packet_centos7_calico-ha-once-localhost |
@hafe: The specified target(s) for
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/retest |
@hafe |
No because I may not familiar with kustomize. A good way forward would be if projectcalico provided templates (e.g a helm chart) but from the discussions that doesn't seem to happen soon. There are other projects maintaining helm charts for calico |
Thanks for the first feedback! |
Downloading the source from their repo would make next upgrades way easier. @mirwan do we really need kustomize ? isn't |
@champtar |
@mirwan I was confused by your message because I couldn't find them, but they have been very recently removed: projectcalico/calico@2e28c85 (3.16.5/3.17) |
@champtar Indeed, from 3.17/3.16.5, these have been removed, but if we want to have all the calico versions handled in kubespray (3.15.2, 3.16 prior to 3.16.5) covered by this feature, we should get rid of these... |
sed could also do the trick if it's only those 3 lines ;) |
I hope that the next kubespray release will only care about exactly one version of components. That would a lot of things a lot more easier! |
Still kubespray would have to maintain templates? |
I don't think we need to maintain them in tree, download calico source from GH and apply the CRDs |
It would be better if kubespray used some existing templates. Just found this: |
There are still at 3.15.1 ... and the job is only to download the sources, extract them and kubectl apply, with worst case scenario a sed to remove 3 lines. We also want everything to work offline / with separate download step, and we haven't implemented that for helm yet. |
/close superseded by #7372 |
@hafe: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What type of PR is this?
/kind design
What this PR does / why we need it:
This is an attempt to manage the problem of making sure calico CRDs are in sync with upstream (projectcalico). By keeping an exact identical copy of the CRDs, a simple recursive diff can be used to check for differences. This check (and eventual update) should be included in the process when bumping the calico version.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: