-
Notifications
You must be signed in to change notification settings - Fork 102
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
CRD Schema Fixes for CRD v1 #895
Conversation
f6a9ac1
to
c3c34db
Compare
after stewing over this for the night, do we just want to go to CRD v1 now so we don't have to do this later and get it over with pinning to 1.16? |
We'll still need the |
if we do... that will seal the deal on not supporting 1.14. If we are good with that... than yeah... I'm good with moving to CRD v1. |
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 don't understand the motivation and the implications of this (perhaps @gerred has more context since I was out on Friday?). Could we link an issue to this to see what problem is it solving, please?
go.mod
Outdated
sigs.k8s.io/controller-runtime v0.2.0 | ||
sigs.k8s.io/controller-tools v0.2.0 | ||
sigs.k8s.io/kind v0.5.1 | ||
sigs.k8s.io/kustomize v2.0.3+incompatible | ||
sigs.k8s.io/yaml v1.1.0 | ||
) | ||
|
||
// Pinned to kubernetes-1.15.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.
does that mean we're not compatible with lower versions?
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.
depends on what you mean:)
it has the compatible that is defined by what is in the dependencies... sorry for vagueness. It is likely that we will have kubernetes 1.16 as min supported version. let me add more context to this PR
92ee70f
to
6c2e373
Compare
The genesis of this PR was looking into To further challenge things... the controller-time libraries seemed to have jump 1.15 for it's dependencies and moved to 1.16. and to make life more fun.. there seem to be 2 competing PRs in that direction. AND the a dependencies diamond created that makes it challenging to match a client-go to controller-runtime. There is leaning towards requiring kubernetes 1.16 for kudo. It took some time to get the right combo of dependencies to be pinned to 1.15 which is apart of this PR. @gerred asked to do the same with 1.16 which has some challenges. I'm working under the impression that we are focused on 1.16 AND that we will move to CRD |
revert dependencies
Capturing the resolution here: We're going to bump to k8s 1.16 in a separate PR, remove @kensipe lmk if I missed anything but that covers it, and with that I'm 👍 |
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 exhaustive comment, that was very helpful.
If I TLDR understand it correctly, we right now support k8s 1.15+ while in the future we'll be probably moving to 1.16+. Makes sense, thanks
That's correct. CRD v1 has Kubernetes SLAs/SLOs around it, will continue to get features and support, whereas v1beta1 will be deprecated and removed. I'd rather us not GA on v1beta1 for a lot of reasons, but that SLA/SLO/support expectation is a major one. |
6c2e373
to
f26b0e9
Compare
What this PR does / why we need it:
update to crds for require schema elements. required for kube ver 1.16 or crd v1
Fixes #