mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-03-21 23:39:48 +00:00
fix(sandstorm): netpols
This commit is contained in:
@@ -23,6 +23,7 @@ spec:
|
||||
pod:
|
||||
labels:
|
||||
ingress.home.arpa/world: allow
|
||||
dns.home.arpa/l7: "true"
|
||||
containers:
|
||||
main:
|
||||
image: &img
|
||||
@@ -47,7 +48,7 @@ spec:
|
||||
drop: ["ALL"]
|
||||
resources:
|
||||
requests:
|
||||
cpu: "10m"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
cpu: "2"
|
||||
memory: "2Gi"
|
||||
@@ -78,7 +79,7 @@ spec:
|
||||
cpu: "300m"
|
||||
limits:
|
||||
cpu: "1"
|
||||
memory: "128Mi"
|
||||
memory: "256Mi"
|
||||
service:
|
||||
insurgency-sandstorm:
|
||||
controller: insurgency-sandstorm
|
||||
|
||||
12
kube/deploy/apps/insurgency-sandstorm/app/netpol.yaml
Normal file
12
kube/deploy/apps/insurgency-sandstorm/app/netpol.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://crds.jank.ing/cilium.io/ciliumnetworkpolicy_v2.json
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: &app insurgency-sandstorm
|
||||
namespace: *app
|
||||
spec:
|
||||
endpointSelector: {}
|
||||
egress:
|
||||
- toFQDNs:
|
||||
- matchPattern: "*.mod.io"
|
||||
Reference in New Issue
Block a user