diff --git a/values/ncps/manifests/policies/allow-cache-nixos.yaml b/values/ncps/manifests/policies/allow-cache-nixos.yaml new file mode 100644 index 00000000..90fb8002 --- /dev/null +++ b/values/ncps/manifests/policies/allow-cache-nixos.yaml @@ -0,0 +1,12 @@ +apiVersion: cilium.io/v2 +kind: CiliumNetworkPolicy +metadata: + name: allow-cache-nixos + namespace: ncps +spec: + egress: + - toFQDNs: + - matchPattern: 'cache.nixos.org' + endpointSelector: + matchLabels: + app.kubernetes.io/name: nix-cache