diff --git a/config/crd/bases/config.katalyst.kubewharf.io_tmoconfigurations.yaml b/config/crd/bases/config.katalyst.kubewharf.io_transparentmemoryoffloadingconfigurations.yaml similarity index 99% rename from config/crd/bases/config.katalyst.kubewharf.io_tmoconfigurations.yaml rename to config/crd/bases/config.katalyst.kubewharf.io_transparentmemoryoffloadingconfigurations.yaml index f7d69c5..b4dab1b 100644 --- a/config/crd/bases/config.katalyst.kubewharf.io_tmoconfigurations.yaml +++ b/config/crd/bases/config.katalyst.kubewharf.io_transparentmemoryoffloadingconfigurations.yaml @@ -5,13 +5,13 @@ metadata: annotations: controller-gen.kubebuilder.io/version: v0.9.0 creationTimestamp: null - name: tmoconfigurations.config.katalyst.kubewharf.io + name: transparentmemoryoffloadingconfigurations.config.katalyst.kubewharf.io spec: group: config.katalyst.kubewharf.io names: kind: TransparentMemoryOffloadingConfiguration listKind: TransparentMemoryOffloadingConfigurationList - plural: tmoconfigurations + plural: transparentmemoryoffloadingconfigurations shortNames: - tmo singular: transparentmemoryoffloadingconfiguration diff --git a/pkg/apis/config/v1alpha1/register.go b/pkg/apis/config/v1alpha1/register.go index a578a74..9dad969 100644 --- a/pkg/apis/config/v1alpha1/register.go +++ b/pkg/apis/config/v1alpha1/register.go @@ -38,7 +38,7 @@ const ( ResourceNameCustomNodeConfigs = "customnodeconfigs" ResourceNameAdminQoSConfigurations = "adminqosconfigurations" ResourceNameAuthConfigurations = "authconfigurations" - ResourceNameTMOConfigurations = "tmoconfigurations" + ResourceNameTMOConfigurations = "transparentmemoryoffloadingconfigurations" ) // Resource takes an unqualified resource and returns a Group qualified GroupResource diff --git a/pkg/apis/config/v1alpha1/tmo.go b/pkg/apis/config/v1alpha1/tmo.go index d81f3d6..9a2498c 100644 --- a/pkg/apis/config/v1alpha1/tmo.go +++ b/pkg/apis/config/v1alpha1/tmo.go @@ -23,7 +23,7 @@ import ( // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object // +kubebuilder:object:root=true -// +kubebuilder:resource:path=tmoconfigurations,shortName=tmo +// +kubebuilder:resource:path=transparentmemoryoffloadingconfigurations,shortName=tmo // +kubebuilder:subresource:status // +kubebuilder:printcolumn:name="AGE",type=date,JSONPath=.metadata.creationTimestamp // +kubebuilder:printcolumn:name="SELECTOR",type=string,JSONPath=".spec.nodeLabelSelector"