1
0
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:
Alena Prokharchyk 2018-02-12 21:27:51 -08:00
parent 700826b4d9
commit f3834e14e9

View File

@ -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 {