Skip to content

Commit 7e95486

Browse files
authoredMar 11, 2025··
Merge pull request #5268 from mjlshen/rosa-hcp
📖 Clarify that the ROSA provider is currently for ROSA HCP clusters
2 parents 639e14e + ec63a68 commit 7e95486

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed
 

‎config/crd/bases/controlplane.cluster.x-k8s.io_rosacontrolplanes.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ spec:
7373
type: array
7474
billingAccount:
7575
description: |-
76-
BillingAccount is an optional AWS account to use for billing the subscription fees for ROSA clusters.
77-
The cost of running each ROSA cluster will be billed to the infrastructure account in which the cluster
76+
BillingAccount is an optional AWS account to use for billing the subscription fees for ROSA HCP clusters.
77+
The cost of running each ROSA HCP cluster will be billed to the infrastructure account in which the cluster
7878
is running.
7979
type: string
8080
x-kubernetes-validations:
@@ -563,8 +563,8 @@ spec:
563563
- message: oidcID is immutable
564564
rule: self == oldSelf
565565
provisionShardID:
566-
description: ProvisionShardID defines the shard where rosa control
567-
plane components will be hosted.
566+
description: ProvisionShardID defines the shard where ROSA hosted
567+
control plane components will be hosted.
568568
type: string
569569
x-kubernetes-validations:
570570
- message: provisionShardID is immutable

‎controlplane/rosa/api/v1beta2/rosacontrolplane_types.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ type RosaControlPlaneSpec struct { //nolint: maligned
154154
// WorkerRoleARN is an AWS IAM role that will be attached to worker instances.
155155
WorkerRoleARN string `json:"workerRoleARN"`
156156

157-
// BillingAccount is an optional AWS account to use for billing the subscription fees for ROSA clusters.
158-
// The cost of running each ROSA cluster will be billed to the infrastructure account in which the cluster
157+
// BillingAccount is an optional AWS account to use for billing the subscription fees for ROSA HCP clusters.
158+
// The cost of running each ROSA HCP cluster will be billed to the infrastructure account in which the cluster
159159
// is running.
160160
//
161161
// +kubebuilder:validation:Optional
@@ -202,7 +202,7 @@ type RosaControlPlaneSpec struct { //nolint: maligned
202202
// +optional
203203
AuditLogRoleARN string `json:"auditLogRoleARN,omitempty"`
204204

205-
// ProvisionShardID defines the shard where rosa control plane components will be hosted.
205+
// ProvisionShardID defines the shard where ROSA hosted control plane components will be hosted.
206206
//
207207
// +kubebuilder:validation:XValidation:rule="self == oldSelf", message="provisionShardID is immutable"
208208
// +optional

‎docs/book/src/topics/rosa/creating-a-cluster.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Creating a ROSA cluster
1+
# Creating a ROSA HCP cluster
22

33
## Permissions
44
### Authentication using service account credentials
5-
CAPA controller requires service account credentials to be able to provision ROSA clusters:
5+
CAPA controller requires service account credentials to be able to provision ROSA HCP clusters:
66
1. Visit [https://console.redhat.com/iam/service-accounts](https://console.redhat.com/iam/service-accounts) and create a service account. If you already have a service account, you can skip this step.
77

88
For every newly created service account, make sure to activate the account using the [ROSA command line tool](https://github.com/openshift/rosa). First, log in using your newly created service account
@@ -87,9 +87,9 @@ The SSO offline token is being deprecated and it is recommended to use service a
8787

8888
## Prerequisites
8989

90-
Follow the guide [here](https://docs.aws.amazon.com/ROSA/latest/userguide/getting-started-hcp.html) up until [Step 3](https://docs.aws.amazon.com/ROSA/latest/userguide/getting-started-hcp.html#getting-started-hcp-step-3)
90+
Follow the guide [here](https://docs.aws.amazon.com/ROSA/latest/userguide/getting-started-hcp.html) up until [Step 3](https://docs.aws.amazon.com/ROSA/latest/userguide/getting-started-hcp.html#getting-started-hcp-step-3)
9191
to install the required tools and setup the prerequisite infrastructure.
92-
Once Step 3 is done, you will be ready to proceed with creating a ROSA cluster using cluster-api.
92+
Once Step 3 is done, you will be ready to proceed with creating a ROSA HCP cluster using cluster-api.
9393

9494
## Creating the cluster
9595

@@ -106,11 +106,11 @@ Once Step 3 is done, you will be ready to proceed with creating a ROSA cluster u
106106
export OPERATOR_ROLES_PREFIX="capi-rosa-quickstart" # prefix used to create operator roles with `rosa create operator-roles --prefix <PREFIX_NAME>`
107107
108108
# subnet IDs created earlier
109-
export PUBLIC_SUBNET_ID="subnet-0b54a1111111111111"
109+
export PUBLIC_SUBNET_ID="subnet-0b54a1111111111111"
110110
export PRIVATE_SUBNET_ID="subnet-05e72222222222222"
111111
```
112112

113-
1. Render the cluster manifest using the ROSA cluster template:
113+
1. Render the cluster manifest using the ROSA HCP cluster template:
114114
```shell
115115
clusterctl generate cluster <cluster-name> --from templates/cluster-template-rosa.yaml > rosa-capi-cluster.yaml
116116
```
@@ -128,7 +128,7 @@ Once Step 3 is done, you will be ready to proceed with creating a ROSA cluster u
128128
...
129129
```
130130

131-
1. Provide an AWS identity reference
131+
1. Provide an AWS identity reference
132132
```yaml
133133
apiVersion: controlplane.cluster.x-k8s.io/v1beta2
134134
kind: ROSAControlPlane

‎docs/book/src/topics/rosa/enabling.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Enabling ROSA Support
22

3-
To enable support for ROSA clusters, the ROSA feature flag must be set to true. This can be done using the **EXP_ROSA** environment variable.
3+
To enable support for ROSA HCP clusters, the ROSA feature flag must be set to true. This can be done using the **EXP_ROSA** environment variable.
44

55
Make sure to set up your AWS environment first as described [here](https://cluster-api.sigs.k8s.io/user/quick-start.html).
66
```shell

‎docs/book/src/topics/rosa/external-auth.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# External Auth Providers (BYOI)
22

3-
ROSA allows you to Bring Your Own Identity (BYOI) to manage and authenticate cluster users.
3+
ROSA HCP allows you to Bring Your Own Identity (BYOI) to manage and authenticate cluster users.
44

55
## Enabling
66

@@ -16,7 +16,7 @@ spec:
1616
....
1717
```
1818

19-
Note: This feauture requires OpenShift version `4.15.5` or newer.
19+
Note: This feature requires OpenShift version `4.15.5` or newer.
2020

2121
## Usage
2222

‎docs/book/src/topics/rosa/support.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Create issue for ROSA
22

3-
When creating issue for ROSA-HCP cluster, include the logs for the capa-controller-manager and capi-controller-manager deployment pods. The logs can be saved to text file using the commands below. Also include the yaml files for all the resources used to create the ROSA cluster:
3+
When creating issue for ROSA HCP cluster, include the logs for the capa-controller-manager and capi-controller-manager deployment pods. The logs can be saved to text file using the commands below. Also include the yaml files for all the resources used to create the ROSA HCP cluster:
44
- `Cluster`
55
- `ROSAControlPlane`
66
- `MachinePool`

0 commit comments

Comments
 (0)
Please sign in to comment.