Last active
March 30, 2024 16:04
-
-
Save Nurlan199206/28d6d98f229cb62643a7bcfbd9799f8a to your computer and use it in GitHub Desktop.
Revisions
-
Nurlan199206 revised this gist
Mar 30, 2024 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,8 +5,14 @@ Software version: Keycloak: 23.0.7 Kubernetes: 1.26.5 # Run Keycloak on port 443 with custom domain 1) bash kc.sh start-dev --https-certificate-file=/etc/letsencrypt/live/auth.dev-ops.kz/fullchain.pem --https-certificate-key-file=/etc/letsencrypt/live/auth.dev-ops.kz/privkey.pem --https-port=443 # Add to each master node OIDC settings in /etc/kubernetes/manifests/kube-apiserver.yaml - --oidc-issuer-url=https://auth.dev-ops.kz/realms/kubernetes - --oidc-client-id=kubernetes - --oidc-groups-claim=groups - --oidc-username-claim=preferred_username 10) kubectl create clusterrolebinding admin --clusterrole=cluster-admin --user https://auth.dev-ops.kz/realms/kubernetes#admin -
Nurlan199206 revised this gist
Mar 30, 2024 . 1 changed file with 11 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1,12 @@ Vanilla OKD Console integration with Keycloak OIDC Software version: Keycloak: 23.0.7 Kubernetes: 1.26.5 1) bash kc.sh start-dev --https-certificate-file=/etc/letsencrypt/live/auth.dev-ops.kz/fullchain.pem --https-certificate-key-file=/etc/letsencrypt/live/auth.dev-ops.kz/privkey.pem --https-port=443 10) kubectl create clusterrolebinding admin --clusterrole=cluster-admin --user https://auth.dev-ops.kz/realms/kubernetes#admin -
Nurlan199206 created this gist
Mar 30, 2024 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ 10) kubectl create clusterrolebinding admin --clusterrole=cluster-admin --user https://auth.dev-ops.kz/realms/kubernetes#admin