12345678910111213141516171819202122232425262728293031323334353637383940 |
- {{/*
- query-scheduler fullname
- */}}
- {{- define "loki.querySchedulerFullname" -}}
- {{ include "loki.fullname" . }}-query-scheduler
- {{- end }}
- {{/*
- query-scheduler common labels
- */}}
- {{- define "loki.querySchedulerLabels" -}}
- {{ include "loki.labels" . }}
- app.kubernetes.io/component: query-scheduler
- {{- end }}
- {{/*
- query-scheduler selector labels
- */}}
- {{- define "loki.querySchedulerSelectorLabels" -}}
- {{ include "loki.selectorLabels" . }}
- app.kubernetes.io/component: query-scheduler
- {{- end }}
- {{/*
- query-scheduler image
- */}}
- {{- define "loki.querySchedulerImage" -}}
- {{- $dict := dict "loki" .Values.loki.image "service" .Values.queryScheduler.image "global" .Values.global.image "defaultVersion" .Chart.AppVersion -}}
- {{- include "loki.lokiImage" $dict -}}
- {{- end }}
- {{/*
- query-scheduler priority class name
- */}}
- {{- define "loki.querySchedulerPriorityClassName" -}}
- {{- $pcn := coalesce .Values.global.priorityClassName .Values.queryScheduler.priorityClassName -}}
- {{- if $pcn }}
- priorityClassName: {{ $pcn }}
- {{- end }}
- {{- end }}
|