Move to overlay

This commit is contained in:
Micke Nordin 2024-01-18 15:25:57 +01:00
parent 6c8e8b9bb3
commit 386fc6f345
Signed by untrusted user: Micke
GPG key ID: F53C4CC83EDAB3BE
4 changed files with 17 additions and 6 deletions

View file

@ -33,9 +33,6 @@ spec:
{{- . | toYaml | nindent 8 }}
{{- end }}
spec:
{{- with .Values.hub.hostAliases }}
{{- . | toYaml | nindent 6 }}
{{- end }}
{{- if .Values.scheduling.podPriority.enabled }}
priorityClassName: {{ include "jupyterhub.priority.fullname" . }}
{{- end }}
@ -214,8 +211,6 @@ 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

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,15 @@
apiVersion: v1
kind: Pod
spec:
containers:
ports:
- containerPort: 8081
name: http
protocol: TCP
- containerPort: 8082
name: refresh-token
protocol: TCP
hostAliases:
- hostnames:
- hub
ip: 127.0.0.1

View file

@ -5,3 +5,4 @@ resources:
patches:
- path: jupyterhub-ingress.yml
- path: jupyterhub-service.yml
- path: deployment.yml