diff --git a/bitnami/memcached/Chart.yaml b/bitnami/memcached/Chart.yaml index 6175ec629445a3..f158a5ee4ad2cd 100644 --- a/bitnami/memcached/Chart.yaml +++ b/bitnami/memcached/Chart.yaml @@ -31,4 +31,4 @@ maintainers: name: memcached sources: - https://github.com/bitnami/charts/tree/main/bitnami/memcached -version: 7.4.14 +version: 7.4.15 diff --git a/bitnami/memcached/README.md b/bitnami/memcached/README.md index 860b1a11a16f77..146b23a3cfe876 100644 --- a/bitnami/memcached/README.md +++ b/bitnami/memcached/README.md @@ -223,6 +223,7 @@ If you encounter errors when working with persistent volumes, refer to our [trou | `terminationGracePeriodSeconds` | In seconds, time the given to the memcached pod needs to terminate gracefully | `""` | | `updateStrategy.type` | Memcached statefulset strategy type | `RollingUpdate` | | `updateStrategy.rollingUpdate` | Memcached statefulset rolling update configuration parameters | `{}` | +| `emptyDir.medium` | Override emptyDir Volume type, defaults to emptyDir: {} | `""` | | `extraVolumes` | Optionally specify extra list of additional volumes for the Memcached pod(s) | `[]` | | `extraVolumeMounts` | Optionally specify extra list of additional volumeMounts for the Memcached container(s) | `[]` | | `sidecars` | Add additional sidecar containers to the Memcached pod(s) | `[]` | diff --git a/bitnami/memcached/templates/deployment.yaml b/bitnami/memcached/templates/deployment.yaml index 822392e29a1454..3f45081aaad853 100644 --- a/bitnami/memcached/templates/deployment.yaml +++ b/bitnami/memcached/templates/deployment.yaml @@ -216,7 +216,12 @@ spec: {{- end }} volumes: - name: empty-dir + {{- if eq .Values.emptyDir.medium "Memory" }} + emptyDir: + medium: "Memory" + {{- else }} emptyDir: {} + {{- end }} {{- if .Values.extraVolumes }} {{- include "common.tplvalues.render" (dict "value" .Values.extraVolumes "context" $) | nindent 8 }} {{- end }} diff --git a/bitnami/memcached/values.yaml b/bitnami/memcached/values.yaml index 0622ed9a1d27ae..b7e1f63abe6b6f 100644 --- a/bitnami/memcached/values.yaml +++ b/bitnami/memcached/values.yaml @@ -347,6 +347,10 @@ terminationGracePeriodSeconds: "" updateStrategy: type: RollingUpdate rollingUpdate: {} +## @param emptyDir.medium Override emptyDir Volume type, defaults to emptyDir: {} +## Possible values: "Memory", "" +emptyDir: + medium: "" ## @param extraVolumes Optionally specify extra list of additional volumes for the Memcached pod(s) ## Example Use Case: mount certificates to enable TLS ## e.g: