apiVersion: apps/v1 kind: Deployment metadata: name: tasks spec: replicas: 1 selector: matchLabels: app: tasks template: metadata: labels: app: tasks spec: containers: - name: flush image: git.nyeki.dev/payphone/payphone-tasks:latest command: ["uv", "run", "--no-dev", "tasks.py", "flush"] resources: requests: memory: "250Mib" cpu: "100m" limits: memory: "1Gi" cpu: "1" - name: delete-accounts image: git.nyeki.dev/payphone/payphone-tasks:latest command: ["uv", "run", "--no-dev", "tasks.py", "delete-accounts"] resources: requests: memory: "250Mib" 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"] resources: requests: memory: "250Mib" cpu: "100m" limits: memory: "1Gi" cpu: "1" restartPolicy: OnFailure imagePullSecrets: - name: regcred