diff --git a/infra/k8s/network-policies/infrastructure.yaml b/infra/k8s/network-policies/infrastructure.yaml index ca1d7bdc2..bb46aca24 100644 --- a/infra/k8s/network-policies/infrastructure.yaml +++ b/infra/k8s/network-policies/infrastructure.yaml @@ -50,7 +50,7 @@ spec: - protocol: TCP port: 6379 --- -# Minio: accepts connections from foxhunt app pods (S3 API) +# Minio: accepts connections from foxhunt app pods + GitLab (S3 API) apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: @@ -69,6 +69,9 @@ spec: - key: app.kubernetes.io/part-of operator: In values: ["foxhunt"] + - podSelector: + matchLabels: + release: gitlab ports: - protocol: TCP port: 9000