Skip to content

Commit

Permalink
Feature/add-kubelogin (#62)
Browse files Browse the repository at this point in the history
* add-oidc-docs-2

* Update content/en/docs/oidc.md

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* add kubelogin setup

* fix

---------

Co-authored-by: Andrei Kvapil <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 20, 2024
1 parent 0156c1c commit fb38dfa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions content/en/docs/oidc/enable_oidc.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,15 @@ kubectl get secret -o yaml -n cozy-keycloak keycloak-credentials -o go-template=
To access the cluster through the Dashboard, download your kubeconfig by selecting the deployed tenant and copying the secret from the resource map.

This kubeconfig will be automatically configured to use OIDC authentication and the namespace dedicated to the tenant.

Setup [kubelogin](https://github.com/int128/kubelogin) which is necessary to use an OIDC-enabled kubeconfig.
```bash
# Homebrew (macOS and Linux)
brew install int128/kubelogin/kubelogin
# Krew (macOS, Linux, Windows and ARM)
kubectl krew install oidc-login
# Chocolatey (Windows)
choco install kubelogin
```

0 comments on commit fb38dfa

Please sign in to comment.