diff --git a/shared/networkpolicies/allow-from-database.yaml b/shared/networkpolicies/allow-from-database.yaml index e10a83f8a02ec93ad45b468897823328a9804942..2e72b08f1f7d6f8ae8ff135aafa7df904ea34e3d 100644 --- a/shared/networkpolicies/allow-from-database.yaml +++ b/shared/networkpolicies/allow-from-database.yaml @@ -38,6 +38,21 @@ spec: protocol: TCP - port: 8008 protocol: TCP + - from: + - podSelector: + matchExpressions: + - key: application + operator: In + values: + - spilo + matchLabels: {} + ports: + - port: 8008 + protocol: TCP + - port: 5432 + protocol: TCP + - port: 8080 + protocol: TCP podSelector: matchExpressions: - key: application