Git Product home page Git Product logo

tidy-mirror's Introduction

Tidy-Mirror

Features

Included:

  • ocp mirror release
  • olm package mirror
  • registry login
  • catalog source generation and apply to the cluster
  • prune index
  • push index
  • adm catalog mirror

Not included:

  • update trust ca
  • icsp updating

How to use it

You need to prepare a config file before launching the CLI:

In the config file, you can specify the following parameters:

ocp_release_version: "4.9.0"            # must be a valid OCP release version with the major.minor.patch format
registry_url: "registry.example.com"    # must be a valid registry URL (maybe with port number)
registry_username: "registry_username"  # must be a valid registry username
registry_password: "registry_password"  # must be a valid registry password
list_packages:                          # list of packages to be mirrored
  - "kubernetes-nmstate-operator"
  - "metallb-operator ocs-operator"
  - "local-storage-operator"
  - "advanced-cluster-management"
extra_images_to_mirror:                  # list of extra images to be mirrored
  - "quay.io/jparrill/registry:3"
  - "registry.access.redhat.com/rhscl/httpd-24-rhel7:latest"
  - "quay.io/ztpfw/ui:latest"

Now, we're going to launch the CLI:

$ t-mirror -h 

$ t-mirror ocp --kubeconfig=/path/to/kubeconfig --config-file=/path/to/config.yaml

$ t-mirror olm --kubeconfig=/path/to/kubeconfig --config-file=/path/to/config.yaml

tidy-mirror's People

Contributors

alknopfler avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.