20 lines
432 B
YAML
20 lines
432 B
YAML
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
|