Skip to content

Commit

Permalink
cleanup help text and update README
Browse files Browse the repository at this point in the history
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
  • Loading branch information
dims committed Dec 22, 2023
1 parent 2cbc923 commit 6f55d28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ go install github.com/dims/hydrophone@latest
$ bin/hydrophone --help
Usage of bin/hydrophone:
-busybox-image string
image let's you select an alternate busybox container image. (default "registry.k8s.io/e2e-test-images/busybox:1.36.1-1")
specify an alternate busybox container image. (default "registry.k8s.io/e2e-test-images/busybox:1.36.1-1")
-conformance
run conformance tests.
-conformance-image string
image let's you select your conformance container image of your choice. (default "registry.k8s.io/conformance:v1.28.0")
specify a conformance container image of your choice. (default "registry.k8s.io/conformance:v1.28.0")
-focus string
focus runs a specific e2e test. e.g. - sig-auth. allows regular expressions.
-kubeconfig string
Expand All @@ -49,7 +49,7 @@ Ensure there is a `KUBECONFIG` environment variable specified or `$HOME/.kube/co

To run conformance tests use:
```
bin/hydrophone --focus '[Conformance]'
bin/hydrophone --conformance
```

To run a specific test use:
Expand Down
4 changes: 2 additions & 2 deletions pkg/common/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ func InitArgs() (*ArgConfig, error) {
flag.StringVar(&cfg.Focus, "focus", "", "focus runs a specific e2e test. e.g. - sig-auth. allows regular expressions.")
flag.StringVar(&cfg.Skip, "skip", "", "skip specific tests. allows regular expressions.")
flag.StringVar(&cfg.ConformanceImage, "conformance-image", containerImage,
"image let's you select your conformance container image of your choice.")
"specify a conformance container image of your choice.")
flag.StringVar(&cfg.BusyboxImage, "busybox-image", busyboxImage,
"image let's you select an alternate busybox container image.")
"specify an alternate busybox container image.")
flag.StringVar(&cfg.Kubeconfig, "kubeconfig", "", "path to the kubeconfig file.")
flag.IntVar(&cfg.Parallel, "parallel", 1, "number of parallel threads in test framework.")
flag.IntVar(&cfg.Verbosity, "verbosity", 4, "verbosity of test framework.")
Expand Down

0 comments on commit 6f55d28

Please sign in to comment.