Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: apps/v1beta1
- kind: Deployment
- metadata:
- name: immortalcontainers-controller
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: immortalcontainers-controller
- template:
- metadata:
- labels:
- app: immortalcontainers-controller
- spec:
- containers:
- - name: controller
- image: python:3.7
- command: ["python", "-u", "/hooks/sync.py"]
- volumeMounts:
- - name: hooks
- mountPath: /hooks
- volumes:
- - name: hooks
- configMap:
- name: immortalcontainers-controller
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement