flux-system: tweak network

This commit is contained in:
Earl Warren 2024-10-23 14:46:42 +02:00
parent 121be0d37e
commit 491bb3e407
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -47,3 +47,21 @@ spec:
kind: GitRepository kind: GitRepository
# matching the GitRepository in gotk-sync.yaml # matching the GitRepository in gotk-sync.yaml
name: flux-system name: flux-system
---
#
# The discussion that led to adding the following is
# https://matrix.to/#/!NdTYAXrlSgIkGNiPgQ:matrix.org/$fUvRAhXEnubBTxbads0unHm7UWUGfciX_3TcoIv7xKc?via=schinas.net&via=matrix.org&via=mozilla.org
#
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: cert-manager-acme-http-solver
namespace: flux-system
spec:
podSelector:
matchLabels:
acme.cert-manager.io/http01-solver: 'true'
ingress:
- {}
policyTypes:
- Ingress