add harbor

Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
gwg313 2026-05-19 13:08:09 -04:00
parent d8e2543152
commit 8ca8f0b8ea
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
45 changed files with 322 additions and 805 deletions

View file

@ -0,0 +1,37 @@
apiVersion: "cilium.io/v2"
kind: CiliumNetworkPolicy
metadata:
name: harbor-intra-namespace-allow
namespace: harbor
spec:
description: "Allow all internal Harbor microservices to talk to each other cleanly"
endpointSelector:
matchLabels:
app: harbor
ingress:
- fromEndpoints:
- matchLabels:
io.kubernetes.pod.namespace: harbor
egress:
- toEndpoints:
- matchLabels:
io.kubernetes.pod.namespace: harbor
---
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: allow-ingress
namespace: harbor
spec:
description: "Allow external traffic from the shared Cilium edge proxy into the harbor namespace services"
endpointSelector:
matchLabels: {}
ingress:
- fromEntities:
- ingress
toPorts:
- ports:
- port: "80"
protocol: TCP
- port: "8080"
protocol: TCP