File tree Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -282,6 +282,7 @@ def camelCaseify(s):
282
282
{
283
283
"mountPath" : get_config ("singleuser.storage.homeMountPath" ),
284
284
"name" : volume_name_template ,
285
+ "subPath" : get_config ("singleuser.storage.dynamic.subPath" ),
285
286
}
286
287
]
287
288
elif storage_type == "static" :
Original file line number Diff line number Diff line change @@ -2373,6 +2373,14 @@ properties:
2373
2373
2374
2374
There is of a default StorageClass available in k8s clusters
2375
2375
for use if this is unspecified.
2376
+ subPath : &subPath-spec
2377
+ type : [string, "null"]
2378
+ description : |
2379
+ Configures the `subPath` field of a
2380
+ `KubeSpawner.volume_mounts` entry added by the Helm chart.
2381
+
2382
+ Path within the volume from which the container's volume
2383
+ should be mounted. Defaults to "" (volume's root).
2376
2384
volumeNameTemplate :
2377
2385
type : [string, "null"]
2378
2386
description : |
@@ -2402,14 +2410,7 @@ properties:
2402
2410
description : |
2403
2411
Configures `KubeSpawner.pvc_claim_name` to reference
2404
2412
pre-existing storage.
2405
- subPath :
2406
- type : [string, "null"]
2407
- description : |
2408
- Configures the `subPath` field of a
2409
- `KubeSpawner.volume_mounts` entry added by the Helm chart.
2410
-
2411
- Path within the volume from which the container's volume
2412
- should be mounted.
2413
+ subPath : *subPath-spec
2413
2414
type :
2414
2415
enum : [dynamic, static, none]
2415
2416
description : |
Original file line number Diff line number Diff line change @@ -395,6 +395,7 @@ singleuser:
395
395
pvcNameTemplate : claim-{username}{servername}
396
396
volumeNameTemplate : volume-{username}{servername}
397
397
storageAccessModes : [ReadWriteOnce]
398
+ subPath :
398
399
image :
399
400
name : quay.io/jupyterhub/k8s-singleuser-sample
400
401
tag : " set-by-chartpress"
You can’t perform that action at this time.
0 commit comments