mirror of
https://github.com/rancher/types.git
synced 2025-08-28 08:40:31 +00:00
Missing base schema type (workload) to statefulSet
This commit is contained in:
parent
eab18ee4b9
commit
a2eaaf2144
@ -154,7 +154,9 @@ func statefulSetTypes(schemas *types.Schemas) *types.Schemas {
|
||||
NewWorkloadTypeMapper(),
|
||||
).
|
||||
MustImport(&Version, v1beta2.StatefulSetSpec{}, statefulSetConfigOverride{}).
|
||||
MustImport(&Version, v1beta2.StatefulSet{}, projectOverride{})
|
||||
MustImportAndCustomize(&Version, v1beta2.StatefulSet{}, func(schema *types.Schema) {
|
||||
schema.BaseType = "workload"
|
||||
}, projectOverride{})
|
||||
}
|
||||
|
||||
func replicaSetTypes(schemas *types.Schemas) *types.Schemas {
|
||||
|
Loading…
Reference in New Issue
Block a user