Add dedicated Cloudflare Tunnel for portfolio

This commit is contained in:
2026-07-16 06:08:54 +00:00
parent 4b8aeb524e
commit 08c458a078
12 changed files with 447 additions and 0 deletions
+28
View File
@@ -39,3 +39,31 @@ spec:
ports:
- protocol: TCP
port: 8080
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-portfolio-edge
namespace: portfolio
labels:
app.kubernetes.io/name: portfolio
app.kubernetes.io/part-of: portfolio-platform
spec:
podSelector:
matchLabels:
app.kubernetes.io/name: portfolio
app.kubernetes.io/instance: portfolio
policyTypes:
- Ingress
ingress:
- from:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: portfolio-edge
podSelector:
matchLabels:
app.kubernetes.io/name: cloudflared
app.kubernetes.io/instance: portfolio-edge
ports:
- protocol: TCP
port: 8080