Added service account to tenant template

This commit is contained in:
Adrien Bouvais 2026-08-14 23:55:15 +02:00
parent d523cfc8ed
commit df6b9e64df
2 changed files with 9 additions and 0 deletions

View File

@ -18,6 +18,7 @@ spec:
app: jupyter
tenant: 'tenant-{{.Values.name}}'
spec:
serviceAccountName: 'tenant-{{ .Values.name }}-sa'
imagePullSecrets:
- name: registry-credentials
containers:

View 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 }}'