File tree Expand file tree Collapse file tree
automation-roles/50-install-cloud-pak
cp4d-catalog-source/templates
cp4d-prepare-openshift/templates
cpfs/cp-fs-cluster-components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11case-download \
22 --release={{ _p_cp4d_version }} \
3- {% if not (_cp_alt_repo_used | default (False )) -%}
3+ {% if not (_cp_alt_repo_used | default (False )) and ( _p_current_cp 4 d_cluster . from_oci | default ( True )) -%}
44 --from_oci=true \
55{% endif -%}
66{% if _p_cp 4d_version >= '5.3.0' -%}
Original file line number Diff line number Diff line change 11apply-olm \
22 --release={{ _p_cp4d_version }} \
33 --case_download={% - if cpd_airgap | default (False ) | bool -%} false{% - else -%} true{% - endif %} \
4- {% if not (_cp_alt_repo_used | default (False )) -%}
4+ {% if not (_cp_alt_repo_used | default (False )) and ( _p_current_cp 4 d_cluster . from_oci | default ( True )) -%}
55 --from_oci=true \
66{% endif -%}
77 --catsrc=true --sub=false \
Original file line number Diff line number Diff line change 3030 _p_openshift_cluster_name : " {{ current_cp4d_cluster.openshift_cluster_name }}"
3131 _p_license_threads_per_core : " {{ _cp_fs.license_service.threads_per_core | default(1) }}"
3232 _p_ibm_cert_manager : " {{ current_cp4d_cluster.ibm_cert_manager | default(false) }}"
33+ _p_from_oci : " {{ current_cp4d_cluster.from_oci | default(True) }}"
3334 _p_migrate_topology : False
3435 _p_preview : False
3536
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ setup-instance-topology \
22 --cpd_operator_ns={{ current_cp4d_cluster.operators_project }} \
33 --cpd_instance_ns={{ current_cp4d_cluster.project }} \
44 --release={{ _p_cp4d_version }} \
5- {% if not (_cp_alt_repo_used | default (False )) -%}
5+ {% if not (_cp_alt_repo_used | default (False )) and ( current_cp 4 d_cluster . from_oci | default ( True )) -%}
66 --from_oci=true \
77{% endif -%}
88 --block_storage_class={{ ocp_storage_class_block }} \
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ setup-instance \
22 --cpd_operator_ns={{ current_cp4d_cluster.operators_project }} \
33 --cpd_instance_ns={{ current_cp4d_cluster.project }} \
44 --release={{ _p_cp4d_version }} \
5- {% if not _cp_alt_repo_used -%}
5+ {% if not ( _cp_alt_repo_used | default ( False )) and ( current_cp 4 d_cluster . from_oci | default ( True )) -%}
66 --from_oci=true \
77{% endif -%}
88 --block_storage_class={{ ocp_storage_class_block }} \
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ deploy-knative-eventing \
22 --release={{ _p_cp4d_version }} \
33 --block_storage_class={{ ocp_storage_class_block }} \
44 --events_operator_ns=ibm-knative-events \
5- {% if not (_cp_alt_repo_used | default (False )) -%}
5+ {% if not (_cp_alt_repo_used | default (False )) and ( current_cp 4 d_cluster . from_oci | default ( True )) -%}
66 --from_oci=true
77{% endif -%}
Original file line number Diff line number Diff line change 22- set_fact :
33 _threads_per_core : " {{ _p_license_threads_per_core | default(1) }}"
44 _ibm_cert_manager : " {{ _p_ibm_cert_manager | default(False) | bool }}"
5+ _from_oci : " {{ _p_from_oci | default(True) | bool }}"
56
67- include_role :
78 name : cp4d-get-latest-version
Original file line number Diff line number Diff line change 11apply-cluster-components \
22 --release={{ _p_cp4d_version }} \
33 --license_acceptance=true \
4- {% if not (_cp_alt_repo_used | default (False )) -%}
4+ {% if not (_cp_alt_repo_used | default (False )) and ( _from_oci | default ( True )) -%}
55 --from_oci=true \
66{% endif -%}
77{% if _p_migrate_topology | default (False ) -%}
You can’t perform that action at this time.
0 commit comments