Create a JFrog Docker Credentials Secret

JFrog Integrations Documentation

Content Type
Integrations
ft:sourceType
Paligo

This step creates the Frog Docker repository credentials as a Kubernetes secret. This secret is needed by Helm as it pulls the docker image during Helm deployments.

  1. From the Google cloud shell, run this command to log in to your Artifactory Docker repository.

    docker login YOUR-ACCOUNT.JFrog.io
  2. To export the saved credentials into a Kubernetes secret, run this command.

    kubectl create secret docker-registry regcred \
    
      --docker-server=<YOUR-ACCOUNT.JFrog.io> \
    
      --docker-username=<username> \
    
      --docker-password=<Artifactory_API_key> \
    
      --docker-email=<email>

See the Kubernetes Documentationfor more details.