helmsman.yaml 7.57 KB
Newer Older
1
2
3
4
5
6
# context: minikube
# settings:
#   kubeContext: minikube
#   # username = "admin"
#   # password = "$K8S_PASSWORD"
#   # clusterURI = "https://192.168.99.100:8443"
Craig Russell's avatar
Craig Russell committed
7
8
9
10
11
# settings:
#   # kubeContext: "config" # the name of the context to be created
#   # bearerToken: true
#   # clusterURI: "https://kubernetes.default"
#   # # bearerTokenPath: "/path/to/custom/bearer/token/file"
12
13
#   kubeContext: "internal"
#   clusterURI: "https://kubernetes.default"
Craig Russell's avatar
Craig Russell committed
14
15
16
#   bearerToken: true
#   bearerTokenPath: "/var/run/secrets/kubernetes.io/serviceaccount/token" # optional if a token is provided by the user in another location

17
18
19
# settings:
#   globalHooks:
#     preInstall: "persistentVolumes/biostudies.yaml"
20
21

metadata:
22
23
24
25
26
27
28
29
30
31
32
33
  organization: EBI
  maintainer: Craig Russell (ctr26@ebi.ac.uk)
  description: EBI hub deployment

helmRepos:
  jupyterhub: "https://jupyterhub.github.io/helm-chart/"
  daskgateway: "https://dask.org/dask-gateway-helm-repo/"

appsTemplates:
  binderhub: &binderhub
    name: "binderhub"
    chart: "jupyterhub/binderhub"
34
    # version: "0.2.0-n519.hf5c1a19"
Craig Russell's avatar
Craig Russell committed
35
36
    # version: "0.2.0-n217.h35366ea"
    version: "0.2.0-n523.h854be18"
37
    # version: "0.2.0-n217.h35366ea"
38
39
40
41
    # helmFlags:
    #   - "--debug"
    # # test: true
    # # protected: true
Craig Russell's avatar
Craig Russell committed
42
    wait: false # Lethal for binderhub
43
44
45
    timeout: 1200
    enabled: true
    set:
Craig Russell's avatar
Craig Russell committed
46
47
      registry.username: "$CI_REGISTRY_USER"
      registry.password: "$CI_REGISTRY_PASSWORD"
48
      jupyterhub.hub.services.binder.apiToken: "$SECRET_JUPYTERHUB_PROXY_TOKEN"
49
50
51
      jupyterhub.proxy.secretToken: "$SECRET_BINDERHUB_SERVICE"
      config.BinderHub.image_prefix: "$CI_REGISTRY_IMAGE"
      config.GitHubRepoProvider.access_token: "$SECRET_GITHUBREPOPROVIDER"
52
      # config.BinderHub.image_prefix: "$CI_REGISTRY_IMAGE"
53
54
55
      # config.BinderHub.hub_url: "$HOST_NAME/binderhub/"
    # hooks:
      # preUpgrade: "binderhub/persistentVolumes/biostudies.yaml"
56
57
58
59
    # hub_url: http://10.43.114.27
    # config.DockerRegistry.url: "https://dockerhub.ebi.ac.uk"
    # config.DockerRegistry.token_url: ""
    # registry.url: "https://dockerhub.ebi.ac.uk"
60

61
62
63
64
65
66
67
68
  jupyterhub: &jupyterhub
    name: "jupyterhub"
    chart: "jupyterhub/jupyterhub"
    version: "0.10.2-n047.hb387f987"
    helmFlags:
      - "--debug"
    # test: true
    # protected: true
69
70
    wait: false
    timeout: 1200
71
72
73
    enabled: true
    set:
      proxy.secretToken: "$SECRET_JUPYTERHUB_PROXY_TOKEN"
74
75
      auth.github.clientId: "$SECRET_GITHUB_CLIENTID"
      auth.github.clientSecret: "$SECRET_GITHUB_CLIENTSECRET"
76
77
    hooks:
      preUpgrade: "persistentVolumes/biostudies.yaml"
78
79
80
81
82
83
84

  dask: &dask
    name: "daskgateway"
    chart: "daskgateway/dask-gateway"
    version: "0.9.0"
    enabled: true
    priority: 0
85
    timeout: 120
86
87

apps:
88
89
90
91
92
93
94
  # daskgateway-staging:
  #   <<: *dask
  #   name: "daskgateway-staging"
  #   group: "staging"
  #   namespace: "daskgateway-staging"
  #   # valuesFiles:
  #   # - "daskgateway/staging.yaml"
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112

  daskgateway-production:
    <<: *dask
    name: "daskgateway-production"
    group: "production"
    namespace: "daskgateway-production"
    # valuesFiles:
    # - "daskgateway/production.yaml"

  binderhub-staging:
    <<: *binderhub
    name: "binderhub-staging"
    namespace: "binderhub-staging"
    group: "staging"
    # protected: false
    valuesFiles:
      # - "binderhub/secret.yaml"
      - "binderhub/config.yaml"
113
      # - "binderhub/secret.yaml"
114
      - "binderhub/staging/config.yaml"
115
116
      # - "binderhub/ebi_dockerhub.yaml"
    # set:
117
118
    #   config.BinderHub.base_url: "staging"
    #   ingress.pathSuffix: "/staging"
119
120
    #   registry.username: "$SECRET_DOCKERHUB_USERNAME"
    #   registry.password: "$SECRET_DOCKERHUB_PASSWORD"
121
122
123
    # set:
    #   jupyterhub.hub.baseUrl: "/binderhub/staging/"
    #   config.BinderHub.hub_url: "$HOST_NAME"
124

Craig Russell's avatar
Craig Russell committed
125

126
127
128
129
130
131
132
  binderhub-production:
    <<: *binderhub
    name: "binderhub-production"
    namespace: "binderhub-production"
    group: "production"
    valuesFiles:
      - "binderhub/config.yaml"
133
      - "binderhub/production/config.yaml"
Craig Russell's avatar
Craig Russell committed
134
135
136
137
138
139
140
141
142
143
144
145

  binderhub-production-gpu:
    <<: *binderhub
    name: "binderhub-production"
    namespace: "binderhub-production"
    group: "production-gpu"
    valuesFiles:
      - "binderhub/config.yaml"
      - "binderhub/production/config.yaml"
      - "binderhub/gpu_support.yaml"
      - "binderhub/persistentVolumes.yaml"

146
147
148
149
150
151
152
153
154
155
156
157
158

  # binderhub-production:
  #   <<: *binderhub
  #   name: "binderhub-production"
  #   namespace: "binderhub-production"
  #   group: "production"
  #   valuesFiles:
  #     - "binderhub/config.yaml"
  #     # - "binderhub/secret.yaml"
  #     # - "binderhub/staging.yaml"
  #     # - "binderhub/ebi_dockerhub.yaml"
  #     # - "binderhub/production.yaml"

159
160
161
162
163
  jupyterhub-sandbox-staging:
    <<: *jupyterhub
    name: "jupyterhub-sandbox-staging"
    group: "staging"
    namespace: "jupyterhub-sandbox-staging"
164
165
    # hooks:
    #   preInstall: "jupyterhub/staging/volumes/biostudies.yaml"
166
167
    valuesFiles:
      - "jupyterhub/config.yaml"
168
      - "jupyterhub/staging/config.yaml"
169
170
      - "jupyterhub/sandbox.yaml"
      - "jupyterhub/staging/sandbox.yaml"
171

172
173
174
175
176
  jupyterhub-sandbox-production:
    <<: *jupyterhub
    name: "jupyterhub-sandbox-production"
    group: "production"
    namespace: "jupyterhub-sandbox-production"
177
178
    # hooks:
    #   preInstall: "jupyterhub/production/volumes/biostudies.yaml"
179
180
    valuesFiles:
      - "jupyterhub/config.yaml"
181
      - "jupyterhub/production/config.yaml"
182
183
      - "jupyterhub/sandbox.yaml"
      - "jupyterhub/production/sandbox.yaml"
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
  # -------------------- JUNK ----------------------------------
  # jupyterhub-test:
  #   valuesFiles:
  #     - "values/jupyterhub-config.yaml"
  #     # - "values/staging/jupyterhub-config.yaml"
  #     - "values/jupyterhub-sandbox.yaml"
  #     # - "values/staging/jupyterhub-sandbox.yaml"
  #   name: "jupyterhub-staging"
  #   namespace: "staging"
  #   chart: "jupyterhub/jupyterhub"
  #   # version: "0.9.0"
  #   version: "0.10.2-n047.hb387f987"
  #   enabled: true
  #   priority: 0
  #   timeout: 1200
  #   # wait: true
  #   set:
  #     proxy.secretToken: "$SECRET_JUPYTERHUB_PROXY_TOKEN"
202

203
204
205
206
207
208
209
210
211
212
213
  jupyterhub-github-staging:
    <<: *jupyterhub
    name: "jupyterhub-github-staging"
    group: "staging"
    namespace: "jupyterhub-github-staging"
    set:
      auth.github.callbackUrl: "$HOST_NAME/staging/github/hub/oauth_callback"
    valuesFiles:
      - "jupyterhub/config.yaml"
      - "jupyterhub/github.yaml"
      - "jupyterhub/staging/github.yaml"
214

215
216
217
218
219
220
221
222
223
224
225
  jupyterhub-github-production:
    <<: *jupyterhub
    name: "jupyterhub-github-production"
    group: "production"
    namespace: "jupyterhub-github-production"
    set:
      auth.github.callbackUrl: "$HOST_NAME/github/hub/oauth_callback"
    valuesFiles:
      - "jupyterhub/config.yaml"
      - "jupyterhub/github.yaml"
      - "jupyterhub/production/github.yaml"
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# -------------------- JUNK ----------------------------------
# jupyterhub-test:
#   valuesFiles:
#     - "values/jupyterhub-config.yaml"
#     # - "values/staging/jupyterhub-config.yaml"
#     - "values/jupyterhub-sandbox.yaml"
#     # - "values/staging/jupyterhub-sandbox.yaml"
#   name: "jupyterhub-staging"
#   namespace: "staging"
#   chart: "jupyterhub/jupyterhub"
#   # version: "0.9.0"
#   version: "0.10.2-n047.hb387f987"
#   enabled: true
#   priority: 0
#   timeout: 1200
#   # wait: true
#   set:
#     proxy.secretToken: "$SECRET_JUPYTERHUB_PROXY_TOKEN"
244

245
246
247
248
249
250
251
252
253
254
255
256
257
# binderhub:
#   valuesFiles:
#     - "binderhub/secret.yaml"
#     - "binderhub/config.yaml"
#     - "binderhub/production.yaml"
#   name: "binderhub"
#   namespace: "staging"
#   protected: true
#   chart: "jupyterhub/binderhub"
#   version: "0.2.0-n361.h6f57706"
#   enabled: true
#   priority: 0
#   # set: