Added service account to tenant template
This commit is contained in:
@@ -18,6 +18,7 @@ spec:
|
||||
app: jupyter
|
||||
tenant: 'tenant-{{.Values.name}}'
|
||||
spec:
|
||||
serviceAccountName: 'tenant-{{ .Values.name }}-sa'
|
||||
imagePullSecrets:
|
||||
- name: registry-credentials
|
||||
containers:
|
||||
|
||||
@@ -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 }}'
|
||||
Reference in New Issue
Block a user