gitops-ui: allow acme solver ingress from traefik
This commit is contained in:
parent
85cea34fe8
commit
6993f51ef7
@ -6,3 +6,4 @@ resources:
|
|||||||
- source.yaml
|
- source.yaml
|
||||||
- helmrelease.yaml
|
- helmrelease.yaml
|
||||||
- certificate.yaml
|
- certificate.yaml
|
||||||
|
- networkpolicy-acme.yaml
|
||||||
|
|||||||
17
services/gitops-ui/networkpolicy-acme.yaml
Normal file
17
services/gitops-ui/networkpolicy-acme.yaml
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user