fix(immich): netpols to huggingface

This commit is contained in:
JJGadgets
2024-05-14 00:05:15 +08:00
parent acbd8e78f1
commit 561e438ed4

View File

@@ -0,0 +1,18 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/cilium.io/ciliumnetworkpolicy_v2.json
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: &app immich
namespace: *app
spec:
endpointSelector:
matchLabels:
app.kubernetes.io/name: *app
app.kubernetes.io/component: ml
egress:
- toFQDNs:
- matchPattern: "huggingface.co"
toPorts:
- ports:
- port: "443"