mirror of
https://github.com/plausible/hosting.git
synced 2024-09-07 02:01:05 -05:00
18 lines
450 B
YAML
18 lines
450 B
YAML
|
{{- if .Values.serviceAccount.create -}}
|
||
|
apiVersion: v1
|
||
|
kind: ServiceAccount
|
||
|
metadata:
|
||
|
name: {{ include "plausible-analytics.serviceAccountName" . }}
|
||
|
labels:
|
||
|
{{- include "plausible-analytics.labels" . | nindent 4 }}
|
||
|
{{- if .Values.labels }}
|
||
|
{{- with .Values.labels }}
|
||
|
{{- toYaml . | nindent 4 }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|
||
|
{{- with .Values.serviceAccount.annotations }}
|
||
|
annotations:
|
||
|
{{- toYaml . | nindent 4 }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|