Skip to content

Commit c740eb5

Browse files
rebtoorcursoragent
andcommitted
[openshift_setup] DNM: Apply CatalogSource from content-set catalog manifest
Apply cifmw_catalog_manifest so architecture-update jobs can install the OCP-aware index selected from the RHOSO content set (OSPCIX-1431 / ANVIL-159). Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>
1 parent 670f562 commit c740eb5

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

roles/openshift_setup/tasks/configure_registries.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@
5353
spec:
5454
imageDigestMirrors: "{{ cifmw_openshift_setup_digest_mirrors }}"
5555

56+
- name: Create CatalogSource for OpenStack operators
57+
when:
58+
- cifmw_catalog_manifest is defined
59+
- cifmw_catalog_manifest | length > 0
60+
kubernetes.core.k8s:
61+
kubeconfig: "{{ cifmw_openshift_kubeconfig }}"
62+
api_key: "{{ cifmw_openshift_token | default(omit)}}"
63+
context: "{{ cifmw_openshift_context | default(omit)}}"
64+
definition: "{{ cifmw_catalog_manifest }}"
65+
5666
# If both ImageDigestMirrorSet and ImageTagMirrorSet are applied to the registries,
5767
# ITMS acts as a fallback for tag-based pulls, while IDMS provides the primary
5868
# secure source for digests

0 commit comments

Comments
 (0)