Skip to content

Commit 417b13d

Browse files
bshaw7openshift-cherrypick-robot
authored andcommitted
n oc-mirror v2, the targetCatalogSourceTemplate example template for CatalogSource requires update
In oc-mirror v2, the targetCatalogSourceTemplate example template for CatalogSource requires update the API version and proper indentation . Current: ~~~ apiVersion: operators.coreos.com/v2alpha1 kind: CatalogSource metadata: name: discarded namespace: openshift-marketplace spec: image: discarded sourceType: grpc updateStrategy: registryPoll: interval: 30m0s ~~~ Expected: ~~~ apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource metadata: name: discarded namespace: openshift-marketplace spec: image: discarded sourceType: grpc updateStrategy: registryPoll: interval: 30m0s ~~~
1 parent 0955547 commit 417b13d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/oc-mirror-imageset-config-parameters-v2.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Example: `/tmp/catalog-source_template.yaml`
164164
Example of a template file:
165165
[source,yaml]
166166
----
167-
apiVersion: operators.coreos.com/v2alpha1
167+
apiVersion: operators.coreos.com/v1alpha1
168168
kind: CatalogSource
169169
metadata:
170170
name: discarded
@@ -173,8 +173,8 @@ spec:
173173
image: discarded
174174
sourceType: grpc
175175
updateStrategy:
176-
registryPoll:
177-
interval: 30m0s
176+
registryPoll:
177+
interval: 30m0s
178178
----
179179

180180
|`mirror.operators.targetTag`
@@ -447,4 +447,4 @@ The default is `ocp`
447447
|Boolean
448448
The default value is `false`
449449

450-
|===
450+
|===

0 commit comments

Comments
 (0)