Use apiextension v1
- upgrade from apiextension v1beta1 to v1 - generate yaml manifest for crd intead of applying it at runtime - users will have to apply the manifest with kubectl - kg and kgctl log an error if the crd is not present - now validation should actually work Signed-off-by: leonnicolas <leonloechner@gmx.de>
This commit is contained in:
@@ -16,5 +16,5 @@ package kilo
|
||||
|
||||
const (
|
||||
// GroupName contains the API group name for Kilo API group.
|
||||
GroupName = "kilo"
|
||||
GroupName = "kilo.squat.ai"
|
||||
)
|
||||
|
@@ -15,5 +15,5 @@
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
|
||||
// Package v1alpha1 is the v1alpha1 version of the API.
|
||||
// +groupName=kilo
|
||||
// +groupName=kilo.squat.ai
|
||||
package v1alpha1
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user