From 16be446860f18433b29264834df285bf2b0cb50f Mon Sep 17 00:00:00 2001 From: vincent-pli Date: Tue, 26 Apr 2022 15:10:13 +0800 Subject: [PATCH] correct opm usage when generate annotations.yaml and Dockerfile Signed-off-by: Per Goncalves da Silva --- content/en/docs/Tasks/creating-operator-bundle.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/Tasks/creating-operator-bundle.md b/content/en/docs/Tasks/creating-operator-bundle.md index d0119bb9..107c1c14 100644 --- a/content/en/docs/Tasks/creating-operator-bundle.md +++ b/content/en/docs/Tasks/creating-operator-bundle.md @@ -49,7 +49,7 @@ Flags: For example, to generate the `annotations.yaml` and `Dockerfile` for the example bundle mentioned above, the command for the `generate` task is: ```bash -$ opm alpha bundle generate --directory /etcd --package etcd --channels stable --default stable +$ opm alpha bundle generate --directory ./etcd --package etcd --channels stable --default stable ``` After the generate command is executed, the `Dockerfile` is generated in the directory where command is run. By default, the `annotations.yaml` file is located in a folder named `metadata` in the same root directory as the input directory containing manifests.