int128 / kubelogin

kubectl plugin for Kubernetes OpenID Connect authentication (kubectl oidc-login)
Apache License 2.0
1.7k stars 193 forks source link

feat: Add --oidc-issuer-url-override options #1073

Open kahirokunn opened 6 months ago

kahirokunn commented 6 months ago

The domain to the k8s cluster and dex and the domain to the kubectl user and dex may be different. For example: If you access dex from kubectl, use dex.example.com; if you access dex from a k8s cluster, use dex-internal.example.com.

To cope with this situation, gooidc's IssuerURLOverride option is available.

kahirokunn commented 6 months ago

@int128 The content is just to pass IssuerURLOverride to gooidc. Would you be willing to review it? Thx 🙏