12 lines
329 B
YAML
12 lines
329 B
YAML
|
{{ if .Values.rbac.install }}
|
||
|
{{- $serviceName := include "jenkins.fullname" . -}}
|
||
|
apiVersion: v1
|
||
|
kind: ServiceAccount
|
||
|
metadata:
|
||
|
name: {{ $serviceName }}
|
||
|
labels:
|
||
|
app: {{ $serviceName }}
|
||
|
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||
|
release: "{{ .Release.Name }}"
|
||
|
heritage: "{{ .Release.Service }}"
|
||
|
{{ end }}
|