From 30434308058e9a6a4b40360669b99a1fdf05661c Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Tue, 6 Feb 2024 03:18:17 +0100
Subject: [PATCH] fix(shared): Remove matchLabel since labels on postgres pods
 are limited

The operator only transfers a predefined set of labels over to the
database Pods, therefore using matchLabels here, will result in a
non-functional network policy.
---
 shared/networkpolicies/allow-from-database.yaml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/shared/networkpolicies/allow-from-database.yaml b/shared/networkpolicies/allow-from-database.yaml
index 2e72b08f1..bd124bfe2 100644
--- a/shared/networkpolicies/allow-from-database.yaml
+++ b/shared/networkpolicies/allow-from-database.yaml
@@ -45,7 +45,6 @@ spec:
             operator: In
             values:
               - spilo
-        matchLabels: {}
     ports:
     - port: 8008
       protocol: TCP
-- 
GitLab