Allow HTTP01 challenge for ingresses

Signed-off-by: Gaëtan Ars <gaetanars@users.noreply.github.com>
This commit is contained in:
Gaëtan Ars 2020-10-29 16:02:51 +01:00
parent 4581c99a81
commit 524320c9b2

View file

@ -0,0 +1,16 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-acme
spec:
ingress:
- from:
- namespaceSelector: {}
ports:
- protocol: TCP
port: 8089
podSelector:
matchLabels:
acme.cert-manager.io/http01-solver: 'true'
policyTypes:
- Ingress