38 lines
865 B
YAML
38 lines
865 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: tester
|
|
spec:
|
|
replicas: 0
|
|
selector:
|
|
matchLabels:
|
|
app: tester
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: tester
|
|
spec:
|
|
containers:
|
|
- command:
|
|
- sleep
|
|
- "1000000"
|
|
env:
|
|
- name: FAIRCAMP_SITES
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: faircamp-sites
|
|
key: faircamp_sites
|
|
image: git.martyn.berlin/martyn/rclone-faircamp:latest
|
|
name: shell
|
|
volumeMounts:
|
|
- mountPath: /rclone-output
|
|
name: faircamp-data
|
|
- mountPath: /root/.config/rclone
|
|
name: rclone-config
|
|
volumes:
|
|
- name: faircamp-data
|
|
persistentVolumeClaim:
|
|
claimName: faircamp-data
|
|
- name: rclone-config
|
|
secret:
|
|
secretName: rclone-config
|