3.4.10. 이미지 세트 구성 예
다음 ImageSetConfiguration 파일 예제에서는 다양한 미러링 사용 사례에 대한 구성을 보여줍니다.
사용 사례: 임의의 이미지 및 helm 차트 포함
다음 ImageSetConfiguration 파일은 레지스트리 스토리지 백엔드를 사용하며 helm 차트 및 추가 Red Hat UBI(Universal Base Image)를 포함합니다.
ImageSetConfiguration 파일 예
apiVersion: mirror.openshift.io/v1alpha1
kind: ImageSetConfiguration
archiveSize: 4
storageConfig:
registry:
imageURL: example.com/example/oc-mirror
skipTLS: false
mirror:
ocp:
channels:
- name: stable-4.9
operators:
- catalog: registry.redhat.io/redhat/redhat-operator-index:v4.9
helm:
repos:
- name: redhat-helm-charts
url: https://raw.githubusercontent.com/redhat-developer/redhat-helm-charts/master
charts:
- name: ibm-mongodb-enterprise-helm
version: 0.2.0
additionalImages:
- name: registry.redhat.io/ubi8/ubi:latest
사용 사례: 특정 Operator 버전 포함
다음 ImageSetConfiguration 파일은 로컬 스토리지 백엔드를 사용하며 3.67.0 이상 버전에서 시작되는 Kubernetes Operator용 Red Hat Advanced Cluster Security만 포함합니다.
ImageSetConfiguration 파일 예
apiVersion: mirror.openshift.io/v1alpha1
kind: ImageSetConfiguration
storageConfig:
local:
path: /home/user/metadata
mirror:
operators:
- catalog: registry.redhat.io/redhat/redhat-operator-index:v4.9
headsOnly: false
packages:
- name: rhacs-operator
channels:
- name: latest
startingVersion: 3.67.0