diff --git a/README.md b/README.md index bd099f8..73682f1 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,12 @@ The following table lists the configurable parameters of the Amphitheatre chart | controllers.affinity | Affinity settings for the Controllers pods | `{}` | | controllers.debug | Enable debug mode for the Controllers | `true` | +### Persistence Parameters + +| Parameter | Description | Default | +|---------------------|-------------------------------------------|--------------| +| persistence.storageClass | Persistent Volume storage class | `""` | + ### Amphitheatre CRDs Parameters | Parameter | Description | Default | diff --git a/charts/amphitheatre/Chart.yaml b/charts/amphitheatre/Chart.yaml index 7838766..4252dc2 100644 --- a/charts/amphitheatre/Chart.yaml +++ b/charts/amphitheatre/Chart.yaml @@ -15,13 +15,13 @@ 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.12.18 +version: 0.12.19 # 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 # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "v0.8.17" +appVersion: "v0.8.18" dependencies: - name: amphitheatre-crds diff --git a/charts/amphitheatre/templates/apiserver/deployment.yaml b/charts/amphitheatre/templates/apiserver/deployment.yaml index cd7910f..50558ee 100644 --- a/charts/amphitheatre/templates/apiserver/deployment.yaml +++ b/charts/amphitheatre/templates/apiserver/deployment.yaml @@ -40,7 +40,7 @@ spec: value: {{ include "amphitheatre.nats.url" . | quote }} {{- if .Values.apiserver.debug }} - name: RUST_LOG - value: amp=debug + value: amp=DEBUG {{- end }} ports: - name: http diff --git a/charts/amphitheatre/templates/controllers/deployment.yaml b/charts/amphitheatre/templates/controllers/deployment.yaml index 41d22e6..04af212 100644 --- a/charts/amphitheatre/templates/controllers/deployment.yaml +++ b/charts/amphitheatre/templates/controllers/deployment.yaml @@ -40,9 +40,13 @@ spec: value: {{ include "amphitheatre.controllers.serviceAccountName" . }} - name: AMP_NATS_URL value: {{ include "amphitheatre.nats.url" . | quote }} + {{- if .Values.persistence.storageClass }} + - name: AMP_STORAGE_CLASS_NAME + value: {{ .Values.persistence.storageClass | quote }} + {{- end }} {{- if .Values.controllers.debug }} - name: RUST_LOG - value: amp=debug + value: amp=DEBUG {{- end }} resources: {{- toYaml .Values.controllers.resources | nindent 12 }} diff --git a/charts/amphitheatre/values.yaml b/charts/amphitheatre/values.yaml index 1529afc..dc25d09 100644 --- a/charts/amphitheatre/values.yaml +++ b/charts/amphitheatre/values.yaml @@ -181,6 +181,11 @@ controllers: ## Enable debug mode debug: true +## @section Persistence Parameters +persistence: + # Persistent Volume storage class + storageClass: "" + ## @section Amphitheatre CRDs Parameters crds: # Switch to install or uninstall the amphitheatre-crds helm chart