diff --git a/apis/project.cattle.io/v3/schema/schema.go b/apis/project.cattle.io/v3/schema/schema.go index a5c33730..0eb7bce4 100644 --- a/apis/project.cattle.io/v3/schema/schema.go +++ b/apis/project.cattle.io/v3/schema/schema.go @@ -601,6 +601,7 @@ func ingressTypes(schemas *types.Schemas) *types.Schemas { AddMapperForType(&Version, v1beta1.Ingress{}, &m.AnnotationField{Field: "description"}, &m.Move{From: "backend", To: "defaultBackend"}, + &m.AnnotationField{Field: "publicEndpoints", List: true}, ). AddMapperForType(&Version, v1beta1.IngressTLS{}, &m.Move{From: "secretName", To: "certificateName"}, @@ -622,7 +623,8 @@ func ingressTypes(schemas *types.Schemas) *types.Schemas { SecretName string `norman:"type=reference[certificate]"` }{}). MustImport(&Version, v1beta1.Ingress{}, projectOverride{}, struct { - Description string `json:"description"` + Description string `json:"description"` + PublicEndpoints string `json:"publicEndpoints" norman:"type=array[publicEndpoint],nocreate,noupdate"` }{}) } diff --git a/client/project/v3/zz_generated_ingress.go b/client/project/v3/zz_generated_ingress.go index 9afc064d..614edc35 100644 --- a/client/project/v3/zz_generated_ingress.go +++ b/client/project/v3/zz_generated_ingress.go @@ -16,6 +16,7 @@ const ( IngressFieldNamespaceId = "namespaceId" IngressFieldOwnerReferences = "ownerReferences" IngressFieldProjectID = "projectId" + IngressFieldPublicEndpoints = "publicEndpoints" IngressFieldRemoved = "removed" IngressFieldRules = "rules" IngressFieldState = "state" @@ -38,6 +39,7 @@ type Ingress struct { NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"` + PublicEndpoints []PublicEndpoint `json:"publicEndpoints,omitempty" yaml:"publicEndpoints,omitempty"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` Rules []IngressRule `json:"rules,omitempty" yaml:"rules,omitempty"` State string `json:"state,omitempty" yaml:"state,omitempty"`