Skip to content

Commit

Permalink
Add toleration to shib deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
xcompass committed Feb 6, 2024
1 parent 81105c1 commit 0de9952
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions jupyterhub/templates/shib/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ spec:
{{- include "jupyterhub.labels" . | nindent 8 }}
tier: web
spec:
{{- with concat .Values.scheduling.corePods.tolerations .Values.shib.shibd.tolerations }}
tolerations:
{{- . | toYaml | nindent 8 }}
{{- end }}
containers:
- image: {{ .Values.shib.web.image.name }}:{{ .Values.shib.web.image.tag }}
name: shib-web
Expand Down Expand Up @@ -118,6 +122,10 @@ spec:
{{- include "jupyterhub.labels" . | nindent 8 }}
tier: shibd
spec:
{{- with concat .Values.scheduling.corePods.tolerations .Values.shib.shibd.tolerations }}
tolerations:
{{- . | toYaml | nindent 8 }}
{{- end }}
containers:
- image: {{ .Values.shib.shibd.image.name }}:{{ .Values.shib.shibd.image.tag }}
name: shibd
Expand Down

0 comments on commit 0de9952

Please sign in to comment.