_helpers-memcached-chunks.tpl 771 B

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