33 lines
740 B
Smarty
33 lines
740 B
Smarty
|
{{/*
|
||
|
table-manager fullname
|
||
|
*/}}
|
||
|
{{- define "loki.tableManagerFullname" -}}
|
||
|
{{ include "loki.fullname" . }}-table-manager
|
||
|
{{- end }}
|
||
|
|
||
|
{{/*
|
||
|
table-manager common labels
|
||
|
*/}}
|
||
|
{{- define "loki.tableManagerLabels" -}}
|
||
|
{{ include "loki.labels" . }}
|
||
|
app.kubernetes.io/component: table-manager
|
||
|
{{- end }}
|
||
|
|
||
|
{{/*
|
||
|
table-manager selector labels
|
||
|
*/}}
|
||
|
{{- define "loki.tableManagerSelectorLabels" -}}
|
||
|
{{ include "loki.selectorLabels" . }}
|
||
|
app.kubernetes.io/component: table-manager
|
||
|
{{- end }}
|
||
|
|
||
|
{{/*
|
||
|
table-manager priority class name
|
||
|
*/}}
|
||
|
{{- define "loki.tableManagerPriorityClassName" -}}
|
||
|
{{- $pcn := coalesce .Values.global.priorityClassName .Values.tableManager.priorityClassName -}}
|
||
|
{{- if $pcn }}
|
||
|
priorityClassName: {{ $pcn }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|