diff --git a/shared/networkpolicies/allow-to-database.yaml b/shared/networkpolicies/allow-to-database.yaml index 5048be934e1cbbb23d0cbccbe53b2f3a97ecd356..d3746fd2cfd9e179ed0cf8efccf5f9afb08f836c 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: