values.yaml 443 B

123456789101112131415161718192021222324252627282930
  1. mode: daemonset
  2. global:
  3. image: busybox:latest
  4. initContainers:
  5. - name: test
  6. command:
  7. - cp
  8. args:
  9. - /bin/sleep
  10. - /test/sleep
  11. image: "{{ .Values.global.image }}"
  12. volumeMounts:
  13. - name: test
  14. mountPath: /test
  15. extraVolumes:
  16. - name: test
  17. emptyDir: {}
  18. extraVolumeMounts:
  19. - name: test
  20. mountPath: /test
  21. lifecycleHooks:
  22. preStop:
  23. exec:
  24. command:
  25. - /test/sleep
  26. - "5"