Set ns to empty string after parsing resourceID
...to maintain backwards compatibility for partial resource IDs
(e.g. `deployment/foo`) without running into server side errors due
to supplying multiple filters (which the API does not support).
@@ -65,6 +65,7 @@ func (opts *controllerShowOpts) RunE(cmd *cobra.Command, args []string) error {
return err
}
imageOpts.Spec = update.MakeResourceSpec(id)
+ imageOpts.Namespace = ""
}
ctx := context.Background()
