daemonset.yaml 581 B

123456789101112131415161718192021
  1. {{- if .Values.daemonset.enabled }}
  2. apiVersion: apps/v1
  3. kind: DaemonSet
  4. metadata:
  5. name: {{ include "promtail.fullname" . }}
  6. namespace: {{ include "promtail.namespaceName" . }}
  7. labels:
  8. {{- include "promtail.labels" . | nindent 4 }}
  9. {{- with .Values.annotations }}
  10. annotations:
  11. {{- toYaml . | nindent 4 }}
  12. {{- end }}
  13. spec:
  14. selector:
  15. matchLabels:
  16. {{- include "promtail.selectorLabels" . | nindent 6 }}
  17. updateStrategy:
  18. {{- toYaml .Values.updateStrategy | nindent 4 }}
  19. template:
  20. {{- include "promtail.podTemplate" . | nindent 4 }}
  21. {{- end }}