The kubectl-cci plugin command-line does not allow logging in with the username switch
search cancel

The kubectl-cci plugin command-line does not allow logging in with the username switch

book

Article ID: 368856

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

  • You are unable to login with the kubectl cci plugin command-line user the user credentials option (-u, --username string).

Environment

  • VMware Aria Automation 8.17.x

Cause

  • Older versions of the CCI plugin do not support the user credentials switch as an option.

Impact

  • Only API token are available as an option (-t, --token string) to login with kubectl cci plugin.

Resolution

This is a known issue in Aria Automation 8.17.0 when downloading the CCI plugin from Service Broker Supervisor Namespace / CCI UI. This will be fixed in a later version.

Workaround

Please leverage the following links to download the 8.17.0 version of the CCI plugin which supports both API Token and User credential login options:

Additional Information

After downloading the plug-in, be sure to set the kubectl-cci plug-in as an executable, then copy it into your execution path along side the kubectl executable file.

Example:

  • Mac and Linux
    • chmod +x kubectl-cci && mv kubectl-cci /usr/local/bin