mirror of
https://github.com/rancher/types.git
synced 2025-09-18 16:10:58 +00:00
Ingress name type to hostname
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user