Skip to content

Commit d149430

Browse files
committed
doc/sdk-cli-reference.md: update with olm-catalog commands
1 parent 6f4baf7 commit d149430

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

doc/sdk-cli-reference.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ operator-sdk completion bash
9090

9191
## generate
9292

93-
### k8s
93+
### k8s
9494

9595
Runs the Kubernetes [code-generators][k8s-code-generator] for all Custom Resource Definitions (CRD) apis under `pkg/apis/...`.
9696
Currently only runs `deepcopy-gen` to generate the required `DeepCopy()` functions for all custom resource types.
@@ -118,6 +118,25 @@ pkg/apis/app/v1alpha1/
118118
└── zz_generated.deepcopy.go
119119
```
120120

121+
## olm-catalog
122+
123+
Parent command for all OLM Catalog-related commands.
124+
125+
### gen-csv
126+
127+
Generates a Cluster Service Version manifest file in `deploy/olm-catalog`.
128+
129+
#### Flags
130+
131+
* `--csv-version` (required) operator semantic version with which to create the CSV file.
132+
133+
#### Example
134+
135+
```bash
136+
$ operator-sdk olm-catalog gen-csv --csv-version 0.1.1
137+
Generating CSV manifest version 0.1.1
138+
```
139+
121140
## new
122141

123142
Scaffolds a new operator project.

0 commit comments

Comments
 (0)