Add hostAliases to values
This commit is contained in:
parent
0f5832fd90
commit
8c16f7aa30
|
@ -33,10 +33,9 @@ spec:
|
||||||
{{- . | toYaml | nindent 8 }}
|
{{- . | toYaml | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
hostAliases:
|
{{- with .Values.hub.hostAliases }}
|
||||||
- ip: "127.0.0.1"
|
{{- . | toYaml | nindent 6 }}
|
||||||
hostnames:
|
{{- end }}
|
||||||
- "hub"
|
|
||||||
{{- if .Values.scheduling.podPriority.enabled }}
|
{{- if .Values.scheduling.podPriority.enabled }}
|
||||||
priorityClassName: {{ include "jupyterhub.priority.fullname" . }}
|
priorityClassName: {{ include "jupyterhub.priority.fullname" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -258,6 +258,10 @@ hub:
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
hostAliases:
|
||||||
|
- ip: "127.0.0.1"
|
||||||
|
hostnames:
|
||||||
|
- "hub"
|
||||||
networkPolicy:
|
networkPolicy:
|
||||||
ingress:
|
ingress:
|
||||||
- ports:
|
- ports:
|
||||||
|
|
Loading…
Reference in a new issue