Add Docker registry credentials and certificates

To enable Cloudera Machine Learning to fetch custom ML Runtimes from a secure repository, as Administrator you need to add Docker registry credentials.

Add Docker Registry Credentials to CML

Create a kubectl secret named regcred for your secured Docker registry. The following command creates the secret in your Kubernetes cluster:
kubectl create secret docker-registry regcred 
    --docker-server=<server host> 
    --docker-username=<username> 
    --docker-password=<password> 
    -n <compute namespace eg. mlx>

The next time the ML Runtime image is pulled, the new secret will be picked up.