New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wire --filename flag to exec #88460
Wire --filename flag to exec #88460
Conversation
/sig cli |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: soltysh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
/retest Review the full test history for this PR. Silence the bot with an |
2 similar comments
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
fmt.Fprint(p.ErrOut, "kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl kubectl exec [POD] -- [COMMAND] instead.\n") | ||
p.Command = argsIn[1:] | ||
} else if len(argsIn) > 0 && len(p.FilenameOptions.Filenames) != 0 { | ||
fmt.Fprint(p.ErrOut, "kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl kubectl exec [POD] -- [COMMAND] instead.\n") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems kubectl is (unintentionally) repeated in the command description.
Wire --filename flag to exec Kubernetes-commit: 71cfd2a
What type of PR is this?
/kind feature
What this PR does / why we need it:
Expand
kubectl exec
with capability to specify--filename
when exec-ing into a pod.Special notes for your reviewer:
/assign @deads2k
since you requested this
Does this PR introduce a user-facing change?: