This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
valinor/archive/fediverse/mastodon/app/tootctl/pod.yaml

28 lines
654 B
YAML
Raw Normal View History

2023-08-13 12:13:53 -05:00
apiVersion: v1
kind: Pod
metadata:
name: mastodon-tootctl
namespace: fediverse
spec:
containers:
- name: mastodon-tootctl
image: tootsuite/mastodon:latest@sha256:51405bec6529860c88640bbca3d30bf3a9a82456a3fdae122dc52f4f941808ff
command: ["/bin/bash", "-c", "--"]
args: ["while true; do sleep 30; done;"]
envFrom:
- secretRef:
name: mastodon-secret
env:
- name: DB_NAME
value: "mastodon"
- name: DB_PORT
value: "5432"
resources:
limits:
cpu: "1"
memory: "2Gi"
requests:
cpu: "50m"
memory: "256Mi"