Add hostnmae to chart
This commit is contained in:
parent
3dc9ed0c74
commit
9e06575a5d
|
@ -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 }}
|
||||||
|
|
|
@ -155,11 +155,6 @@ hub:
|
||||||
c.JupyterHub.api_tokens = {
|
c.JupyterHub.api_tokens = {
|
||||||
os.environ['JUPYTERHUB_API_KEY']: "refresh-token",
|
os.environ['JUPYTERHUB_API_KEY']: "refresh-token",
|
||||||
}
|
}
|
||||||
c.JupyterHub.extra_host_config.update({
|
|
||||||
"extra_hosts": {
|
|
||||||
"hub":"127.0.0.1"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
extraFiles:
|
extraFiles:
|
||||||
refresh-token.py:
|
refresh-token.py:
|
||||||
mountPath: /usr/local/etc/jupyterhub/refresh-token.py
|
mountPath: /usr/local/etc/jupyterhub/refresh-token.py
|
||||||
|
|
Loading…
Reference in a new issue