diff --git a/charts/theia.cloud/templates/operator.yaml b/charts/theia.cloud/templates/operator.yaml index aa5645b..ff94290 100644 --- a/charts/theia.cloud/templates/operator.yaml +++ b/charts/theia.cloud/templates/operator.yaml @@ -46,6 +46,10 @@ spec: - "--instancesPath" - "{{ tpl (.Values.hosts.paths.instance | toString) . }}" {{- end }} + - "--storageClassName" + - "{{ tpl (.Values.operator.storageClassName | toString) . }}" + - "--requestedStorage" + - "{{ tpl (.Values.operator.requestedStorage | toString) . }}" {{- if .Values.monitor.enable }} - "--enableMonitor" {{- if .Values.monitor.activityTracker.enable }} diff --git a/charts/theia.cloud/values.yaml b/charts/theia.cloud/values.yaml index 1d1a967..4f752d1 100644 --- a/charts/theia.cloud/values.yaml +++ b/charts/theia.cloud/values.yaml @@ -154,9 +154,9 @@ operator: # Currently only false is fully supported. eagerStart: false - # Select your cloude provider. Possible values: - # - K8S Plain Kubernetes - # - GKE Google Kubernetes Engine + # Select your cloud provider. Possible values: + # - K8S Plain Kubernetes + # - MINIKUBE Local deployment on Minikube cloudProvider: "K8S" # Whether Theia Cloud shall limit network speed. This might not be fully supported @@ -172,6 +172,16 @@ operator: # Set the number of active sessions a single user can launch sessionsPerUser: "1" + # The name of the storage class for persistent volume claims for workspaces. + # This storage class must be present on the cluster. + # Most cloud providers offer a default storage class without additional configuration. + storageClassName: "default" + + # The amount of requested storage for each persistent volume claim (PVC) for workspaces. + # This is directly passed to created PVCs and must be a valid Kubernetes quantity. + # See https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/ + requestedStorage: "250Mi" + # Values of the Theia.cloud REST service service: # The image to use