Skip to content

Commit 8840842

Browse files
authored
Merge pull request #87089 from openshift/revert-86900-OCPBUGS-48192-clarify-mint-mode-root-role
Revert "OCPBUGS-48192: clarifying the role of the root cred in CCO mint mode"
2 parents 3ff33fe + 03fdf43 commit 8840842

File tree

3 files changed

+8
-20
lines changed

3 files changed

+8
-20
lines changed

authentication/managing_cloud_provider_credentials/cco-mode-mint.adoc

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,9 @@ Mint mode is the default Cloud Credential Operator (CCO) credentials mode for {p
1111
[id="mint-mode-about"]
1212
== Mint mode credentials management
1313

14-
For clusters that use the CCO in mint mode, the administrator-level credential is stored in the `kube-system` namespace.
15-
The CCO uses the `admin` credential to process the `CredentialsRequest` objects in the cluster and create users for components with limited permissions.
14+
For clusters that use the CCO in mint mode, the administrator-level credential is stored in the `kube-system` namespace. The CCO uses the `admin` credential to process the `CredentialsRequest` objects in the cluster and create users for components with limited permissions.
1615

17-
With mint mode, each cluster component has only the specific permissions it requires.
18-
Cloud credential reconciliation is automatic and continuous so that components can perform actions that require additional credentials or permissions.
19-
20-
For example, a minor version cluster update (such as updating from {product-title} 4.16 to 4.17) might include an updated `CredentialsRequest` resource for a cluster component.
21-
The CCO, operating in mint mode, uses the `admin` credential to process the `CredentialsRequest` resource and create users with limited permissions to satisfy the updated authentication requirements.
16+
With mint mode, each cluster component has only the specific permissions it requires. The automatic, continuous reconciliation of cloud credentials in mint mode allows actions that require additional credentials or permissions, such as upgrading, to proceed.
2217

2318
[NOTE]
2419
====

modules/manually-removing-cloud-creds.adoc

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,21 @@
11
// Module included in the following assemblies:
22
//
3-
// * post_installation_configuration/changing-cloud-credentials-configuration.adoc
3+
// * post_installation_configuration/cluster-tasks.adoc
44

55
:_mod-docs-content-type: PROCEDURE
66
[id="manually-removing-cloud-creds_{context}"]
77
= Removing cloud provider credentials
88

9-
For clusters that use the Cloud Credential Operator (CCO) in mint mode, the administrator-level credential is stored in the `kube-system` namespace.
10-
The CCO uses the `admin` credential to process the `CredentialsRequest` objects in the cluster and create users for components with limited permissions.
11-
12-
After installing an {product-title} cluster with the CCO in mint mode, you can remove the administrator-level credential secret from the `kube-system` namespace in the cluster.
13-
The CCO only requires the administrator-level credential during changes that require reconciling new or modified `CredentialsRequest` custom resources, such as minor cluster version updates.
9+
After installing an {product-title} cluster with the Cloud Credential Operator (CCO) in mint mode, you can remove the administrator-level credential secret from the `kube-system` namespace in the cluster. The administrator-level credential is required only during changes that require its elevated permissions, such as upgrades.
1410

1511
[NOTE]
1612
====
17-
Before performing a minor version cluster update (for example, updating from {product-title} 4.16 to 4.17), you must reinstate the credential secret with the administrator-level credential.
18-
If the credential is not present, the update might be blocked.
13+
Prior to a non z-stream upgrade, you must reinstate the credential secret with the administrator-level credential. If the credential is not present, the upgrade might be blocked.
1914
====
2015

2116
.Prerequisites
2217

23-
* Your cluster is installed on a platform that supports removing cloud credentials from the CCO.
24-
Supported platforms are AWS and GCP.
18+
* Your cluster is installed on a platform that supports removing cloud credentials from the CCO. Supported platforms are AWS and GCP.
2519
2620
.Procedure
2721

post_installation_configuration/changing-cloud-credentials-configuration.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,15 @@ include::modules/manually-rotating-cloud-creds.adoc[leveloffset=+2]
3131

3232
[role="_additional-resources"]
3333
.Additional resources
34-
* xref:../authentication/managing_cloud_provider_credentials/cco-mode-mint.adoc#cco-mode-mint[The Cloud Credential Operator in mint mode]
35-
* xref:../authentication/managing_cloud_provider_credentials/cco-mode-passthrough.html#cco-mode-passthrough[The Cloud Credential Operator in passthrough mode]
3634
* xref:../storage/container_storage_interface/persistent-storage-csi-vsphere.adoc#persistent-storage-csi-vsphere[vSphere CSI Driver Operator]
3735

3836
//Removing cloud provider credentials manually
3937
include::modules/manually-removing-cloud-creds.adoc[leveloffset=+2]
4038

39+
//These additional resources are for the "Rotating or removing cloud provider credentials" section, do not separate them from that content.
4140
[role="_additional-resources"]
4241
.Additional resources
43-
* xref:../authentication/managing_cloud_provider_credentials/cco-mode-mint.adoc#cco-mode-mint[The Cloud Credential Operator in mint mode]
42+
* xref:../authentication/managing_cloud_provider_credentials/cco-mode-passthrough.adoc#admin-credentials-root-secret-formats_cco-mode-passthrough[Admin credentials root secret format]
4443

4544
[id="post-install-enable-token-auth_{context}"]
4645
== Enabling token-based authentication

0 commit comments

Comments
 (0)