_helpers-memcached-chunks.tpl 771 Bytes
Newer Older
Vũ Hoàng Nam's avatar
Vũ Hoàng Nam committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
{{/*
memcached-chunks fullname
*/}}
{{- define "loki.memcachedChunksFullname" -}}
{{ include "loki.fullname" . }}-memcached-chunks
{{- end }}

{{/*
memcached-chunks fullname
*/}}
{{- define "loki.memcachedChunksLabels" -}}
{{ include "loki.labels" . }}
app.kubernetes.io/component: memcached-chunks
{{- end }}

{{/*
memcached-chunks selector labels
*/}}
{{- define "loki.memcachedChunksSelectorLabels" -}}
{{ include "loki.selectorLabels" . }}
app.kubernetes.io/component: memcached-chunks
{{- end }}

{{/*
memcached-chunks priority class name
*/}}
{{- define "loki.memcachedChunksPriorityClassName" -}}
{{- $pcn := coalesce .Values.global.priorityClassName .Values.memcachedChunks.priorityClassName -}}
{{- if $pcn }}
priorityClassName: {{ $pcn }}
{{- end }}
{{- end }}