Skip to content

Commit e4a9779

Browse files
committed
doc/sdk-cli-reference.md: add --write-config to and modify --csv-config in 'olm-catalog gen-csv'
1 parent 61d780c commit e4a9779

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/sdk-cli-reference.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@ pkg/apis/app/v1alpha1/
180180

181181
Parent command for all OLM Catalog related commands.
182182

183+
#### Flags
184+
185+
* `--write-csv-config` string or empty - Write a default CSV config file. A default path is used if no value is provided. Set --write-csv-config=<path> to supply a non-default path
186+
183187
### gen-csv
184188

185189
Writes a Cluster Service Version (CSV) manifest and optionally CRD files to `deploy/olm-catalog/{operator-name}/{csv-version}`.
@@ -188,7 +192,8 @@ Writes a Cluster Service Version (CSV) manifest and optionally CRD files to `dep
188192

189193
* `--csv-version` string - (required) Semantic version of the CSV manifest.
190194
* `--from-version` string - Semantic version of CSV manifest to use as a base for a new version.
191-
* `--csv-config` string - Path to CSV config file. Defaults to deploy/olm-catalog/csv-config.yaml.
195+
* `--csv-config` string - Path to CSV config file. If unset, default file paths are used
196+
* `--write-csv-config` string or empty - Write a default CSV config file. A default path is used if no value is provided. Set --write-csv-config=<path> to supply a non-default path
192197
* `--update-crds` Update CRD manifests in deploy/{operator-name}/{csv-version} using the latest CRD manifests.
193198

194199
#### Example

0 commit comments

Comments
 (0)