File tree 4 files changed +36
-1
lines changed
4 files changed +36
-1
lines changed Original file line number Diff line number Diff line change
1
+ {{ if .Values.adminServiceAccount.enabled -}}
2
+ apiVersion : v1
3
+ kind : ServiceAccount
4
+ metadata :
5
+ name : admin-sa
6
+ annotations : {{ .Values.adminServiceAccount.annotations | toJson }}
7
+ {{- end }}
Original file line number Diff line number Diff line change 2
2
apiVersion : v1
3
3
kind : ServiceAccount
4
4
metadata :
5
- annotations : {{ .Values.userServiceAccount.annotations | toJson}}
6
5
name : user-sa
6
+ annotations : {{ .Values.userServiceAccount.annotations | toJson }}
7
7
{{- end }}
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ required:
16
16
- global
17
17
- jupyterhub
18
18
- userServiceAccount
19
+ - adminServiceAccount
19
20
- dex
20
21
- staticWebsite
21
22
- ingressBasicAuth
@@ -149,6 +150,27 @@ properties:
149
150
description : |
150
151
Dictionary of annotations that can be applied to the service account.
151
152
153
+ When used with GKE and Workload Identity, you need to set
154
+ the annotation with key "iam.gke.io/gcp-service-account" to the
155
+ email address of the Google Service Account whose credentials it
156
+ should have.
157
+ adminServiceAccount :
158
+ type : object
159
+ additionalProperties : false
160
+ required :
161
+ - enabled
162
+ properties :
163
+ enabled :
164
+ type : boolean
165
+ description : |
166
+ Enables creation of a Service Account named admin-sa for opt-in use
167
+ via jupyterhub.custom.singleuserAdmin.serviceAccountName.
168
+ annotations :
169
+ type : object
170
+ additionalProperties : true
171
+ description : |
172
+ Dictionary of annotations that can be applied to the service account.
173
+
152
174
When used with GKE and Workload Identity, you need to set
153
175
the annotation with key "iam.gke.io/gcp-service-account" to the
154
176
email address of the Google Service Account whose credentials it
@@ -450,6 +472,8 @@ properties:
450
472
additionalProperties : true
451
473
extraEnv :
452
474
type : object
475
+ serviceAccountName :
476
+ type : string
453
477
2i2c :
454
478
type : object
455
479
additionalProperties : false
Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ userServiceAccount:
5
5
enabled : true
6
6
annotations : {}
7
7
8
+ adminServiceAccount :
9
+ enabled : false
10
+ annotations : {}
11
+
8
12
binderhub-service :
9
13
enabled : false
10
14
nodeSelector :
You can’t perform that action at this time.
0 commit comments