File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ operator-sdk completion bash
90
90
91
91
## generate
92
92
93
- ### k8s
93
+ ### k8s
94
94
95
95
Runs the Kubernetes [ code-generators] [ k8s-code-generator ] for all Custom Resource Definitions (CRD) apis under ` pkg/apis/... ` .
96
96
Currently only runs ` deepcopy-gen ` to generate the required ` DeepCopy() ` functions for all custom resource types.
@@ -118,6 +118,25 @@ pkg/apis/app/v1alpha1/
118
118
└── zz_generated.deepcopy.go
119
119
```
120
120
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
+
121
140
## new
122
141
123
142
Scaffolds a new operator project.
You can’t perform that action at this time.
0 commit comments