commit b8c6ab575b62fae3a6e407d3d0d8f7a68f610092 parent a1497605c9cfd695e37f7fa24bd6d4f7e0c3f1e2 Author: MTRNord <mtrnord1@gmail.com> Date: Wed, 20 Mar 2024 11:56:07 +0100 Fix networkpolicies Diffstat:
| M | infrastructure/controllers/weave-gitops.yaml | | | 17 | +++++++++++++++++ |
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git a/infrastructure/controllers/weave-gitops.yaml b/infrastructure/controllers/weave-gitops.yaml @@ -92,3 +92,20 @@ spec: port: 8089 policyTypes: - Ingress +--- +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: allow-weave + namespace: flux-system +spec: + podSelector: + matchLabels: + app.kubernetes.io/instance: weave-gitops + ingress: + - ports: + - protocol: TCP + port: 9001 + policyTypes: + - Ingress +