Skip to content

Commit e008806

Browse files
committed
Fix linting errors
1 parent 6267ef0 commit e008806

File tree

1 file changed

+42
-42
lines changed

1 file changed

+42
-42
lines changed

config/clusters/maap/staging.values.yaml

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -14,41 +14,41 @@ jupyterhub:
1414
nodeSelector:
1515
2i2c/hub-name: staging
1616
initContainers:
17-
- &volume_ownership_fix_initcontainer
18-
name: volume-mount-ownership-fix
19-
image: busybox:1.36.1
20-
command:
21-
- sh
22-
- -c
17+
- &volume_ownership_fix_initcontainer
18+
name: volume-mount-ownership-fix
19+
image: busybox:1.36.1
20+
command:
21+
- sh
22+
- -c
2323
# create the shared group directories and fix ownership
2424
# so that they are owned by the user
25-
- >
26-
id &&
27-
chown 1000:1000 /home/jovyan /home/jovyan/shared /home/jovyan/shared-public &&
28-
chown 1000:1000 /home/jovyan/shared-group/* &&
29-
ls -lhd /home/jovyan
30-
securityContext:
31-
runAsUser: 0
32-
volumeMounts:
33-
- name: home
34-
mountPath: /home/jovyan
35-
subPath: "{escaped_username}"
25+
- >
26+
id &&
27+
chown 1000:1000 /home/jovyan /home/jovyan/shared /home/jovyan/shared-public &&
28+
chown 1000:1000 /home/jovyan/shared-group/* &&
29+
ls -lhd /home/jovyan
30+
securityContext:
31+
runAsUser: 0
32+
volumeMounts:
33+
- name: home
34+
mountPath: /home/jovyan
35+
subPath: '{escaped_username}'
3636
# Mounted without readonly attribute here,
3737
# so we can chown it appropriately
38-
- name: home
39-
mountPath: /home/jovyan/shared
40-
subPath: _shared
41-
- name: home
42-
mountPath: /home/jovyan/shared-public
43-
subPath: _shared-public
44-
- name: home
45-
mountPath: /home/jovyan/shared-group/CPU_L
46-
subPath: _shared-group/CPU_L
47-
- name: home
48-
mountPath: /home/jovyan/shared-group/GPU_T4
49-
subPath: _shared-group/GPU_T4
38+
- name: home
39+
mountPath: /home/jovyan/shared
40+
subPath: _shared
41+
- name: home
42+
mountPath: /home/jovyan/shared-public
43+
subPath: _shared-public
44+
- name: home
45+
mountPath: /home/jovyan/shared-group/CPU_L
46+
subPath: _shared-group/CPU_L
47+
- name: home
48+
mountPath: /home/jovyan/shared-group/GPU_T4
49+
subPath: _shared-group/GPU_T4
5050
storage:
51-
type: null
51+
type:
5252

5353
profileList:
5454
- display_name: Choose your environment and resources
@@ -249,15 +249,15 @@ jupyterhub:
249249
secret:
250250
secretName: singleuser
251251
items:
252-
- key: ghsa-w3vc-fx9p-wp4v-check-patch-run
253-
mode: 493
254-
path: ghsa-w3vc-fx9p-wp4v-check-patch-run
255-
- key: ipython_kernel_config.json
256-
path: ipython_kernel_config.json
257-
- key: jupyter_notebook_config.json
258-
path: jupyter_notebook_config.json
259-
- key: jupyter_server_config.json
260-
path: jupyter_server_config.json
252+
- key: ghsa-w3vc-fx9p-wp4v-check-patch-run
253+
mode: 493
254+
path: ghsa-w3vc-fx9p-wp4v-check-patch-run
255+
- key: ipython_kernel_config.json
256+
path: ipython_kernel_config.json
257+
- key: jupyter_notebook_config.json
258+
path: jupyter_notebook_config.json
259+
- key: jupyter_server_config.json
260+
path: jupyter_server_config.json
261261
03-shared-group:
262262
name: shared-group-placeholder
263263
emptyDir:
@@ -267,7 +267,7 @@ jupyterhub:
267267
00-home-nfs:
268268
name: home
269269
mountPath: /home/jovyan
270-
subPath: "{escaped_username}"
270+
subPath: '{escaped_username}'
271271
01-home-shared:
272272
name: home
273273
mountPath: /home/jovyan/shared
@@ -305,15 +305,15 @@ jupyterhub:
305305
group_overrides:
306306
# Explicitly mount the shared group folders based on group membership
307307
00-group-CPU-L-extra-volume-mounts:
308-
groups: ["CPU:L"]
308+
groups: [CPU:L]
309309
spawner_override:
310310
volume_mounts:
311311
00-group-CPU-L-extra-volume-mounts:
312312
name: home
313313
mountPath: /home/jovyan/shared-group/CPU_L
314314
subPath: _shared-group/CPU_L
315315
01-group-GPU-T4-extra-volume-mounts:
316-
groups: ["GPU:T4"]
316+
groups: [GPU:T4]
317317
spawner_override:
318318
volume_mounts:
319319
01-group-GPU-T4-extra-volume-mounts:

0 commit comments

Comments
 (0)