Contribute core/v1
and apps/v1
CRDs for all useful resources
#4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contributes CRDs for useful legacy scheme resources (
Pod
s,Deployment
s) to be added in the KCP control plane.This is mainly to be able to start using KCP with meaningful resources, even before having implemented:
These CRDs have been generated from the related Kube APIs through the
kubebuilder
controller-gen
tool.However, before the generation, the types had to be fixed in order to:
kubebuilder
annotation such asgroupName
, sub-resource-related annotations, ...listType
andlistMapKeys
annotations whereverpatchStrategy
andpatchergeKey
was used, in order not to loose this precious information, sincepatchStrategy
andpatchMergeKey
vendor extensions do not exist in CRD OpenAPI schema.