Files
charts/bitnami/thanos/templates/querier/serviceaccount.yaml
Ilya Nemakov 50576ece39 [bitnami/thanos] Adds support to add annotations to Service Accounts (#2182)
* Adds support to add annotations to Service Accounts

* [bitnami/thanos] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Ilya Nemakov <ilya.nemakov@nordigy.ry>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-04-07 09:32:04 +02:00

12 lines
439 B
YAML

{{- if .Values.querier.enabled -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "thanos.fullname" . }}-querier
labels: {{- include "thanos.labels" . | nindent 4 }}
app.kubernetes.io/component: querier
{{- if .Values.querier.serviceAccount.annotations }}
annotations:
{{ include "thanos.tplValue" ( dict "value" .Values.querier.serviceAccount.annotations "context" $) | nindent 4 }}
{{- end }}
{{- end }}