Moved all custom naming into one place
This commit is contained in:
@@ -6,12 +6,16 @@ import (
|
||||
"k8s.io/apimachinery/pkg/runtime/schema"
|
||||
)
|
||||
|
||||
const (
|
||||
Group = "monok8s.io"
|
||||
Version = "v1alpha1"
|
||||
)
|
||||
|
||||
var (
|
||||
Group = "monok8s.io"
|
||||
Version = "v1alpha1"
|
||||
MonoKSConfigCRD = "monoksconfigs.monok8s.io"
|
||||
OSUpgradeCRD = "osupgrades.monok8s.io"
|
||||
APIVersion = "monok8s.io/v1alpha1"
|
||||
Label = "monok8s.io/label"
|
||||
Annotation = "monok8s.io/annotation"
|
||||
ControlAgentKey = "monok8s.io/control-agent"
|
||||
|
||||
SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}
|
||||
SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
|
||||
AddToScheme = SchemeBuilder.AddToScheme
|
||||
|
||||
Reference in New Issue
Block a user