Commit 2ed0896b authored by Craig Russell's avatar Craig Russell
Browse files

No need for unique names for pvcs

parent 74903515
......@@ -14,9 +14,9 @@
# bearerToken: true
# bearerTokenPath: "/var/run/secrets/kubernetes.io/serviceaccount/token" # optional if a token is provided by the user in another location
settings:
globalHooks:
preInstall: "persistentVolumes/biostudies.yaml"
# settings:
# globalHooks:
# preUpgrade: "persistentVolumes/biostudies.yaml"
metadata:
organization: EBI
......@@ -63,6 +63,8 @@ appsTemplates:
enabled: true
set:
proxy.secretToken: "$SECRET_JUPYTERHUB_PROXY_TOKEN"
hooks:
preUpgrade: "persistentVolumes/biostudies.yaml"
dask: &dask
name: "daskgateway"
......@@ -120,8 +122,8 @@ apps:
name: "jupyterhub-sandbox-staging"
group: "staging"
namespace: "jupyterhub-sandbox-staging"
hooks:
preInstall: "jupyterhub/staging/volumes/biostudies.yaml"
# hooks:
# preInstall: "jupyterhub/staging/volumes/biostudies.yaml"
valuesFiles:
- "jupyterhub/config.yaml"
- "jupyterhub/staging/config.yaml"
......@@ -133,8 +135,8 @@ apps:
name: "jupyterhub-sandbox-production"
group: "production"
namespace: "jupyterhub-sandbox-production"
hooks:
preInstall: "jupyterhub/production/volumes/biostudies.yaml"
# hooks:
# preInstall: "jupyterhub/production/volumes/biostudies.yaml"
valuesFiles:
- "jupyterhub/config.yaml"
- "jupyterhub/production/config.yaml"
......
singleuser:
storage:
type: none
extraVolumes:
- name: nfs-bs-ftp
persistentVolumeClaim:
claimName: "nfs-bs-ftp-pvc-jupyterhub-production"
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: "nfs-bs-ftp-pvc-jupyterhub-production"
spec:
storageClassName: nfs
accessModes:
- ReadOnlyMany
resources:
requests:
storage: 10Gi
volumeName: "nfs-bs-ftp-pv"
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: "nfs-bs-ftp-pvc-jupyterhub-staging"
spec:
storageClassName: nfs
accessModes:
- ReadOnlyMany
resources:
requests:
storage: 10Gi
volumeName: "nfs-bs-ftp-pv"
......@@ -14,5 +14,20 @@ spec:
server: 10.35.105.251 # Change this!
path: "/fg_biostudies/.adm/databases/prod/submission/ftp/"
readOnly: true
# claimRef:
# name: nfs-bs-ftp-pvc
# persistentVolumeReclaimPolicy:
# Recycle
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: "nfs-bs-ftp-pvc"
spec:
storageClassName: nfs
accessModes:
- ReadOnlyMany
resources:
requests:
storage: 10Gi
volumeName: "nfs-bs-ftp-pv"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment