1
0
mirror of https://github.com/rancher/types.git synced 2025-09-16 06:49:21 +00:00

Move projectId to annotation

This commit is contained in:
Darren Shepherd
2017-12-29 19:20:43 -07:00
parent 897a25a5f4
commit 3e60f9bdef

View File

@@ -51,7 +51,7 @@ func NamespaceTypes(version *types.APIVersion, schemas *types.Schemas) *types.Sc
&m.Drop{Field: "finalizers"},
).
AddMapperForType(version, v1.Namespace{},
&m.LabelField{Field: "projectId"},
&m.AnnotationField{Field: "projectId"},
&m.AnnotationField{Field: "externalId"},
&m.AnnotationField{Field: "templates", Object: true},
&m.AnnotationField{Field: "prune"},