kubeshop/testkube

Documentation on running tests uses an invalid flag in the example

dejanzele opened this issue · 1 comments

Describe the bug
In the Passing Parameters section of the Running tests page it is mentioned that parameters can be passed using -p.

Example:

kubectl testkube run test kubeshop-cypress -p testparam=testvalue -f --secret secret-name=secret-key

But when this command is executed, it errors with unknown shorthand flag: 'p' in -p

To Reproduce
Steps to reproduce the behavior:

  1. Try to run any test with -p parameter and it will fail with the same error

Expected behavior
Test is run with the provided parameter(s).

Version / Cluster

  • Which testkube version? Any
  • What Kubernetes cluster? (e.g. GKE, EKS, Openshift etc, local KinD, local Minikube) Any
  • What Kubernetes version? Any

Additional context
This was reported by users on Discord here

FYI, This may relate in one way or another to #787 which was also recently discussed in this Discord thread.