Skip to content

📖 ROSA - Modified the Creating a ROSA Cluster service account setup directions. #5371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions docs/book/src/topics/rosa/creating-a-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ CAPA controller requires service account credentials to be able to provision ROS
rosa whoami
```

1. Create a new kubernetes secret with the service account credentials to be referenced later by `ROSAControlPlane`
1. Create a new kubernetes secret with the service account credentials within the target namespace to be referenced later by `ROSAControlPlane`
```shell
kubectl create secret generic rosa-creds-secret \
--from-literal=ocmClientID='....' \
Expand All @@ -28,14 +28,16 @@ CAPA controller requires service account credentials to be able to provision ROS
--from-literal=ocmClientSecret='eyJhbGciOiJIUzI1NiIsI....' \
--from-literal=ocmApiUrl='https://api.openshift.com'
```


If the secret is referenced in the `ROSAControlPlane`, CAPA will look for the secret ONLY in the target namespace.


### Authentication using SSO offline token (DEPRECATED)
The SSO offline token is being deprecated and it is recommended to use service account credentials instead, as described above.

1. Visit https://console.redhat.com/openshift/token to retrieve your SSO offline authentication token

1. Create a credentials secret within the target namespace with the token to be referenced later by `ROSAControlePlane`
1. Create a credentials secret within the target namespace with the token to be referenced later by `ROSAControlPlane`
```shell
kubectl create secret generic rosa-creds-secret \
--from-literal=ocmToken='eyJhbGciOiJIUzI1NiIsI....' \
Expand Down
Loading