Ocelot-Social/deployment/legacy-migration/db-migration-worker.yaml
Robert Schäfer 31cff10206 Clean up kubernetes config for maintenance-worker
We're going into the direction of removing the backend and database
deployments, accessing `/uploads` and `/data` through the maintenance
worker pod and carrying out tasks from there.
2019-04-24 01:10:35 +02:00

25 lines
558 B
YAML

---
kind: Pod
apiVersion: v1
metadata:
name: nitro-maintenance-worker
namespace: human-connection
spec:
volumes:
- name: secret-volume
secret:
secretName: ssh-keys
defaultMode: 0400
containers:
- name: nitro-maintenance-worker
image: humanconnection/maintenance-worker:latest
envFrom:
- configMapRef:
name: maintenance-worker
- configMapRef:
name: configmap
volumeMounts:
- name: secret-volume
readOnly: false
mountPath: /root/.ssh