Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1918478

Summary: [DOC] Update Installer Doc related to Manually Creating IAM [GCP]
Product: OpenShift Container Platform Reporter: To Hung Sze <tsze>
Component: DocumentationAssignee: Latha S <lmurthy>
Status: CLOSED WONTFIX QA Contact: Jianli Wei <jiwei>
Severity: medium Docs Contact: Latha S <lmurthy>
Priority: unspecified    
Version: 4.7CC: aos-bugs, yanyang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-27 15:56:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description To Hung Sze 2021-01-20 20:19:49 UTC
Document URL: 
https://docs.openshift.com/container-platform/4.6/installing/installing_gcp/manually-creating-iam-gcp.html#manually-create-iam_manually-creating-iam-gcp

Section Number and Name: 


#1 Manually create IAM
Step 5
Locate all CredentialsRequest objects in this release image that target the cloud you are deploying on:


$ oc adm release extract quay.io/openshift-release-dev/ocp-release:4.y.z-x86_64 --credentials-requ

Describe the issue: 
The listed command doesn't work anymore.
Nothing is output from the command above.

Suggestions for improvement: 
Replace the command with

oc adm release extract quay.io/openshift-release-dev/ocp-release:4.y.z-x86_64 --to ./release-image

grep -l "apiVersion: cloudcredential.openshift.io" ./release-image/* | xargs cat


#2 
Step 6
Create YAML files for secrets in the openshift-install manifests directory that you generated previously. The secrets must be stored using the namespace and secret name defined in the spec.secretRef for each credentialsRequest. The format for the secret data varies for each cloud provider.

Change to:
Create YAML files for secrets in the openshift-install manifests directory that you generated previously. The secrets must be stored using the namespace and secret name defined in the spec.secretRef for each credentialsRequest. The format for the secret data varies for each cloud provider. See Section Admin credentials root secret format.

#3
Create at top of page, a section "Manaul Mode" (similar to Mint Mode at bottom):
Insert a sub-section for New in 4.7 Installing a Cluster in Manual Mode via install-config.yaml
Clusters in Manual mode can be installed by specifying the following in install-config.yaml:
credentialsMode: Manual

#4
https://docs.openshift.com/container-platform/4.6/installing/installing_gcp/manually-creating-iam-gcp.html#mint-mode_manually-creating-iam-gcp

Add (add the end of the paragraph / page):
Clusters in Mint mode can be installed by specifying the following in install-config.yaml:
credentialsMode: Mint
Regular IPI clusters by default are created in Mint mode.