Files
truecharts/charts/stable/traefik/templates/rbac/serviceaccount.yaml
T
Kjeld Schouten-LebbingandGitHub 111680d41b Traefik rework (#546)
* first part

* port most relevant settings

* Don't include common or old crap

* Try moving persistence to common

* Initial work on Traefik SCALE UI

* some cleanup and consistency patches. Also:
Enable metrics, because that's just container-side metrics and doesn't require prometheus CRD's

* super basic portal

* don't use portal as a template

* whoops

* whoops 2.0
2021-06-10 14:49:42 +02:00

16 lines
491 B
YAML

{{- if not .Values.serviceAccount.name -}}
kind: ServiceAccount
apiVersion: v1
metadata:
name: {{ include "traefik.serviceAccountName" . }}
labels:
app.kubernetes.io/name: {{ template "traefik.name" . }}
helm.sh/chart: {{ template "traefik.chart" . }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
annotations:
{{- with .Values.serviceAccountAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end -}}