mirror of
https://github.com/rancher/types.git
synced 2025-06-26 21:51:33 +00:00
replica set to workload
This commit is contained in:
parent
700826b4d9
commit
f3834e14e9
@ -99,7 +99,7 @@ func workloadTypes(schemas *types.Schemas) *types.Schemas {
|
||||
return schemas.MustImportAndCustomize(&Version, v3.Workload{},
|
||||
func(schema *types.Schema) {
|
||||
toInclude := []string{"deployment", "replicationController", "statefulSet",
|
||||
"daemonSet", "job", "cronJob"}
|
||||
"daemonSet", "job", "cronJob", "replicaSet"}
|
||||
for _, name := range toInclude {
|
||||
baseSchema := schemas.Schema(&Version, name)
|
||||
if baseSchema == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user