bmo create token --username=<username> --password=<password> --updatekubeconfig=$KUBECONFIG
Updates the kubeconfig file for the user when required. The command is also used to update the file when the token expires.
Argument Definitions
- username
- The user for which the kubeconfig file is being updated.
- password
- The user password.
- $KUBECONFIG
- Absolute path to the kubeconfig file which you get when you use the command,
export KUBECONFIG=<Absolute path to the kubeconfig file>
. An example for the absolute path is /home/dell/config_admin.yaml.