|
@@ -133,16 +133,19 @@ hub:
|
|
|
config:
|
|
|
JupyterHub:
|
|
|
admin_access: true
|
|
|
- authenticator_class: dummy
|
|
|
- DummyAuthenticator:
|
|
|
+ authenticator_class: shared-password
|
|
|
+ SharedPasswordAuthenticator:
|
|
|
+ admin_users:
|
|
|
+ - {{ .Values.hub.adminUser }}
|
|
|
{{- if .Values.hub.password }}
|
|
|
- password: {{ .Values.hub.password | quote }}
|
|
|
+ admin_password: {{ .Values.hub.password | quote }}
|
|
|
{{- else }}
|
|
|
- password: {{ randAlphaNum 10 | quote }}
|
|
|
+ admin_password: {{ randAlphaNum 32 | quote }}
|
|
|
{{- end }}
|
|
|
Authenticator:
|
|
|
admin_users:
|
|
|
- {{ .Values.hub.adminUser }}
|
|
|
+ allow_all: true
|
|
|
cookieSecret:
|
|
|
concurrentSpawnLimit: 64
|
|
|
consecutiveFailureLimit: 5
|