Skip to content

Commit a6cb2c1

Browse files
committed
feat: Add annotations to both service accounts
1 parent 8db9451 commit a6cb2c1

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,9 @@ metadata:
99
name: {{ include "jupyterhub.continuous-image-puller.fullname" . }}
1010
labels:
1111
{{- include "jupyterhub.labels" . | nindent 4 }}
12+
annotations:
13+
{{- with .Values.prePuller.continuous.serviceAccount.annotations }}
14+
{{- . | toYaml | nindent 4 }}
15+
{{- end }}
1216
{{- end }}
1317
{{- end }}

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@ metadata:
1414
"helm.sh/hook": pre-install,pre-upgrade
1515
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
1616
"helm.sh/hook-weight": "0"
17+
{{- with .Values.prePuller.hook.serviceAccount.annotations }}
18+
{{- . | toYaml | nindent 4 }}
19+
{{- end }}
1720
{{- end }}
1821
{{- end }}

0 commit comments

Comments
 (0)