Skip to content

Commit ca9e4bf

Browse files
Merge pull request #47286 from snarayan-redhat/BZ2097051_credrequest_directory
BZ#2097051: Add info regarding credrequest directory
2 parents ade9c43 + cdc7c69 commit ca9e4bf

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

modules/cco-ccoctl-creating-at-once.adoc

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,26 +66,31 @@ ifdef::aws-sts[]
6666
$ oc adm release extract \
6767
--credentials-requests \
6868
--cloud=aws \
69-
--to=<path_to_directory_with_list_of_credentials_requests>/credrequests quay.io/<path_to>/ocp-release:<version>
69+
--to=<path_to_directory_with_list_of_credentials_requests>/credrequests \ <1>
70+
--quay.io/<path_to>/ocp-release:<version>
7071
----
7172
endif::aws-sts[]
7273
ifdef::google-cloud-platform[]
7374
----
7475
$ oc adm release extract \
7576
--credentials-requests \
7677
--cloud=gcp \
77-
--to=<path_to_directory_with_list_of_credentials_requests>/credrequests quay.io/<path_to>/ocp-release:<version>
78+
--to=<path_to_directory_with_list_of_credentials_requests>/credrequests \ <1>
79+
--quay.io/<path_to>/ocp-release:<version>
7880
----
7981
endif::google-cloud-platform[]
8082
ifdef::alibabacloud-default,alibabacloud-customizations[]
8183
----
8284
$ oc adm release extract \
8385
--credentials-requests \
8486
--cloud=alibabacloud \
85-
--to=<path_to_directory_with_list_of_credentials_requests>/credrequests quay.io/<path_to>/ocp-release:<version>
87+
--to=<path_to_directory_with_list_of_credentials_requests>/credrequests \ <1>
88+
--quay.io/<path_to>/ocp-release:<version>
8689
----
8790
endif::alibabacloud-default,alibabacloud-customizations[]
8891
+
92+
<1> `credrequests` is the directory where the list of `CredentialsRequest` objects is stored. This command creates the directory if it does not exist.
93+
+
8994
[NOTE]
9095
====
9196
This command can take a few moments to run.

modules/cco-ccoctl-creating-individually.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,11 @@ This command also creates a YAML configuration file in `/<path_to_ccoctl_output_
8787
----
8888
$ oc adm release extract --credentials-requests \
8989
--cloud=aws \
90-
--to=<path_to_directory_with_list_of_credentials_requests>/credrequests quay.io/<path_to>/ocp-release:<version>
90+
--to=<path_to_directory_with_list_of_credentials_requests>/credrequests <1>
91+
--quay.io/<path_to>/ocp-release:<version>
9192
----
93+
+
94+
<1> `credrequests` is the directory where the list of `CredentialsRequest` objects is stored. This command creates the directory if it does not exist.
9295

9396
.. Use the `ccoctl` tool to process all `CredentialsRequest` objects in the `credrequests` directory:
9497
+

modules/cco-ccoctl-upgrading.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,11 @@ endif::google-cloud-platform[]
5151
----
5252
$ oc adm release extract --credentials-requests \
5353
--cloud=aws \
54-
--to=<path_to_directory_with_list_of_credentials_requests>/credrequests quay.io/<path_to>/ocp-release:<version>
54+
--to=<path_to_directory_with_list_of_credentials_requests>/credrequests \ <1>
55+
--quay.io/<path_to>/ocp-release:<version>
5556
----
57+
+
58+
<1> `credrequests` is the directory where the list of `CredentialsRequest` objects is stored. This command creates the directory if it does not exist.
5659

5760
. For each `CredentialsRequest` CR in the release image, ensure that a namespace that matches the text in the `spec.secretRef.namespace` field exists in the cluster. This field is where the generated secrets that hold the credentials configuration are stored.
5861
+

0 commit comments

Comments
 (0)