Compare commits

..

2 commits

Author SHA1 Message Date
Micke Nordin 8c16f7aa30
Add hostAliases to values 2024-01-18 15:04:28 +01:00
Micke Nordin 0f5832fd90
Add port back 2024-01-18 15:03:13 +01:00
2 changed files with 9 additions and 4 deletions

View file

@ -33,10 +33,9 @@ spec:
{{- . | toYaml | nindent 8 }}
{{- end }}
spec:
hostAliases:
- ip: "127.0.0.1"
hostnames:
- "hub"
{{- with .Values.hub.hostAliases }}
{{- . | toYaml | nindent 6 }}
{{- end }}
{{- if .Values.scheduling.podPriority.enabled }}
priorityClassName: {{ include "jupyterhub.priority.fullname" . }}
{{- end }}
@ -215,6 +214,8 @@ spec:
ports:
- name: http
containerPort: 8081
- name: refresh-token
containerPort: 8082
{{- if .Values.hub.livenessProbe.enabled }}
{{- /* NOTE:
We don't know how long hub database upgrades could take so having a

View file

@ -258,6 +258,10 @@ hub:
if __name__ == '__main__':
main()
hostAliases:
- ip: "127.0.0.1"
hostnames:
- "hub"
networkPolicy:
ingress:
- ports: