Skip to content

Commit 5e922c5

Browse files
Merge pull request #64288 from dfitzmau/OCPBUGS-11899-RE
2 parents 7223a30 + 2db15f5 commit 5e922c5

File tree

3 files changed

+32
-15
lines changed

3 files changed

+32
-15
lines changed

installing/installing_aws/installing-restricted-networks-aws.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,13 @@ include::modules/installation-configure-proxy.adoc[leveloffset=+2]
9898

9999
//include::modules/installation-three-node-cluster.adoc[leveloffset=+2]
100100

101+
// Creating the Kubernetes manifest and Ignition config files
101102
include::modules/installation-user-infra-generate-k8s-manifest-ignition.adoc[leveloffset=+2]
102103

104+
[role="_additional-resources"]
105+
.Additional resources
106+
* xref:../../installing/installing_aws/installing-restricted-networks-aws-installer-provisioned.adoc#manually-create-iam_installing-restricted-networks-aws-installer-provisioned[Manually creating long-term credentials]
107+
103108
include::modules/installation-extracting-infraid.adoc[leveloffset=+1]
104109

105110
include::modules/installation-creating-aws-vpc.adoc[leveloffset=+1]

installing/installing_azure_stack_hub/installing-azure-stack-hub-user-infra.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,14 @@ include::modules/installation-azure-stack-hub-config-yaml.adoc[leveloffset=+2]
7777

7878
include::modules/installation-configure-proxy.adoc[leveloffset=+2]
7979
include::modules/installation-user-infra-exporting-common-variables-arm-templates.adoc[leveloffset=+2]
80+
81+
// Creating the Kubernetes manifest and Ignition config files
8082
include::modules/installation-user-infra-generate-k8s-manifest-ignition.adoc[leveloffset=+2]
83+
84+
[role="_additional-resources"]
85+
.Additional resources
86+
* xref:../../installing/installing_azure/manually-creating-iam-azure.adoc#manually-create-iam_manually-creating-iam-azure[Manually creating long-term credentials]
87+
8188
include::modules/installation-disk-partitioning-upi-templates.adoc[leveloffset=+2]
8289

8390
include::modules/installation-azure-create-resource-group-and-identity.adoc[leveloffset=+1]

modules/installation-user-infra-generate-k8s-manifest-ignition.adoc

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ ifndef::user-infra-vpc[]
179179
the Kubernetes manifest files that define the worker machines:
180180
endif::user-infra-vpc[]
181181
endif::gcp[]
182-
ifdef::aws,azure,ash,user-infra-vpc[]
182+
ifdef::azure,ash,user-infra-vpc[]
183183
. Remove the Kubernetes manifest files that define the worker machines:
184-
endif::aws,azure,ash,user-infra-vpc[]
184+
endif::azure,ash,user-infra-vpc[]
185185
ifdef::aws,azure,ash,gcp[]
186186
+
187187
[source,terminal]
@@ -310,7 +310,6 @@ status:
310310
domain: ''
311311
selector: ''
312312
----
313-
314313
endif::user-infra-vpc[]
315314

316315
ifdef::ash[]
@@ -414,31 +413,37 @@ stringData:
414413
azure_resourcegroup: ${resource_group}
415414
azure_region: ${azure_region}
416415
----
416+
endif::ash[]
417417

418-
[IMPORTANT]
419-
====
420-
The release image includes `CredentialsRequest` objects for Technology Preview features that are enabled by the `TechPreviewNoUpgrade` feature set. You can identify these objects by their use of the `release.openshift.io/feature-set: TechPreviewNoUpgrade` annotation.
421-
422-
* If you are not using any of these features, do not create secrets for these objects. Creating secrets for Technology Preview features that you are not using can cause the installation to fail.
423-
424-
* If you are using any of these features, you must create secrets for the corresponding objects.
425-
====
426-
427-
*** To find `CredentialsRequest` objects with the `TechPreviewNoUpgrade` annotation, run the following command:
418+
ifdef::aws,ash[]
419+
. Optional: If you manually created a cloud identity and access management (IAM) role, locate any `CredentialsRequest` objects with the `TechPreviewNoUpgrade` annotation in the release image by running the following command:
428420
+
429421
[source,terminal]
430422
----
431-
$ grep "release.openshift.io/feature-set" *
423+
$ oc adm release extract quay.io/openshift-release-dev/ocp-release:4.y.z-x86_64 --credentials-requests --cloud=<platform_name>
432424
----
433425
+
434426
.Example output
435427
[source,terminal]
436428
----
437429
0000_30_capi-operator_00_credentials-request.yaml: release.openshift.io/feature-set: TechPreviewNoUpgrade
438430
----
431+
+
432+
[IMPORTANT]
433+
====
434+
The release image includes `CredentialsRequest` objects for Technology Preview features that are enabled by the `TechPreviewNoUpgrade` feature set. You can identify these objects by their use of the `release.openshift.io/feature-set: TechPreviewNoUpgrade` annotation.
435+
436+
* If you are not using any of these features, do not create secrets for these objects. Creating secrets for Technology Preview features that you are not using can cause the installation to fail.
437+
438+
* If you are using any of these features, you must create secrets for the corresponding objects.
439+
====
439440
// Right now, only the CAPI Operator is an issue, but it might make sense to update `0000_30_capi-operator_00_credentials-request.yaml` to `<tech_preview_credentials_request>.yaml` for the future.
441+
+
442+
.. Delete all `CredentialsRequest` objects that have the `TechPreviewNoUpgrade` annotation.
443+
endif::aws,ash[]
440444

441-
.. Create a `cco-configmap.yaml` file in the manifests directory with the Cloud Credential Operator (CCO) disabled:
445+
ifdef::ash[]
446+
. Create a `cco-configmap.yaml` file in the manifests directory with the Cloud Credential Operator (CCO) disabled:
442447
+
443448
.Sample `ConfigMap` object
444449
[source,yaml]

0 commit comments

Comments
 (0)