diff --git a/charts/common/Chart.yaml b/charts/common/Chart.yaml index 63e9ef6e..8ae4b694 100644 --- a/charts/common/Chart.yaml +++ b/charts/common/Chart.yaml @@ -15,4 +15,4 @@ maintainers: name: common sources: null type: library -version: 10.5.12 +version: 10.6.0 diff --git a/charts/common/values.yaml b/charts/common/values.yaml index 8d07cf3f..2c589ae6 100644 --- a/charts/common/values.yaml +++ b/charts/common/values.yaml @@ -809,6 +809,20 @@ persistence: # specify a size for memory backed volumes. sizeLimit: # 1Gi + # -- Create an emptyDir volume to for /dev/shm + # [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) + # @default -- See below + shm: + enabled: true + type: emptyDir + mountPath: /dev/shm + # -- Set the medium to "Memory" to mount a tmpfs (RAM-backed filesystem) instead + # of the storage medium that backs the node. + medium: Memory + # -- If the `SizeMemoryBackedVolumes` feature gate is enabled, you can + # specify a size for memory backed volumes. + sizeLimit: # 1Gi + # -- Example of a hostPath mount # [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) # @default -- See below diff --git a/helper-charts/common-test/tests/container/volumemounts_test.yaml b/helper-charts/common-test/tests/container/volumemounts_test.yaml index 1dcc78fb..cd09e8eb 100644 --- a/helper-charts/common-test/tests/container/volumemounts_test.yaml +++ b/helper-charts/common-test/tests/container/volumemounts_test.yaml @@ -13,6 +13,8 @@ tests: value: - mountPath: /shared name: shared + - mountPath: /dev/shm + name: shm - mountPath: /tmp name: temp - mountPath: /var/logs