Skip to content

Commit

Permalink
Merge pull request #18 from bgraef/main
Browse files Browse the repository at this point in the history
create var to enable ingress for lb
  • Loading branch information
bgraef authored Jun 12, 2024
2 parents dfc144d + 5af9fba commit 689986c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ocne/default_vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
14 changes: 14 additions & 0 deletions ocne/templates/ingress_security_rules.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 689986c

Please sign in to comment.