gitops-ui: allow acme solver ingress from traefik

This commit is contained in:
Brad Stein 2025-12-14 15:08:44 -03:00
parent 85cea34fe8
commit 6993f51ef7
2 changed files with 18 additions and 0 deletions

View File

@ -6,3 +6,4 @@ resources:
- source.yaml - source.yaml
- helmrelease.yaml - helmrelease.yaml
- certificate.yaml - certificate.yaml
- networkpolicy-acme.yaml

View File

@ -0,0 +1,17 @@
# services/gitops-ui/networkpolicy-acme.yaml
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-acme-solver
namespace: flux-system
spec:
podSelector:
matchLabels:
acme.cert-manager.io/http01-solver: "true"
policyTypes:
- Ingress
ingress:
- from:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: traefik