Guest User

Untitled

a guest
Aug 24th, 2019
69
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apiVersion: apps/v1beta1
  2. kind: Deployment
  3. metadata:
  4. name: immortalcontainers-controller
  5. spec:
  6. replicas: 1
  7. selector:
  8. matchLabels:
  9. app: immortalcontainers-controller
  10. template:
  11. metadata:
  12. labels:
  13. app: immortalcontainers-controller
  14. spec:
  15. containers:
  16. - name: controller
  17. image: python:3.7
  18. command: ["python", "-u", "/hooks/sync.py"]
  19. volumeMounts:
  20. - name: hooks
  21. mountPath: /hooks
  22. volumes:
  23. - name: hooks
  24. configMap:
  25. name: immortalcontainers-controller
RAW Paste Data