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

OSDOCS-4265: Updates some ROSA cli items for CloudFront

This commit is contained in:
Eric Ponvelle
2022-12-06 09:09:25 -05:00
parent a194b4ccfa
commit c9dc139544
5 changed files with 24 additions and 7 deletions

View File

@@ -70,11 +70,11 @@ State: ready
Private: No
Created: May 13 2022 11:26:15 UTC
Details Page: https://console.redhat.com/openshift/details/s/296kyEFwzoy1CREQicFRdZybrc0
OIDC Endpoint URL: https://rh-oidc.s3.us-east-1.amazonaws.com/1s5v4k39lhm8sm59m90mi0822o31844a <3>
OIDC Endpoint URL: https://oidc.op1.openshiftapps.com/<oidc_config_id> <3>
----
<1> Lists the cluster ID.
<2> Specifies the ARNs for the cluster-specific Operator roles. For example, in the sample output the ARN for the role required by the Machine Config Operator is `arn:aws:iam::<aws_account_id>:role/mycluster-x4q9-openshift-machine-api-aws-cloud-credentials`.
<3> Specifies the endpoint URL for the cluster-specific OIDC provider.
<3> Displays the endpoint URL for the cluster-specific OIDC provider.
+
[IMPORTANT]
====

View File

@@ -396,9 +396,13 @@ State: ready
Private: No
Created: Oct 1 2021 08:12:25 UTC
Details Page: https://console.redhat.com/openshift/details/s/<subscription_id>
OIDC Endpoint URL: https://rh-oidc.s3.<aws_region>.amazonaws.com/<cluster_id>
OIDC Endpoint URL: https://oidc.op1.openshiftapps.com/<cluster_id>|<oidc_config_id> \ <1>
----
+
--
1. The endpoint URL depends on the BYO OIDC configuration. If you are pre-creating the OIDC configuration, the URL ends with the `<oidc_config_id>` value; otherwise, the URL ends with the `<cluster-ID>` value.
--
+
The following `State` field changes are listed in the output as the cluster installation progresses:
+
* `waiting (Waiting for OIDC configuration)`

View File

@@ -32,11 +32,12 @@ When using `manual` mode, the `aws` command is printed to the terminal for your
[source,terminal]
----
aws iam create-open-id-connect-provider \
--url https://rh-oidc.s3.<aws_region>.amazonaws.com/<cluster_id> \
--url https://oidc.op1.openshiftapps.com/<oidc_config_id> \// <1>
--client-id-list openshift sts.<aws_region>.amazonaws.com \
--thumbprint-list <thumbprint> <1>
--thumbprint-list <thumbprint> <2>
----
<1> The thumbprint is generated automatically when you run the `rosa create oidc-provider` command. For more information about using thumbprints with AWS Identity and Access Management (IAM) OpenID Connect (OIDC) identity providers, see link:https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_oidc_verify-thumbprint.html[the AWS documentation].
<1> The URL used to reach the OpenID Connect (OIDC) identity provider after the cluster is created.
<2> The thumbprint is generated automatically when you run the `rosa create oidc-provider` command. For more information about using thumbprints with AWS Identity and Access Management (IAM) OIDC identity providers, see link:https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_oidc_verify-thumbprint.html[the AWS documentation].
** Registered OIDC configurations use an OIDC configuration ID. Run the following command with your OIDC configuration ID:
+

View File

@@ -21,7 +21,7 @@ Alternatively, you can use `manual` mode, which outputs the `aws` commands neede
.Next steps
* Ensure that you have completed the xref:../rosa_planning/rosa-sts-aws-prereqs.adoc[AWS prerequisites].
include::snippets/oidc-cloudfront.adoc[]
include::modules/rosa-sts-overview-of-the-default-cluster-specifications.adoc[leveloffset=+1]
include::modules/rosa-sts-understanding-aws-account-association.adoc[leveloffset=+1]

View File

@@ -0,0 +1,12 @@
//This snippet appears in the following assemblies:
//
// * ../rosa_install_access_delete_clusters/rosa-sts-creating-a-cluster-quickly.adoc
:_content-type: SNIPPET
[NOTE]
====
ROSA CLI 1.2.7 introduces changes to the OIDC provider endpoint URL format for new clusters. {product-title} cluster OIDC provider URLs are no longer regional. The AWS CloudFront implementation provides improved access speed and resiliency and reduces latency.
Because this change is only available to new clusters created by using ROSA CLI 1.2.7 or later, existing OIDC-provider configurations do not have any supported migration paths.
====