Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Add script and docs for air-gapped/restricted env setup #183

Merged
merged 16 commits into from
Feb 8, 2024

Commits on Feb 1, 2024

  1. feat: new script for restricted env setup - fetch dev hub images and …

    …related images from the index, and mirror to a cluster's internal registry
    
    TODO: fix the skopeo copy step - not working :(
    
    Signed-off-by: Nick Boldt <nboldt@redhat.com>
    nickboldt committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    acbd1f2 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. Configuration menu
    Copy the full SHA
    fe7a228 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e232154 View commit details
    Browse the repository at this point in the history
  3. Replace 'registry.redhat.io/rhdh/*' with 'quay.io/rhdh/*', as those i…

    …mages are not public yet?
    rm3l committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    883de3d View commit details
    Browse the repository at this point in the history
  4. Add steps for deploying mirror registry in the same prepare-restricte…

    …d-environment.sh script, using a 'use_existing_mirror_registry' option
    
    Co-authored-by: Nick Boldt <nboldt@redhat.com>
    rm3l and nickboldt committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    8949099 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3c094ae View commit details
    Browse the repository at this point in the history
  6. Update .gitignore

    rm3l committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    093a93e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fe80b31 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Make helper mirror registry storage capacity configurable

    This is to allow running it on CRC,
    where storage might depend on CRC VM.
    rm3l committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    79fff9c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    03b994f View commit details
    Browse the repository at this point in the history
  3. Change condition for replacing non-public CI images with quay.io

    This script should work for customers installing GA version (1.1+) to their airgapped environment.
    We also do the replacement only for rhdh images, and only if the image manifest does not exist, which would likely mean that the image is not public yet.
    rm3l committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    5aebdd3 View commit details
    Browse the repository at this point in the history
  4. Force-recreate the helper mirror registry Deployment

    Generated registry password will change if we run the script twice. So we won't be able to login using the new password.
    rm3l committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    d857c4a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e891da3 View commit details
    Browse the repository at this point in the history
  6. Add docs

    rm3l committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    f8500e2 View commit details
    Browse the repository at this point in the history
  7. fixup! Add docs

    rm3l committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    5684a01 View commit details
    Browse the repository at this point in the history
  8. Update .rhdh/scripts/prepare-restricted-environment.sh

    Co-authored-by: Jianrong Zhang <jianrongzhang89@gmail.com>
    
    Co-authored-by: Nick Boldt <nboldt@redhat.com>
    rm3l and nickboldt committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    f923344 View commit details
    Browse the repository at this point in the history