Skip to content

Commit 8db9451

Browse files
committed
fix: service account
1 parent d780087 commit 8db9451

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

jupyterhub/templates/_helpers-names.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
{{- end }}
198198

199199
{{- /* hook-image-puller ServiceAccount */}}
200-
{{- define "jupyterhub.continuous-image-puller-serviceaccount.fullname" -}}
200+
{{- define "jupyterhub.hook-image-puller-serviceaccount.fullname" -}}
201201
{{- if .Values.prePuller.hook.serviceAccount.create }}
202202
{{- .Values.prePuller.hook.serviceAccount.name | default (include "jupyterhub.hook-image-puller.fullname" .) }}
203203
{{- else }}

jupyterhub/templates/image-puller/_helpers-daemonset.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ spec:
7171
{{- end }}
7272
terminationGracePeriodSeconds: 0
7373
{{- if .hook }}
74-
{{- with include "jupyterhub.continuous-image-puller-serviceaccount.fullname" . }}
74+
{{- with include "jupyterhub.hook-image-puller-serviceaccount.fullname" . }}
7575
serviceAccountName: {{ . }}
7676
{{- end }}
7777
{{- else }}

jupyterhub/templates/image-puller/serviceaccount-hook.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ServiceAccount for the hook image-puller
66
apiVersion: v1
77
kind: ServiceAccount
88
metadata:
9-
name: {{ include "jupyterhub.hook-image-puller.fullname" . }}
9+
name: {{ include "jupyterhub.hook-image-puller-serviceaccount.fullname" . }}
1010
labels:
1111
{{- include "jupyterhub.labels" . | nindent 4 }}
1212
hub.jupyter.org/deletable: "true"

0 commit comments

Comments
 (0)