Product Selector

Fusion 5.12
    Fusion 5.12

    Use a Private Repository for Docker Images

    This article teaches you how to use a private repository to manage your Docker images. When you install or upgrade Fusion, you can specify the private repository instead of the public repository. To find all Docker images required for your private repository, see List All Docker Images and Versions. If you’re deploying on-premises, you’ll need to set up on-premises private Docker registries.

    1. Download the values.sh script.

    2. Run the script: ./values.sh.

      If you receive an error stating bash: ./values.sh: Permission denied:

      1. Make the script executable: chmod +x values.sh.

      2. Run the script again: ./values.sh.

      The script creates a new file, <provider>_<cluster>_<namespace>_fusion_repository.yaml. The contents of the file resembles the following:

      ---
      
      admin-ui:
        initContainer:
          image:
            repository: altostrat.com/repo
        image:
          repository: altostrat.com/repo
      api-gateway:
        keytoolUtils:
          image:
            repository: "altostrat.com/repo"
        initContainer:
          image:
            repository: altostrat.com/repo
        image:
          repository: altostrat.com/repo
      argo:
        images:
          ...
    3. Open the <provider>_<cluster>_<namespace>_upgrade_fusion.sh script for editing.

    4. Update the MY_VALUES values to refer to the <provider>_<cluster>_<namespace>_fusion_repository.yaml file:

      MY_VALUES=""
      MY_VALUES="$MY_VALUES --values <provider>_<cluster>_<namespace>_fusion__repository.yaml"
      MY_VALUES="$MY_VALUES --values <provider>_<cluster>_<namespace>_fusion_values.yaml"
      MY_VALUES="$MY_VALUES --values <provider>_<cluster>_<namespace>_fusion_resources.yaml"
      MY_VALUES="$MY_VALUES --values <provider>_<cluster>_<namespace>_fusion_affinity.yaml"
      MY_VALUES="$MY_VALUES --values <provider>_<cluster>_<namespace>_fusion_replicas.yaml"
    5. Run the <provider>_<cluster>_<namespace>_upgrade_fusion.sh script.