fix federatednamespace resource scope

Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
hongming
2020-07-22 22:36:51 +08:00
parent 3525fc5507
commit c103f47abd
11 changed files with 84 additions and 32 deletions

View File

@@ -56,7 +56,6 @@ type ClusterOverride struct {
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +genclient:nonNamespaced
type FederatedNamespace struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
@@ -76,7 +75,6 @@ type NamespaceTemplate struct {
}
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +genclient:nonNamespaced
// FederatedNamespaceList contains a list of federatednamespacelists
type FederatedNamespaceList struct {