Patch PowerShell example does not work on Windows #17630
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
sig/windows
Categorizes an issue or PR as relevant to SIG Windows.
This is a Bug Report
kubectl PowerShell example does not work in Windows.
cat
is an alias for Get-Content, which by default parses a file line-by-line.Proposed Solution:
Change PowerShell example to use the -Raw flag in Get-Content cmdlet (and change
cat
toGet-Content
to avoid ambiguity between the WindowsGet-Command
alias and Unixcat
command).Page to Update:
https://kubernetes.io/docs/tasks/run-application/update-api-object-kubectl-patch/
The text was updated successfully, but these errors were encountered: