From 563c61a5c63e6ebb31cfee04c2b095ed162aefbe Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Sun, 5 Nov 2023 18:30:31 +0100 Subject: [PATCH] fix(shared): Use NAS IP directly --- shared/networkpolicies/allow-to-database.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/shared/networkpolicies/allow-to-database.yaml b/shared/networkpolicies/allow-to-database.yaml index 5048be934..d3746fd2c 100644 --- a/shared/networkpolicies/allow-to-database.yaml +++ b/shared/networkpolicies/allow-to-database.yaml @@ -7,17 +7,11 @@ spec: - Ingress ingress: - to: - - namespaceSelector: - matchLabels: - kubernetes.io/metadata.name: nginx-system - podSelector: - matchLabels: - app.kubernetes.io/name: haproxy + - ipBlock: + cidr: 192.168.100.60/32 ports: - protocol: TCP - port: 80 - - protocol: TCP - port: 443 + port: 9000 - to: podSelector: matchLabels: -- GitLab