Added service account to tenant template
This commit is contained in:
parent
d523cfc8ed
commit
df6b9e64df
@ -18,6 +18,7 @@ spec:
|
|||||||
app: jupyter
|
app: jupyter
|
||||||
tenant: 'tenant-{{.Values.name}}'
|
tenant: 'tenant-{{.Values.name}}'
|
||||||
spec:
|
spec:
|
||||||
|
serviceAccountName: 'tenant-{{ .Values.name }}-sa'
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: registry-credentials
|
- name: registry-credentials
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
8
charts/tenant/templates/serviceaccount.yaml
Normal file
8
charts/tenant/templates/serviceaccount.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: 'tenant-{{ .Values.name }}-sa'
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: jupyter
|
||||||
|
app.kubernetes.io/tenant: 'tenant-{{ .Values.name | quote }}'
|
||||||
Loading…
x
Reference in New Issue
Block a user