mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
prevent restmapper lookup for kubectl reconcile
This commit is contained in:
parent
567418f377
commit
d3e702fa99
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user