File tree Expand file tree Collapse file tree
roles/openshift_setup/tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 - " {{ cifmw_update_containers_registry }}"
3838 allowedRegistries : " {{ all_registries }}"
3939
40+ - name : Print cifmw_openshift_setup_digest_mirrors value
41+ ansible.builtin.debug :
42+ msg :
43+ - " Defined: {{ cifmw_openshift_setup_digest_mirrors is defined }}"
44+ - " Type: {{ cifmw_openshift_setup_digest_mirrors | type_debug }}"
45+ - " Value: {{ cifmw_openshift_setup_digest_mirrors | default('UNDEFINED') }}"
46+
47+ - name : Print cifmw_catalog_manifect value
48+ ansible.builtin.debug :
49+ msg :
50+ - " Defined: {{ cifmw_catalog_manifect is defined }}"
51+ - " Type: {{ cifmw_catalog_manifect | type_debug }}"
52+ - " Value: {{ cifmw_catalog_manifect | default('UNDEFINED') }}"
53+
4054- name : Create ImageDigestMirrorSet repository digest mirrors
4155 when :
4256 - cifmw_openshift_setup_digest_mirrors is defined
5367 spec :
5468 imageDigestMirrors : " {{ cifmw_openshift_setup_digest_mirrors }}"
5569
70+ - name : Create CatalogSource for OpenStack operators
71+ when :
72+ - cifmw_catalog_manifect is defined
73+ - cifmw_catalog_manifect | length > 0
74+ kubernetes.core.k8s :
75+ kubeconfig : " {{ cifmw_openshift_kubeconfig }}"
76+ api_key : " {{ cifmw_openshift_token | default(omit)}}"
77+ context : " {{ cifmw_openshift_context | default(omit)}}"
78+ definition : " {{ cifmw_catalog_manifect }}"
79+
5680# If both ImageDigestMirrorSet and ImageTagMirrorSet are applied to the registries,
5781# ITMS acts as a fallback for tag-based pulls, while IDMS provides the primary
5882# secure source for digests
You can’t perform that action at this time.
0 commit comments