-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(crd) migrate to Kubebuilder (#1971)
* Add dedicated types for KongIngress subsections Add new KongIngressUpstream, KongIngressService, and KongIngressRoute types for the KongIngress subsections, rather than using the go-kong types directly. These allow for kubebuilder validation without much annotation of go-kong types, and avoid unwanted fields (ID, name, etc.) that aren't actually exposed by KongIngress. * Enable all-Kubebuilder CRD generation CRD manifests are now entirely generated using stock Kubebuilder tools and type annotations. * Remove unnecessary meta fields from ConfigSource types The ConfigSource types used in KongPlugin/KongClusterPlugin were previously full Kubernetes objects, with associated metadata. These resources are not actually Kubernetes objects (they are never created independent of plugins) and should not have included this metadata. * Add upgrade test Add a new E2E test that performs an upgrade from the previous minor version's latest patch, and ensures that routes work as expected both before and after the upgrade.
- Loading branch information
Travis Raines
authored
Dec 15, 2021
1 parent
4ad6442
commit 9c2bc19
Showing
36 changed files
with
1,199 additions
and
597 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.