diff --git a/deploy/README.md b/deploy/README.md index 1f522d5029..013d923116 100644 --- a/deploy/README.md +++ b/deploy/README.md @@ -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 ```