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

Updated verification steps of cluster resources to add new commands

This commit is contained in:
subhtk
2025-06-10 17:48:51 +05:30
committed by openshift-cherrypick-robot
parent ac8833e36b
commit d3eece11bc

View File

@@ -51,6 +51,13 @@ Additionally, a YAML file is available in the same directory `working-dir/cluste
----
$ oc get imagedigestmirrorset
----
+
To view only the resources created by `oc-mirror`, run the following command:
+
[source,terminal]
----
$ oc get imagedigestmirrorset -o jsonpath='{.items[?(@.metadata.annotations.createdBy=="oc-mirror v2")].metadata.name}'
----
. Verify that the `ImageTagMirrorSet` resources are successfully installed by running the following command:
+
@@ -58,6 +65,13 @@ $ oc get imagedigestmirrorset
----
$ oc get imagetagmirrorset
----
+
To view only the resources created by `oc-mirror`, run the following command:
+
[source,terminal]
----
$ oc get imagetagmirrorset -o jsonpath='{.items[?(@.metadata.annotations.createdBy=="oc-mirror v2")].metadata.name}'
----
. Verify that the `CatalogSource` resources are successfully installed by running the following command:
+
@@ -65,10 +79,24 @@ $ oc get imagetagmirrorset
----
$ oc get catalogsource -n openshift-marketplace
----
+
To view only the resources created by `oc-mirror`, run the following command:
+
[source,terminal]
----
$ oc get catalogsource -o jsonpath='{.items[?(@.metadata.annotations.createdBy=="oc-mirror v2")].metadata.name}'
----
. Verify that the `ClusterCatalog` resources are successfully installed by running the following command:
+
[source,terminal]
----
$ oc get clustercatalog
----
+
To view only the resources created by `oc-mirror`, run the following command:
+
[source,terminal]
----
$ oc get clustercatalog -o jsonpath='{.items[?(@.metadata.annotations.createdBy=="oc-mirror v2")].metadata.name}'
----