openshift: update egressPolicy for iad2

This commit is contained in:
Francois Andrieu 2021-04-01 22:42:07 +02:00 committed by kevin
parent a3021f650c
commit 492fe4f671
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
--- ---
allow_fas_db: false allow_fas_db: false
allow_phx2: true allow_iad2: true
egress_policy_template: "{{roles_path}}/openshift/project/templates/egresspolicy.yml" egress_policy_template: "{{roles_path}}/openshift/project/templates/egresspolicy.yml"

View file

@ -9,14 +9,14 @@ spec:
{% if env == "staging" %} {% if env == "staging" %}
- type: Deny - type: Deny
to: to:
cidrSelector: "10.5.128.96/32" cidrSelector: "10.3.166.34/32"
{% else %} {% else %}
- type: Deny - type: Deny
to: to:
cidrSelector: "10.5.126.99/32" cidrSelector: "10.3.163.42/32"
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if not allow_phx2 %} {% if not allow_iad2 %}
- type: Deny - type: Deny
to: to:
cidrSelector: "10.0.0.0/8" cidrSelector: "10.0.0.0/8"