diff --git a/models_gen.go b/models_gen.go index e1dc836..915d6e8 100644 --- a/models_gen.go +++ b/models_gen.go @@ -2058,6 +2058,8 @@ type ManagedNamespace struct { ID string `json:"id"` // the name of this namespace once its placed on a cluster Name string `json:"name"` + // override the name of the kubernetes namespace if `name` is not usable + Namespace *string `json:"namespace,omitempty"` // A short description of the purpose of this namespace Description *string `json:"description,omitempty"` // labels for this namespace @@ -2083,8 +2085,10 @@ type ManagedNamespace struct { // Attributes for configuring a managed namespace type ManagedNamespaceAttributes struct { - // the name of this namespace once its placed on a cluster + // the name of this managed namespace (globally unique) Name string `json:"name"` + // the name of the namespace if `name` doesn't align + Namespace *string `json:"namespace,omitempty"` // A short description of the purpose of this namespace Description *string `json:"description,omitempty"` // labels for this namespace diff --git a/schema/schema.graphql b/schema/schema.graphql index 9aec678..e7bd994 100644 --- a/schema/schema.graphql +++ b/schema/schema.graphql @@ -1676,9 +1676,12 @@ input GlobalServiceAttributes { "Attributes for configuring a managed namespace" input ManagedNamespaceAttributes { - "the name of this namespace once its placed on a cluster" + "the name of this managed namespace (globally unique)" name: String! + "the name of the namespace if `name` doesn't align" + namespace: String + "A short description of the purpose of this namespace" description: String @@ -1798,6 +1801,9 @@ type ManagedNamespace { "the name of this namespace once its placed on a cluster" name: String! + "override the name of the kubernetes namespace if `name` is not usable" + namespace: String + "A short description of the purpose of this namespace" description: String