Change PowerShell example to use the -Raw flag (#17645)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
d6285eaac4
commit
62b6fe2280
@@ -74,7 +74,7 @@ Patch your Deployment:
|
|||||||
kubectl patch deployment patch-demo --patch "$(cat patch-file.yaml)"
|
kubectl patch deployment patch-demo --patch "$(cat patch-file.yaml)"
|
||||||
{{< /tab >}}
|
{{< /tab >}}
|
||||||
{{< tab name="PowerShell" codelang="posh" >}}
|
{{< 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 >}}}
|
{{< /tab >}}}
|
||||||
{{< /tabs >}}
|
{{< /tabs >}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user