From 0357159502c63ff939cebf7e8f9f68681159b90b Mon Sep 17 00:00:00 2001 From: Johannes Wicovsky Date: Wed, 1 Feb 2023 14:36:42 +0100 Subject: [PATCH] add netpol to fahrzeugschein-digital from connect --- ...ol_egress-connect2fahrzeugscheindigital.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 templates/netpol_egress-connect2fahrzeugscheindigital.yaml diff --git a/templates/netpol_egress-connect2fahrzeugscheindigital.yaml b/templates/netpol_egress-connect2fahrzeugscheindigital.yaml new file mode 100644 index 0000000..8c7cb92 --- /dev/null +++ b/templates/netpol_egress-connect2fahrzeugscheindigital.yaml @@ -0,0 +1,17 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: egress-connect2fahrzeugscheindigital +spec: + egress: + - ports: + - port: 443 + protocol: TCP + to: + - ipBlock: + cidr: 185.125.172.171/32 + podSelector: + matchLabels: + app: connect + policyTypes: + - Egress