Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configure Repository Credentials

SUMMARY Read this topic to understand how to configure the enterprise-hub.juniper.net repository credentials for JCNR installation.

Use this procedure to configure your repository login credentials in your JCNR Helm chart.

The JCNR Helm chart uses your enterprise-hub.juniper.net credentials to pull images from the enterprise-hub.juniper.net repository.

The JCNR Helm chart expects your credentials to be in a specific format. One way of ensuring your credentials are in the proper format is to use docker (podman).

  1. Install docker if you don't already have docker installed.
    For example, for Rocky Linux:
  2. Create a .docker directory. This is where you'll store our credentials.
  3. Log in to the Juniper Networks enterprise-hub.juniper.net repository.
    Enter your enterprise-hub.juniper.net username and password when prompted. Your credentials are now stored in ~/.docker/config.json.
  4. Encode your credentials in base64 and store the resulting string.
    Take a look at the encoded credentials.
  5. Navigate to the Juniper_Cloud_Native_Router_<release-number>/helmchart/jcnr directory. Replace the credentials placeholder in values.yaml with the encoded credentials.
    The values.yaml file has a <base64-encoded-credential> credentials placeholder. Simply replace the placeholder with the encoded credentials.Double check by searching for the encoded credentials in values.yaml.You should see the encoded credentials.