7.7. 이미지 준비 항목 계층화
ContainerImagePrepare
매개변수의 값은 YAML 목록입니다. 즉, 여러 항목을 지정할 수 있습니다.
다음 예제에서는 두 개의 항목을 지정하는 경우를 설명합니다. 이때 director는 16.2.1-hotfix
로 태그된 버전을 사용하는 nova-api
이미지를 제외하고 모든 이미지의 최신 버전을 사용합니다.
parameter_defaults: ContainerImagePrepare: - tag_from_label: "{version}-{release}" push_destination: true excludes: - nova-api set: namespace: registry.redhat.io/rhosp-rhel8 name_prefix: openstack- name_suffix: '' tag:16.2 - push_destination: true includes: - nova-api set: namespace: registry.redhat.io/rhosp-rhel8 tag: 16.2.1-hotfix
includes
및 excludes
매개 변수는 정규식을 사용하여 각 항목에 대한 이미지 필터링을 제어합니다. includes
설정과 일치하는 이미지가 excludes
와 일치하는 이미지보다 우선합니다. 일치하는 이미지로 간주되려면 이미지 이름이 includes
또는 excludes
정규식 값과 일치해야 합니다.
Block Storage(cinder) 드라이버에 플러그인이라는 공급된 cinder-volume 이미지가 필요한 경우에도 유사한 기술이 사용됩니다. 블록 스토리지 드라이버에 플러그인이 필요한 경우 Advanced Overcloud Customization 가이드의 벤더 플러그인 배포를 참조하십시오.