Skip to content

Commit 5de13bd

Browse files
authored
Need to mention -n openshift-marketplace while verifying CatalogSource resources were successfully installed
While Configuring [A] OCP cluster to use the resources generated by oc-mirror we apply below commands: ~~~ $ oc apply -f ./oc-mirror-workspace/results-1639608409/ ~~~ And to verify that the CatalogSource resources were successfully installed or not we don't need to mention --all-namespace instead we can mention -n openshift-marketplace because ~~~ $ oc get catalogsource --all-namespaces ~~~ In results-1639608409 catalogsource always point to namespace openshift-marketplace ~~~ $ cat oc-mirror-workspace/results-1639608409/*operator-index.yaml | grep namespace namespace: openshift-marketplace ~~~ A. https://docs.openshift.com/container-platform/4.11/installing/disconnected_install/installing-mirroring-disconnected.html#oc-mirror-updating-cluster-manifests_installing-mirroring-disconnected
1 parent 931622e commit 5de13bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/oc-mirror-updating-cluster-manifests.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ $ oc get imagecontentsourcepolicy
5454
+
5555
[source,terminal]
5656
----
57-
$ oc get catalogsource --all-namespaces
57+
$ oc get catalogsource -n openshift-marketplace
5858
----

0 commit comments

Comments
 (0)