fix(minecraft): netpols

This commit is contained in:
JJGadgets
2023-11-27 09:30:25 +08:00
parent b5c9f6df18
commit ffd4f2fe0e
3 changed files with 5 additions and 2 deletions

View File

@@ -21,6 +21,7 @@ spec:
pod:
labels:
egress.home.arpa/world: "true"
egress.home.arpa/world-https: "true"
containers:
main:
image: &image

View File

@@ -24,4 +24,6 @@ spec:
# same namespace
- toEndpoints:
- matchLabels:
io.kubernetes.pod.namespace: *app
io.kubernetes.pod.namespace: *app
- toEntities:
- world

View File

@@ -19,7 +19,7 @@ metadata:
spec:
sourcePVC: "minecraft-data"
trigger:
schedule: "0 6 * * *"
schedule: "0 22 * * *" # 6am GMT+8
restic:
copyMethod: "Snapshot"
pruneIntervalDays: 14