Skip to content

[Plugin] Dynamically remove clusters/kubeconfig #2711

Open
@TA3

Description

@TA3

I've managed to create a plugin to authenticate users through KeyCloak, then hit an API endpoint to get kubeconfig details that a user is allowed to access.

setCluster works by setting the kubeconfig for the selected cluster, but if a user logs out, how do I remove kubeconfig added by the plugin dynamically?

Metadata

Metadata

Assignees

No one assigned

    Labels

    keycloakKeycloak the Identity and Access Management appkind/bugCategorizes issue or PR as related to a bug.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.plugins

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions