Skip to content

Commit

Permalink
Merge pull request #3546 from consideRatio/pr/always-hub-first
Browse files Browse the repository at this point in the history
Ensure hub container is first by appending instead of prepending hub.extraContainers
  • Loading branch information
manics authored Oct 18, 2024
2 parents 470a027 + 45e6fbd commit 7c7e8ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jupyterhub/templates/hub/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ spec:
{{- . | toYaml | nindent 8 }}
{{- end }}
containers:
{{- with .Values.hub.extraContainers }}
{{- . | toYaml | nindent 8 }}
{{- end }}
- name: hub
image: {{ .Values.hub.image.name }}:{{ .Values.hub.image.tag }}
{{- with .Values.hub.command }}
Expand Down Expand Up @@ -238,6 +235,9 @@ spec:
path: {{ .Values.hub.baseUrl | trimSuffix "/" }}/hub/health
port: http
{{- end }}
{{- with .Values.hub.extraContainers }}
{{- . | toYaml | nindent 8 }}
{{- end }}
{{- with .Values.hub.extraPodSpec }}
{{- . | toYaml | nindent 6 }}
{{- end }}

0 comments on commit 7c7e8ff

Please sign in to comment.