mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-07 00:48:01 +01:00
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
~~~