DS: added unversioned type apps.DaemonSet and validation
This commit is contained in:
@@ -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{},
|
||||||
|
|||||||
Reference in New Issue
Block a user