1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/modules/osdk-generating-a-csv.adoc

25 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.