dustin.web/ci/podTemplate.yaml

24 lines
527 B
YAML

spec:
securityContext:
runAsUser: 1000
containers:
- name: zola
image: git.pyrocufflink.net/containerimages/zola
- name: python
image: docker.io/python:3
command:
- python
args:
- -c
- |-
import signal
signal.signal(signal.SIGTERM, lambda x, y: None)
signal.pause()
- name: rsync
image: git.pyrocufflink.net/containerimages/rsync
volumeMounts:
- mountPath: /etc/ssh/ssh_known_hosts
name: volume-0
subPath: ssh_known_hosts
readOnly: true