1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00

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
~~~
This commit is contained in:
bshaw
2024-11-22 10:33:24 +05:30
committed by openshift-cherrypick-robot
parent 0955547e4c
commit 417b13db96

View File

@@ -164,7 +164,7 @@ Example: `/tmp/catalog-source_template.yaml`
Example of a template file:
[source,yaml]
----
apiVersion: operators.coreos.com/v2alpha1
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: discarded
@@ -173,8 +173,8 @@ spec:
image: discarded
sourceType: grpc
updateStrategy:
registryPoll:
interval: 30m0s
registryPoll:
interval: 30m0s
----
|`mirror.operators.targetTag`
@@ -447,4 +447,4 @@ The default is `ocp`
|Boolean
The default value is `false`
|===
|===