diff --git a/charts/dasher/Chart.yaml b/charts/dasher/Chart.yaml index 43aceea..a98bf6d 100644 --- a/charts/dasher/Chart.yaml +++ b/charts/dasher/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 +version: 0.1.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/dasher/README.md b/charts/dasher/README.md index 3fc49bc..877b811 100644 --- a/charts/dasher/README.md +++ b/charts/dasher/README.md @@ -27,4 +27,5 @@ helm uninstall | `service.loadBalancerIP` | The IP address of the load balancer. Only used when `service.type` is `LoadBalancer`. | `""` | | `ingress.enabled` | If an ingress should be deployed. Make sure to setup a proper ingress controller e.g. [nginx](https://docs.nginx.com/nginx-ingress-controller/). | `false` | | `ingress.ingressClassName` | The ingress class name (like `nginx`) | `""` | +| `storage.storageClassName` | The class name for the storage. | `standard` | | `storage.size` | The size of the persistent volume. This is being used to save the application state (in SQLite). | `1G` | \ No newline at end of file diff --git a/charts/dasher/templates/server.statefulset.yaml b/charts/dasher/templates/server.statefulset.yaml index d8c3412..912e774 100644 --- a/charts/dasher/templates/server.statefulset.yaml +++ b/charts/dasher/templates/server.statefulset.yaml @@ -30,7 +30,7 @@ spec: name: data spec: accessModes: [ "ReadWriteOnce" ] - storageClassName: "standard" + storageClassName: {{ .Values.storage.storageClassName }} resources: requests: storage: {{ .Values.storage.size }} \ No newline at end of file diff --git a/charts/dasher/values.yaml b/charts/dasher/values.yaml index f44cdc9..8d8d34d 100644 --- a/charts/dasher/values.yaml +++ b/charts/dasher/values.yaml @@ -26,4 +26,5 @@ ingress: ingressClassName: "" storage: + storageClassName: standard size: 1G \ No newline at end of file