diff --git a/infra/k8s/network-policies/infrastructure.yaml b/infra/k8s/network-policies/infrastructure.yaml index bb46aca24..cd6f381b5 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 + GitLab (S3 API) +# Minio: accepts connections from foxhunt app pods, GitLab, and init jobs apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: @@ -72,6 +72,9 @@ spec: - podSelector: matchLabels: release: gitlab + - podSelector: + matchLabels: + app.kubernetes.io/name: minio-init ports: - protocol: TCP port: 9000