Skip to content

Kubeconfig generation not working in k8s clsuter with version higher than 1.24 #168

Description

@colteanDeviqon

Hello,

I have installed permission manager chart version 1.8.0 in a 1.24.2 cluster and when trying to get a kubeconfig for a new user the permission-manager just crashes and restarts without generating the config.

From investigation it looks like starting version 1.24 the LegacyServiceAccountTokenNoAutoGeneration feature gate is beta, and enabled by default which means that service account tokens are no longer auto-generated for every ServiceAccount.

So it looks like the token is not creating for service accounts and thus it cannot generate the kubeconfig for the service accounts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions