Enable automatic OIDC integration for created kubernetes cluster
Description
When users create a kubernetes cluster they often want to have a seamless single sign-on (SSO) using the same OIDC provider used by platform (CozyStack) itself. Something like it's done in hyperscalers. Currently kubernetes clusters require additional configuration to use platform keycloak (or other IDP) provider for authentication.
Proposed solution
Add an (optional) parameter to the 'kind: Kubernetes' spec, that allows user to specify authentication configuration of the kubernetes cluster that is going to be created. So that if cozystack has been configured with OIDC enabled a user can select this parameter as 'platform-oidc' (or something like this), if not - user can specify any another IDP that is compatible with kubernets or don't specify anything.
Totally makes sense, we'll consider the implementation.
To implement this we need to add extra options --oicd-* into KamajiControlPlane resource
https://github.com/aenix-io/cozystack/blob/1a88883a3b1dc5c4ac69f100501f982b86d02159/packages/apps/kubernetes/templates/cluster.yaml#L95-L128
Hi, @c42-konstantin. I'm Dosu, and I'm helping the cozystack team manage their backlog and am marking this issue as stale.
Issue Summary:
- You proposed adding an optional parameter for automatic OIDC integration during Kubernetes cluster creation to enable seamless SSO.
- The maintainer, kvaps, responded positively and is considering the implementation.
- Implementation would require adding extra
--oidc-*options to the KamajiControlPlane resource. - Relevant code references were shared to guide the potential development.
- The issue remains unresolved with no recent updates.
Next Steps:
- Please let me know if this feature is still relevant to the latest version of the cozystack repository by commenting on this issue.
- If I do not hear back within 7 days, the issue will be automatically closed.
Thank you for your understanding and contribution!
This is still on a row