mirror of
https://github.com/rancher/types.git
synced 2025-09-18 07:52:41 +00:00
remove default for kubernetesVersion
we already have this under settings
This commit is contained in:
committed by
Alena Prokharchyk
parent
17be96c6b2
commit
acbf0812a3
@@ -151,12 +151,6 @@ func clusterTypes(schemas *types.Schemas) *types.Schemas {
|
||||
return field
|
||||
})
|
||||
}).
|
||||
MustImportAndCustomize(&Version, v3.RancherKubernetesEngineConfig{}, func(schema *types.Schema) {
|
||||
schema.MustCustomizeField("kubernetesVersion", func(field types.Field) types.Field {
|
||||
field.Default = v3.DefaultK8s
|
||||
return field
|
||||
})
|
||||
}).
|
||||
MustImportAndCustomize(&Version, v3.Cluster{}, func(schema *types.Schema) {
|
||||
schema.MustCustomizeField("name", func(field types.Field) types.Field {
|
||||
field.Type = "dnsLabel"
|
||||
|
Reference in New Issue
Block a user