Change PowerShell example to use the -Raw flag (#17645)

This commit is contained in:
Luzhenxing 2019-12-01 22:03:03 +08:00 committed by Kubernetes Prow Robot
parent d6285eaac4
commit 62b6fe2280
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ Patch your Deployment:
kubectl patch deployment patch-demo --patch "$(cat patch-file.yaml)"
{{< /tab >}}
{{< tab name="PowerShell" codelang="posh" >}}
kubectl patch deployment patch-demo --patch $(cat patch-file.yaml)
kubectl patch deployment patch-demo --patch $(Get-Content patch-file.yaml -Raw)
{{< /tab >}}}
{{< /tabs >}}