Skip to content

Commit 2712bbf

Browse files
sslocketopenshift-cherrypick-robot
authored andcommitted
OCPBUGS-52463 Add note on viewing additional ccoctl options + optional param for specifying VNET RG
1 parent 0bce792 commit 2712bbf

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,8 @@ $ ccoctl azure create-all \
253253
--subscription-id=<azure_subscription_id> \// <4>
254254
--credentials-requests-dir=<path_to_credentials_requests_directory> \// <5>
255255
--dnszone-resource-group-name=<azure_dns_zone_resource_group_name> \// <6>
256-
--tenant-id=<azure_tenant_id> <7>
256+
--tenant-id=<azure_tenant_id> \// <7>
257+
--network-resource-group-name <azure_resource_group> <8>
257258
----
258259
<1> Specify the user-defined name for all created Azure resources used for tracking.
259260
<2> Optional: Specify the directory in which you want the `ccoctl` utility to create objects. By default, the utility creates objects in the directory in which the commands are run.
@@ -262,6 +263,7 @@ $ ccoctl azure create-all \
262263
<5> Specify the directory containing the files for the component `CredentialsRequest` objects.
263264
<6> Specify the name of the resource group containing the cluster's base domain Azure DNS zone.
264265
<7> Specify the Azure tenant ID to use.
266+
<8> Optional: Specify the virtual network resource group if it is different from the cluster resource group.
265267
+
266268
[NOTE]
267269
====

modules/enabling-entra-workload-id-existing-cluster.adoc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,11 @@ $ AZURE_INSTALL_RG=`oc get infrastructure cluster -o jsonpath --template '{ .sta
171171

172172
. Use the `ccoctl` utility to create managed identities for all `CredentialsRequest` objects by running the following command:
173173
+
174+
[NOTE]
175+
====
176+
The following command does not show all available options. For a complete list of options, including those that might be necessary for your specific use case, run `$ ccoctl azure create-managed-identities --help`.
177+
====
178+
+
174179
[source,terminal]
175180
----
176181
$ ccoctl azure create-managed-identities \
@@ -181,9 +186,11 @@ $ ccoctl azure create-managed-identities \
181186
--credentials-requests-dir <path_to_directory_for_credentials_requests> \
182187
--issuer-url "${OIDC_ISSUER_URL}" \
183188
--dnszone-resource-group-name <azure_dns_zone_resourcegroup_name> \// <1>
184-
--installation-resource-group-name "${AZURE_INSTALL_RG}"
189+
--installation-resource-group-name "${AZURE_INSTALL_RG}" \
190+
--network-resource-group-name <azure_resource_group> <2>
185191
----
186192
<1> Specify the name of the resource group that contains the DNS zone.
193+
<2> Optional: Specify the virtual network resource group if it is different from the cluster resource group.
187194

188195
. Apply the {azure-short} pod identity webhook configuration for {entra-short} by running the following command:
189196
+

0 commit comments

Comments
 (0)