Skip to content

Commit

Permalink
Merge pull request #2998 from dmitrijsf/install-doc-typos
Browse files Browse the repository at this point in the history
fixed jsonpath command in examples
  • Loading branch information
k8s-ci-robot authored Aug 28, 2018
2 parents 5e584ab + cbdd12f commit 22cb033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/deploy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ To detect which version of the ingress controller is running, exec into the pod

```console
POD_NAMESPACE=ingress-nginx
POD_NAME=$(kubectl get pods -n $POD_NAMESPACE -l app=ingress-nginx -o jsonpath={.items[0].metadata.name})
POD_NAME=$(kubectl get pods -n $POD_NAMESPACE -l app=ingress-nginx -o jsonpath='{.items[0].metadata.name}')
kubectl exec -it $POD_NAME -n $POD_NAMESPACE -- /nginx-ingress-controller --version
```

Expand All @@ -172,7 +172,7 @@ helm install stable/nginx-ingress --name my-nginx --set rbac.create=true
Detect installed version:

```console
POD_NAME=$(kubectl get pods -l app=nginx-ingress -o jsonpath={.items[0].metadata.name})
POD_NAME=$(kubectl get pods -l app=nginx-ingress -o jsonpath='{.items[0].metadata.name}')
kubectl exec -it $POD_NAME -- /nginx-ingress-controller --version
```

0 comments on commit 22cb033

Please sign in to comment.