-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update install and decommission how-tos to use Keycloak
- Loading branch information
Showing
8 changed files
with
70 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
. Delete the IDP service | ||
+ | ||
[%collapsible] | ||
.LDAP | ||
==== | ||
. Delete LDAP service (via portal) | ||
+ | ||
Go to https://control.vshn.net/vshn/services | ||
+ | ||
- Search cluster name | ||
+ | ||
- Delete cluster entry service using the delete button | ||
|
||
. Remove IPs from LDAP allowlist | ||
+ | ||
Edit https://git.vshn.net/vshn-puppet/vshn_hieradata/-/blob/master/corp/prod/ldap.yaml | ||
+ | ||
- Search cluster IPs and remove those lines and any comments related. | ||
+ | ||
- Create a Merge Request and invite a colleague for a review/approve/merge | ||
==== | ||
+ | ||
[%collapsible] | ||
.Keycloak | ||
==== | ||
. Delete Keycloak client | ||
+ | ||
Go to https://TBD | ||
+ | ||
- Search cluster name | ||
+ | ||
- Delete cluster client using the delete button | ||
==== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
. Create a new Keycloak client in the `VSHN` realm with the following settings: | ||
+ | ||
[source] | ||
---- | ||
Client ID = ocp_<customer>_<c-cluster-id> <1> | ||
Access Type = confidential | ||
Valid Redirect URIs = https://oauth-openshift.apps.cluster-id.tld/oauth2callback/VSHN <2> | ||
Base URL = https://console-openshift-console.apps.cluster-id.tld/ <3> | ||
---- | ||
<1> Create a separate client for each cluster. | ||
The client ID shall use the format `ocp_<customer-name>_<cluster-id>`. | ||
<2> The Redirect URI assumes that the authentication method in the OpenShift cluster is named `VSHN`. | ||
<3> Adjust the Base URL to match the desired web console URL of your cluster. | ||
+ | ||
Use https://TBD to create a client. | ||
The name must contain the customer and the cluster name. | ||
+ | ||
TODO: Add required config for authentication flow & mappers | ||
. Save the Keycloak client details (client ID and secret) in the following variables for subsequent steps. | ||
+ | ||
[source,bash] | ||
---- | ||
export KEYCLOAK_CLIENT_ID="Your_client_ID_here" | ||
export KEYCLOAK_CLIENT_SECRET="Your_client_secret" | ||
---- |