Add back patches to charts

This commit is contained in:
Micke Nordin 2024-01-18 16:22:55 +01:00
parent 7d4602eb7c
commit fac5f29e46
Signed by untrusted user: Micke
GPG key ID: F53C4CC83EDAB3BE
5 changed files with 7 additions and 22 deletions

View file

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

View file

@ -1,7 +1,6 @@
debug: debug:
enabled: true enabled: true
hub: hub:
fullname: hub
config: config:
Authenticator: Authenticator:
auto_login: true auto_login: true

View file

@ -1,19 +0,0 @@
apiVersion: v1
kind: Pod
spec:
matadata:
name: hub
template:
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,4 +5,3 @@ resources:
patches: patches:
- path: jupyterhub-ingress.yml - path: jupyterhub-ingress.yml
- path: jupyterhub-service.yml - path: jupyterhub-service.yml
- path: deployment.yml