diff --git a/workload/v1alpha1/nf_config_types.go b/workload/v1alpha1/nf_config_types.go index 9ea601727..a9b32653f 100644 --- a/workload/v1alpha1/nf_config_types.go +++ b/workload/v1alpha1/nf_config_types.go @@ -40,6 +40,8 @@ type NFConfigSpec struct { ConfigRefs []runtime.RawExtension `json:"configRefs,omitempty" yaml:"configRefs,omitempty"` } +//+kubebuilder:object:root=true + // NFConfigList contains a list of ref.Config type NFConfigList struct { metav1.TypeMeta `json:",inline"` diff --git a/workload/v1alpha1/zz_generated.deepcopy.go b/workload/v1alpha1/zz_generated.deepcopy.go index 5f2f4250b..ffff69647 100755 --- a/workload/v1alpha1/zz_generated.deepcopy.go +++ b/workload/v1alpha1/zz_generated.deepcopy.go @@ -214,6 +214,14 @@ func (in *NFConfigList) DeepCopy() *NFConfigList { return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NFConfigList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NFConfigSpec) DeepCopyInto(out *NFConfigSpec) { *out = *in