commit 7105b0e6d9be0518258057e4024f8498b19cbc6a parent ce946bf4e7a8044b56111ae2e439592de59a8cc9 Author: MTRNord <mtrnord1@gmail.com> Date: Mon, 11 Sep 2023 12:25:06 +0200 Add certmanager ingress policy 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 @@ -74,3 +74,20 @@ spec: - kind: HelmRelease name: weave-gitops namespace: flux-system +--- +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: allow-certmanager-ingress +spec: + podSelector: + matchLabels: + acme.cert-manager.io/http01-solver: true + ingress: + - ports: + - protocol: TCP + port: 8089 + from: + - podSelector: {} + policyTypes: + - Ingress