prevent restmapper lookup for kubectl reconcile

This commit is contained in:
David Eads 2021-05-07 11:53:37 -04:00
parent 567418f377
commit d3e702fa99

View File

@ -138,6 +138,7 @@ func (o *ReconcileOptions) Complete(cmd *cobra.Command, f cmdutil.Factory, args
NamespaceParam(namespace).DefaultNamespace().
FilenameParam(enforceNamespace, o.FilenameOptions).
Flatten().
Local().
Do()
if err := r.Err(); err != nil {