Prepares the target OpenShift cluster to be used by further steps:
- Project/Namespace creation
No privilege escalation needed.
cifmw_openshift_setup_dry_run: (Boolean) Skips resources creation. Defaults tofalse.cifmw_openshift_setup_create_namespaces: (Strings) Namespaces to create beforehand. Defaults to[].cifmw_openshift_setup_skip_internal_registry: (Boolean) Skips login and setup of the Internal Openshift registry. Defaults tofalse.cifmw_openshift_setup_skip_internal_registry_tls_verify: (Boolean) Skip TLS verification for Podman login. Defaults tofalse.cifmw_openshift_setup_ca_registry_to_add: (String) Registry to which the CA should be configured for in an OCP/CRC cluster.cifmw_openshift_setup_ca_bundle_path: (String) Path to the CA bundle. Defaults to/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem. Only has an effect ifcifmw_openshift_setup_ca_registry_to_addis set.cifmw_openshift_setup_digest_mirrors: (List) List of alternative mirrored repository locations for digest-based image pulls. Used to create ImageDigestMirrorSet resources. Defaults to[].- Example:
cifmw_openshift_setup_digest_mirrors: - source: quay.io mirrors: - mirror.quay.io - source: quay.rdoproject.org mirrors: - mirror.quay.rdoproject.org
- Example:
cifmw_openshift_setup_tag_mirrors: (List) List of alternative mirrored repository locations for tag-based image pulls. Used to create ImageTagMirrorSet resources. When both digest and tag mirrors are configured, digest mirrors take precedence for digest-based pulls, while tag mirrors act as a fallback for tag-based pulls. Defaults to[].- Example:
cifmw_openshift_setup_tag_mirrors: - source: quay.io mirrors: - mirror.quay.io - source: registry.redhat.io mirrors: - my-mirror.example.com
- Example:
cifmw_openshift_setup_allowed_registries: (List) List of allowed registries when setting up insecure registry configuration. Used in conjunction withcifmw_update_containers_registry. Defaults to common registries.- Example:
cifmw_openshift_setup_allowed_registries: - "quay.io" - "registry.redhat.io" - "my-internal-registry.example.com"
- Example:
cifmw_openshift_setup_allowed_extra_registries: (List) List of extra registries we want to allow. Intended to be by CI jobs using the framework.cifmw_openshift_setup_apply_marketplace_fix: (Boolean) Apply openshift-marketplace workaround which is recreating all pods in the namespace. NOTE: same step is done inbasejob.cifmw_openshift_setup_samples_registry: (String) Registry sample