Commit af32aeeb authored by foxish's avatar foxish Committed by Anirudh

DS: added unversioned type apps.DaemonSet and validation

parent e3a22d8f
...@@ -47,6 +47,8 @@ func Resource(resource string) schema.GroupResource { ...@@ -47,6 +47,8 @@ func Resource(resource string) schema.GroupResource {
func addKnownTypes(scheme *runtime.Scheme) error { func addKnownTypes(scheme *runtime.Scheme) error {
// TODO this will get cleaned up with the scheme types are fixed // TODO this will get cleaned up with the scheme types are fixed
scheme.AddKnownTypes(SchemeGroupVersion, scheme.AddKnownTypes(SchemeGroupVersion,
&extensions.DaemonSet{},
&extensions.DaemonSetList{},
&extensions.Deployment{}, &extensions.Deployment{},
&extensions.DeploymentList{}, &extensions.DeploymentList{},
&extensions.DeploymentRollback{}, &extensions.DeploymentRollback{},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment