mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
24 lines
619 B
Plaintext
24 lines
619 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * operators/operator_sdk/osdk-generating-csvs.adoc
|
|
|
|
[id="osdk-generating-a-csv_{context}"]
|
|
= Generating a CSV
|
|
|
|
.Prerequisites
|
|
|
|
- An Operator project generated using the Operator SDK
|
|
|
|
.Procedure
|
|
|
|
. In your Operator project, configure your CSV composition by modifying the `deploy/olm-catalog/csv-config.yaml` file, if desired.
|
|
|
|
. Generate the CSV:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ operator-sdk generate csv --csv-version <version>
|
|
----
|
|
|
|
. In the new CSV generated in the `deploy/olm-catalog/` directory, ensure all required, manually-defined fields are set appropriately.
|