diff --git a/infrastructure/postgres/user-namespace-network-policy.yaml b/infrastructure/postgres/user-namespace-network-policy.yaml
index 8f628e76770afd514b2badd47632659e4fccaead..c51b72587f3d6490258e060345547eb88fb017f0 100644
--- a/infrastructure/postgres/user-namespace-network-policy.yaml
+++ b/infrastructure/postgres/user-namespace-network-policy.yaml
@@ -21,11 +21,11 @@ spec:
                 matchLabels:
                   name: zalando-postgres
             ports:
-            - containerPort: 8008
+            - port: 8008
               protocol: TCP
-            - containerPort: 5432
+            - port: 5432
               protocol: TCP
-            - containerPort: 8080
+            - port: 8080
               protocol: TCP
           podSelector:
             matchLabels: