diff --git a/ocne/default_vars.yml b/ocne/default_vars.yml index dcc26cc..1a734cf 100644 --- a/ocne/default_vars.yml +++ b/ocne/default_vars.yml @@ -28,9 +28,10 @@ use_oci_ccm: false use_istio: false use_fss: false add_ceph_block_storage: false +ceph_volume_size_in_gbs: 50 add_ceph_deployments: false use_ocir: false -ceph_volume_size_in_gbs: 50 +use_ingress_lb: false ol8_enable_repo: "ol8_olcne18" ol8_disable_repo: "ol8_olcne12 ol8_olcne13 ol8_olcne14 ol8_olcne15 ol8_olcne16 ol8_olcne17" ol9_enable_repo: "ol9_olcne18" diff --git a/ocne/templates/ingress_security_rules.j2 b/ocne/templates/ingress_security_rules.j2 index 7c187b9..9e85551 100644 --- a/ocne/templates/ingress_security_rules.j2 +++ b/ocne/templates/ingress_security_rules.j2 @@ -12,6 +12,20 @@ instance_ingress_security_rules: destination_port_range: max: 22 min: 22 +{% if use_ingress_lb %} + - source: "0.0.0.0/0" + protocol: 6 + tcp_options: + destination_port_range: + max: 80 + min: 80 + - source: "0.0.0.0/0" + protocol: 6 + tcp_options: + destination_port_range: + max: 443 + min: 443 +{% endif %} - source: "0.0.0.0/0" protocol: 1 icmp_options: