From 4f65b5d2dacc8220d022366034256ad1098aa37a Mon Sep 17 00:00:00 2001 From: Alena Prokharchyk Date: Mon, 22 Jul 2019 11:34:00 -0700 Subject: [PATCH] Ingress name type to hostname --- apis/project.cattle.io/v3/schema/schema.go | 1 + 1 file changed, 1 insertion(+) diff --git a/apis/project.cattle.io/v3/schema/schema.go b/apis/project.cattle.io/v3/schema/schema.go index f58fecad..056d2649 100644 --- a/apis/project.cattle.io/v3/schema/schema.go +++ b/apis/project.cattle.io/v3/schema/schema.go @@ -700,6 +700,7 @@ func ingressTypes(schemas *types.Schemas) *types.Schemas { }{}). MustImportAndCustomize(&Version, v1beta1.Ingress{}, func(schema *types.Schema) { schema.MustCustomizeField("name", func(f types.Field) types.Field { + f.Type = "hostname" f.Required = true f.Nullable = false return f