-
Notifications
You must be signed in to change notification settings - Fork 14
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(api): add Konnect API group #443
Conversation
c31903f
to
1de3cda
Compare
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.
Looks like no go types for Konnect CRDs are defined in this PR but we have manifests for two CRDs. If we do not want include konnect CRDs in this PR, I think we should remove the manifests.
config/crd/bases/konnect.konghq.com_konnectapiauthconfigurations.yaml
Outdated
Show resolved
Hide resolved
1de3cda
to
3c98f5c
Compare
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 thought we were going to add the new konnect CRDs in kubernetes-configuration rather than here. We agreed on putting off the migration of the existing CRDs to the new repo, but for what concerns the new CRDs, why are we splitting them up between here and kubernetes-config?
There are 2 "types" of CRDs we're talking about here:
The former make sense in both KGO and KIC context. The latter are only used by the operator and are only used in the Konnect context. From what I understand @mlavacca, you're suggesting to introduce the latter also in https://github.com/Kong/kubernetes-configuration under I'm wondering if there are any benefits to this approach. I'm curious about your thoughts on this. Given that we'd only use those CRDs in the operator I'm not sure there's much value in putting them outside of this repo. 🤔 |
My point is that since we are making the effort to group the CRDs in a unique place, it could make sense to treat this new place as where "Kong CRDs live". No matters if they are shared among KIC or KGO, or just used by KGO, I think that having a centralized place where our APIs live is a good approach, rather than having them scattered across multiple repositories. Does it make sense to you? |
One additional point to the discussion is there we will inevitably split the konnect CRDs between k8s-conf and kgo if we choose the approach of putting the |
I was almost going to nod on this but then I realized that with the approach proposed by @czeslavo in the design doc (https://docs.google.com/document/d/1TxW2ovqPRm-w1td1e_V0CyaET4lpiEBCJ7hiYMZJqng/edit?disco=AAABS5JK2YM) we could drop the idea of having the Would you agree @mlavacca? I guess at this point, it's a matter of where we'd prefer this CRDs to live. Let's discuss this on today's epic review. |
After a discussion with @mlavacca and @czeslavo we've decided that it will be better to place all new Konnect related types and CRDs into https://github.com/Kong/kubernetes-configuration. With this, Kong/kubernetes-configuration#12 supersedes this PR. |
What this PR does / why we need it:
api/v1beta1
andapi/v1alpha1
underapi/gateway-operator/
api/konnect
withv1alpha1
placeholderWhich issue this PR fixes
Part of #442
Special notes for your reviewer:
This is a breaking change in the Go API but not in YAML manifests as API group name does not change.
We do not treat the Go API currently as part of the user contract so we do not label this change as breaking.
PR Readiness Checklist:
Complete these before marking the PR as
ready to review
:CHANGELOG.md
release notes have been updated to reflect significant changes