forked from apk8s/book-source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yml
56 lines (52 loc) · 1.55 KB
/
values.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
proxy:
secretToken: "large_random_hex_string"
service:
type: ClusterIP
singleuser:
image:
name: apk8s/datalab
tag: v0.0.5
defaultUrl: "/lab"
storage:
dynamic:
storageClass: rook-ceph-block
capacity: 10Gi
hub:
image:
name: jupyterhub/k8s-hub
tag: 0.9-dcde99a
db:
pvc:
storageClassName: rook-ceph-block
extraConfig:
jupyterlab: |-
c.Spawner.cmd = ['jupyter-labhub']
c.KubeSpawner.namespace = "data-lab"
c.KubeSpawner.service_account = "data-lab"
jupyterhub: |-
c.Authenticator.auto_login = True
extraEnv:
OAUTH2_AUTHORIZE_URL: https://auth.data.dev4.apk8s.dev/auth/realms/datalab/protocol/openid-connect/auth
OAUTH2_TOKEN_URL: https://auth.data.dev4.apk8s.dev/auth/realms/datalab/protocol/openid-connect/token
OAUTH_CALLBACK_URL: https://lab.data.dev4.apk8s.dev/hub/oauth_callback
scheduling:
userScheduler:
enabled: true
replicas: 2
logLevel: 4
image:
name: gcr.io/google_containers/kube-scheduler-amd64
tag: v1.14.4
auth:
type: custom
custom:
className: oauthenticator.generic.GenericOAuthenticator
config:
login_service: "Keycloak"
client_id: "datalab"
client_secret: "from_keycloak_client_config"
token_url: https://auth.data.dev4.apk8s.dev/auth/realms/datalab/protocol/openid-connect/token
userdata_url: https://auth.data.dev4.apk8s.dev/auth/realms/datalab/protocol/openid-connect/userinfo
userdata_method: GET
userdata_params: {'state': 'state'}
username_key: preferred_username