imageset-generator

command module
v0.0.0-...-de31b6c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 7 Imported by: 0

README

Imageset Generator

Process

Mandatory
  1. Get specific version for overall version

    oc-mirror list releases --version=4.17
    
  2. Download release and required operators from https://mirror.openshift.com/pub/openshift-v4/clients/ocp/{ocp-version}/release.txt

    wget https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.17.1/release.txt
    
Operators
  1. Get all catalogs, notice no z, eg) 4.17 instead of 4.17.1

    oc-mirror list operators --catalogs --version=4.17
    
  2. Get operators from a catalog

    oc-mirror list operators --catalog=registry.redhat.io/redhat/redhat-operator-index:v4.17
    
Imageset Config
apiVersion: mirror.openshift.io/v1alpha2
kind: ImageSetConfiguration
archiveSize: 1
storageConfig:
  local:
    path: /home/user/workspace
apiVersion: mirror.openshift.io/v1alpha2
kind: ImageSetConfiguration
storageConfig:
  registry:
    imageURL: localhost:5000/metadata:latest
    skipTLS: true

Out of Scope

  1. Anything other than linux/amd64

Docs

  1. Release
  2. Unfortunately, that initial release of this feature in 4.15.0 and the above-mentioned versions had a critical flaw (ref OCPBUGS-33305) which wasn't resolved until the 4.15.13 release of oc-mirror.
  3. Docs

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL