_helpers-memcached-index-queries.tpl 850 B

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