Remove extra '$' char from 'kubectl patch' example (#8626)

pull/8635/head
James Wen 2018-05-18 19:35:53 -04:00 committed by k8s-ci-robot
parent df77bb6800
commit 396858644e
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ The following commands are equivalent:
```shell
kubectl patch deployment patch-demo --patch "$(cat patch-file.yaml)"
kubectl patch deployment patch-demo --patch $'spec:\n template:\n spec:\n containers:\n - name: patch-demo-ctr-2\n image: redis'
kubectl patch deployment patch-demo --patch 'spec:\n template:\n spec:\n containers:\n - name: patch-demo-ctr-2\n image: redis'
kubectl patch deployment patch-demo --patch "$(cat patch-file.json)"
kubectl patch deployment patch-demo --patch '{"spec": {"template": {"spec": {"containers": [{"name": "patch-demo-ctr-2","image": "redis"}]}}}}'