fix: allow tailnet access to flux ui
This commit is contained in:
@@ -3,4 +3,5 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
- ocirepository-weave-gitops.yaml
|
- ocirepository-weave-gitops.yaml
|
||||||
- helmrelease-weave-gitops.yaml
|
- helmrelease-weave-gitops.yaml
|
||||||
|
- networkpolicy-weave-gitops-tailscale.yaml
|
||||||
- weave-gitops-tailscale-service.yaml
|
- weave-gitops-tailscale-service.yaml
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: NetworkPolicy
|
||||||
|
metadata:
|
||||||
|
name: weave-gitops-tailscale-ingress
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
podSelector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: weave-gitops
|
||||||
|
policyTypes:
|
||||||
|
- Ingress
|
||||||
|
ingress:
|
||||||
|
- from:
|
||||||
|
- namespaceSelector:
|
||||||
|
matchLabels:
|
||||||
|
kubernetes.io/metadata.name: tailscale-system
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 9001
|
||||||
Reference in New Issue
Block a user