Skip to content

Commit b7c346b

Browse files
committedMar 31, 2020
fix the validate command in the docs
Signed-off-by: dongwenjuan <[email protected]>
1 parent 1186793 commit b7c346b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/design/operator-bundle.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Flags:
239239

240240
The command for `validate` task is:
241241
```bash
242-
$ ./opm alpha bundle build --tag quay.io/coreos/test-operator.v0.1.0:latest --image-builder docker
242+
$ ./opm alpha bundle validate --tag quay.io/coreos/test-operator.v0.1.0:latest --image-builder docker
243243
```
244244

245245
The `validate` command will first extract the contents of the bundle image into a temporary directory after it pulls the image from its image registry. Then, it will validate the format of bundle image to ensure manifests and metadata are located in their appropriate directories (`/manifests/` for bundle manifests files such as CSV and `/metadata/` for metadata files such as `annotations.yaml`). Also, it will validate the information in `annotations.yaml` to confirm that metadata is matching the provided data. For example, the provided media type in annotations.yaml just matches the actual media type is provided in the bundle image.

0 commit comments

Comments
 (0)