Add hostnmae to chart
This commit is contained in:
parent
3dc9ed0c74
commit
9e06575a5d
|
@ -33,6 +33,10 @@ spec:
|
|||
{{- . | toYaml | nindent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
hostAliases:
|
||||
- ip: "127.0.0.1"
|
||||
hostnames:
|
||||
- "hub"
|
||||
{{- if .Values.scheduling.podPriority.enabled }}
|
||||
priorityClassName: {{ include "jupyterhub.priority.fullname" . }}
|
||||
{{- end }}
|
||||
|
|
|
@ -155,11 +155,6 @@ hub:
|
|||
c.JupyterHub.api_tokens = {
|
||||
os.environ['JUPYTERHUB_API_KEY']: "refresh-token",
|
||||
}
|
||||
c.JupyterHub.extra_host_config.update({
|
||||
"extra_hosts": {
|
||||
"hub":"127.0.0.1"
|
||||
}
|
||||
})
|
||||
extraFiles:
|
||||
refresh-token.py:
|
||||
mountPath: /usr/local/etc/jupyterhub/refresh-token.py
|
||||
|
|
Loading…
Reference in a new issue