Skip to content

Commit

Permalink
update cli doc
Browse files Browse the repository at this point in the history
Signed-off-by: jesus m. rodriguez <jesusr@redhat.com>
  • Loading branch information
jmrodri committed Jan 31, 2022
1 parent d69871e commit 872c49e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion website/content/en/docs/cli/operator-sdk_bundle_validate.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,18 @@ To validate a bundle against the validator for Good Practices specifically, in a
To validate a bundle against the (alpha) validator for Deprecated APIs specifically, in addition to required bundle validators:
$ operator-sdk bundle validate ./bundle --select-optional name=alpha-deprecated-apis --optional-values=k8s-version=1.22
$ operator-sdk bundle validate ./bundle --select-optional name=alpha-deprecated-apis --optional-values=k8s-version=1.22
To validate a bundle against an external validator, in addition to required bundle validators:
$ operator-sdk bundle validate ./bundle --alpha-select-external /path/to/external-validator[:/path/to/optional-second-validator]
```

### Options

```
--alpha-select-external string Selector to select external validators to run. It should be set to a Unix path list ("/path/to/e1.sh:/path/to/e2")
-h, --help help for validate
-b, --image-builder string Tool to pull and unpack bundle images. Only used when validating a bundle image. One of: [docker, podman, none] (default "docker")
--list-optional List all optional validators available. When set, no validators will be run
Expand Down

0 comments on commit 872c49e

Please sign in to comment.