diff --git a/pkg/apis/frontendconfig/v1beta1/types.go b/pkg/apis/frontendconfig/v1beta1/types.go index 9901983e10..bdaafc2fe3 100644 --- a/pkg/apis/frontendconfig/v1beta1/types.go +++ b/pkg/apis/frontendconfig/v1beta1/types.go @@ -28,8 +28,8 @@ import ( type FrontendConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - Spec FrontendConfigSpec `json:"spec"` - Status FrontendConfigStatus `json:"status"` + Spec FrontendConfigSpec `json:"spec,omitempty"` + Status FrontendConfigStatus `json:"status,omitempty"` } // FrontendConfigSpec is the spec for a FrontendConfig resource diff --git a/pkg/apis/frontendconfig/v1beta1/zz_generated.openapi.go b/pkg/apis/frontendconfig/v1beta1/zz_generated.openapi.go index c42b8a08f8..27ebcc44f5 100644 --- a/pkg/apis/frontendconfig/v1beta1/zz_generated.openapi.go +++ b/pkg/apis/frontendconfig/v1beta1/zz_generated.openapi.go @@ -70,7 +70,6 @@ func schema_pkg_apis_frontendconfig_v1beta1_FrontendConfig(ref common.ReferenceC }, }, }, - Required: []string{"spec", "status"}, }, }, Dependencies: []string{