For Kubernetes CLI from a Local LDAP Linux Account Login

You can establish credentials for executing Kubernetes CLIs (kubectl and helm) for a Local LDAP user, if required; this is not setup by default.

About this task

For more information about ldapusersetup, see Creating LDAP Linux Accounts.

Prerequisites

You must configure the oidc-auth-apps OIDC Identity Provider (dex) to get Kubernetes authentication tokens. See Set up OIDC Auth Applications for more information.

Procedure

  1. Assign Kubernetes permissions to the user. See Configure Users, Groups, and Authorization for more information.

  2. Configure kubectl access. See Configure Kubernetes Client Access to setup the Kubernetes configuration file and get an authentication token.