12345678910111213141516171819202122232425262728293031323334353637383940 |
- {{/*
- querier fullname
- */}}
- {{- define "loki.querierFullname" -}}
- {{ include "loki.fullname" . }}-querier
- {{- end }}
- {{/*
- querier common labels
- */}}
- {{- define "loki.querierLabels" -}}
- {{ include "loki.labels" . }}
- app.kubernetes.io/component: querier
- {{- end }}
- {{/*
- querier selector labels
- */}}
- {{- define "loki.querierSelectorLabels" -}}
- {{ include "loki.selectorLabels" . }}
- app.kubernetes.io/component: querier
- {{- end }}
- {{/*
- querier image
- */}}
- {{- define "loki.querierImage" -}}
- {{- $dict := dict "loki" .Values.loki.image "service" .Values.querier.image "global" .Values.global.image "defaultVersion" .Chart.AppVersion -}}
- {{- include "loki.lokiImage" $dict -}}
- {{- end }}
- {{/*
- querier priority class name
- */}}
- {{- define "loki.querierPriorityClassName" -}}
- {{- $pcn := coalesce .Values.global.priorityClassName .Values.querier.priorityClassName -}}
- {{- if $pcn }}
- priorityClassName: {{ $pcn }}
- {{- end }}
- {{- end }}
|