Skip to content

Commit 33c4e8f

Browse files
Merge pull request #242 from dongwenjuan/master
fix the `validate` command in the docs
2 parents dd110eb + b7c346b commit 33c4e8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/design/operator-bundle.md

Lines changed: 1 addition & 1 deletion
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)