cli login
cli login
Authenticate to Harbor for the current namespace
Synopsis
A helper command that provided the username and password, creates the configuration in Kubernetes to enable access to Harbor. Equivalently, you could perform this operation manually using kubectl. Password is read securely from the standard input.
The convention is that the Operators would look for 'bubbleran-hub' as the secret name in the same namespace. You could use the secret name 'harbor-credentials' for your private instance.
Checkout: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
cli login [flags]
Examples
login <username> [password]
Options
-h, --help help for login
Options inherited from parent commands
-c, --config string config file (default "config.json")
-n, --namespace string namespace to perform the operations (default "trirematics")
-v, --verbose debug output
SEE ALSO
- cli - Trirematics commandline interface