DS: added unversioned type apps.DaemonSet and validation

This commit is contained in:
foxish 2017-07-17 14:31:32 -07:00 committed by Anirudh
parent e3a22d8f9e
commit af32aeebd0

View File

@ -47,6 +47,8 @@ func Resource(resource string) schema.GroupResource {
func addKnownTypes(scheme *runtime.Scheme) error {
// TODO this will get cleaned up with the scheme types are fixed
scheme.AddKnownTypes(SchemeGroupVersion,
&extensions.DaemonSet{},
&extensions.DaemonSetList{},
&extensions.Deployment{},
&extensions.DeploymentList{},
&extensions.DeploymentRollback{},