smm registry add
smm registry add
Add new docker private registry using basic authentication to the SMM deployment.
Synopsis
Add new docker private registry using basic authentication to the SMM deployment.
If the password argument is not specified, the CLI will ask the password interactively.
To add a dockerhub user please specify https://index.docker.io/v1/ as URL.
Note: the changes are only saved locally, to update the remote cluster please call:
smm registry reconcile
smm registry add [flags] registryUrl registryUserName [password]
Options
-h, --help help for add
Options inherited from parent commands
--api-server-endpoint-address string The publicly accessible address of the k8s api server
--base-url string Custom Service Mesh Manager base URL (uses port forwarding or proxying if empty)
--cacert string The CA to use for verifying Service Mesh Manager's server certificate
--color use colors on non-tty outputs (default true)
--context string name of the kubeconfig context to use
--controlplane string name of the control plane resource to connect to, if not specified, use autodetection
--formatting.force-color force color even when non in a terminal
--http-proxy string http proxy to be used for installing SMM components, format: hostname:port (default: empty, no proxy)
--interactive ask questions interactively even if stdin or stdout is non-tty
-c, --kubeconfig string path to the kubeconfig file to use for CLI requests
-p, --local-port int Use this local port for port forwarding / proxying to SMM (when set to 0, a random port will be used) (default -1)
--no-proxy string list of hosts to not to use HTTP proxy for (comma separated list of hostnames and ip subnets)
--non-interactive never ask questions interactively
-o, --output string output format (table|yaml|json) (default "table")
--persistent-config-file string Service Mesh Manager persistent config file to use instead of the default at ~/.cisco/smm/
--resource-wait-timeout duration The length of time to wait before giving up on waiting for resource conditions to met (default 5m0s)
--skip-validate-kubeconfig Skip validating cluster reachability
--smm-namespace string Namespace in which Service Mesh Manager is installed [$SMM_NAMESPACE]
--token string Authentication token to use to communicate with Service Mesh Manager
--use-portforward Use port forwarding instead of proxying to reach Service Mesh Manager
-v, --verbose turn on debug logging
SEE ALSO
- smm registry - Manage private registry access for Calisti