mirror of
https://github.com/coder/code-server.git
synced 2024-12-04 15:00:38 +08:00
12 lines
397 B
YAML
12 lines
397 B
YAML
|
{{- if or .Values.serviceAccount.create -}}
|
||
|
apiVersion: v1
|
||
|
kind: ServiceAccount
|
||
|
metadata:
|
||
|
labels:
|
||
|
app.kubernetes.io/name: {{ include "code-server.name" . }}
|
||
|
helm.sh/chart: {{ include "code-server.chart" . }}
|
||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||
|
name: {{ template "code-server.serviceAccountName" . }}
|
||
|
{{- end -}}
|