Skip to content
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(crd): add KongTarget CRD #67

Merged
merged 2 commits into from
Sep 12, 2024
Merged

feat(crd): add KongTarget CRD #67

merged 2 commits into from
Sep 12, 2024

Conversation

randmonkey
Copy link
Contributor

What this PR does / why we need it:
Add KongTarget CRD for Konnect entities. Also fixed some copy-pasta mistakes.

Which issue this PR fixes

Required for Kong/gateway-operator#576.

Special notes for your reviewer:
Since targets are always attached to an upstream, here upstreamRef is required. Should we define it as required (for possibility that a KongTarget is attached to another upstream that is not generated from KongUpstream?)

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect significant changes

@randmonkey randmonkey requested a review from a team as a code owner September 12, 2024 07:58
Copy link
Member

@pmalek pmalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

api/configuration/v1alpha1/kongupstream_types.go Outdated Show resolved Hide resolved
api/configuration/v1alpha1/kong_target_types.go Outdated Show resolved Hide resolved
@pmalek pmalek added this to the KGO 1.4 milestone Sep 12, 2024
@randmonkey
Copy link
Contributor Author

@pmalek pmalek merged commit 517acec into main Sep 12, 2024
6 checks passed
@pmalek pmalek deleted the feat/kongtarget branch September 12, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants