fix: Everything.

This commit is contained in:
Nyeki.py
2024-11-16 00:03:39 -03:00
parent a7f64de5b4
commit 0feeb3428d
2 changed files with 12 additions and 20 deletions
+7 -14
View File
@@ -4,9 +4,12 @@ metadata:
name: tasks
spec:
containers:
- name: flush
- name: connect
image: git.nyeki.dev/payphone/payphone-tasks:latest
command: ["uv", "run", "--no-dev", "tasks.py", "flush"]
command: ["uv", "run", "--no-dev", "tasks.py", "connect"]
envFrom:
- secretRef:
name: bot-secrets
resources:
requests:
memory: "250Mi"
@@ -14,19 +17,9 @@ spec:
limits:
memory: "1Gi"
cpu: "1"
- name: delete-accounts
- name: expire
image: git.nyeki.dev/payphone/payphone-tasks:latest
command: ["uv", "run", "--no-dev", "tasks.py", "delete-accounts"]
resources:
requests:
memory: "250Mi"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "1"
- name: hangup-inactive-calls
image: git.nyeki.dev/payphone/payphone-tasks:latest
command: ["uv", "run", "--no-dev", "tasks.py", "hangup-inactive-calls"]
command: ["uv", "run", "--no-dev", "tasks.py", "expire"]
envFrom:
- secretRef:
name: bot-secrets