_helpers-memcached-index-writes.tpl 838 B

1234567891011121314151617181920212223242526272829303132
  1. {{/*
  2. memcached-index-writes fullname
  3. */}}
  4. {{- define "loki.memcachedIndexWritesFullname" -}}
  5. {{ include "loki.fullname" . }}-memcached-index-writes
  6. {{- end }}
  7. {{/*
  8. memcached-index-writes fullname
  9. */}}
  10. {{- define "loki.memcachedIndexWritesLabels" -}}
  11. {{ include "loki.labels" . }}
  12. app.kubernetes.io/component: memcached-index-writes
  13. {{- end }}
  14. {{/*
  15. memcached-index-writes selector labels
  16. */}}
  17. {{- define "loki.memcachedIndexWritesSelectorLabels" -}}
  18. {{ include "loki.selectorLabels" . }}
  19. app.kubernetes.io/component: memcached-index-writes
  20. {{- end }}
  21. {{/*
  22. memcached-index-writes priority class name
  23. */}}
  24. {{- define "loki.memcachedIndexWritesPriorityClassName" -}}
  25. {{- $pcn := coalesce .Values.global.priorityClassName .Values.memcachedIndexWrites.priorityClassName -}}
  26. {{- if $pcn }}
  27. priorityClassName: {{ $pcn }}
  28. {{- end }}
  29. {{- end }}