Skip to content

Commit

Permalink
Fix command used to detect version
Browse files Browse the repository at this point in the history
Without this fix error "Error: unknown flag: --version" occurs.
  • Loading branch information
kostyrev authored Nov 17, 2017
1 parent e4c8488 commit 58c8bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,5 +245,5 @@ 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})
kubectl exec -it $POD_NAME -n $POD_NAMESPACE /nginx-ingress-controller --version
kubectl exec -it $POD_NAME -n $POD_NAMESPACE -- /nginx-ingress-controller --version
```

0 comments on commit 58c8bfd

Please sign in to comment.