Helm: Add podlabels to backend (#8398)

Co-authored-by: Travis Patterson <travis.patterson@grafana.com>
pull/8364/head^2
Jim Gustavsson 3 years ago committed by GitHub
parent 8ed5dd84ae
commit 99b4f475c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      docs/sources/installation/helm/reference.md
  2. 6
      production/helm/loki/templates/backend/statefulset-backend.yaml
  3. 2
      production/helm/loki/values.yaml

@ -173,6 +173,15 @@ null
<td><pre lang="json">
{}
</pre>
</td>
</tr>
<tr>
<td>backend.podLabels</td>
<td>object</td>
<td>Additional labels for each `backend` pod</td>
<td><pre lang="json">
{}
</pre>
</td>
</tr>
<tr>

@ -40,6 +40,12 @@ spec:
{{- end }}
labels:
{{- include "loki.backendSelectorLabels" . | nindent 8 }}
{{- with .Values.loki.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.backend.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.backend.selectorLabels }}
{{- tpl (toYaml .) $ | nindent 8 }}
{{- end }}

@ -870,6 +870,8 @@ backend:
priorityClassName: null
# -- Annotations for backend pods
podAnnotations: {}
# -- Additional labels for each `backend` pod
podLabels: {}
# -- Additional selector labels for each `backend` pod
selectorLabels: {}
# -- Labels for ingester service

Loading…
Cancel
Save