1
0
Fork 0
gitlab-wmf-ircservserv-config/toolforge/deployment.yaml
Taavi Väänänen 78b6b4810d
Use buster-sssd instead of buster-standalone to have git
Change-Id: Ib90f9041a9440d36f36dba5218fb2b7ce0deaeb2
2021-05-25 18:57:38 +03:00

33 lines
834 B
YAML

---
# Run ircservserv on kubernetes
# Adapted from stashbot's deployment file
apiVersion: apps/v1
kind: Deployment
metadata:
name: ircservserv
namespace: tool-ircservserv
labels:
name: ircservserv
toolforge: tool
spec:
replicas: 1
selector:
matchLabels:
name: ircservserv
toolforge: tool
template:
metadata:
labels:
name: ircservserv
# Mount NFS
toolforge: tool
spec:
containers:
- name: ircservserv
image: docker-registry.tools.wmflabs.org/toolforge-buster-sssd:latest
command: [ "/data/project/ircservserv/ircservserv-config/toolforge/manage.sh", "run" ]
workingDir: /data/project/ircservserv
env:
- name: HOME
value: /data/project/ircservserv
imagePullPolicy: Always