From a507264642adf0388cc58525443a5d4b240cb233 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Mon, 4 Oct 2021 14:04:02 +0200 Subject: [PATCH] (fix) always mount /tmp as emptydir by default for readOnlyRootFilesystem (#1094) --- charts/library/common/Chart.yaml | 2 +- charts/library/common/values.yaml | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/charts/library/common/Chart.yaml b/charts/library/common/Chart.yaml index 8de91c8a29a..094c25e22a5 100644 --- a/charts/library/common/Chart.yaml +++ b/charts/library/common/Chart.yaml @@ -15,4 +15,4 @@ maintainers: name: common sources: null type: library -version: 8.2.0 +version: 8.2.1 diff --git a/charts/library/common/values.yaml b/charts/library/common/values.yaml index f647aae0ee7..d409f628c20 100644 --- a/charts/library/common/values.yaml +++ b/charts/library/common/values.yaml @@ -596,6 +596,20 @@ persistence: # -- If the `SizeMemoryBackedVolumes` feature gate is enabled, you can # specify a size for memory backed volumes. sizeLimit: # 1Gi + + # -- Create an emptyDir volume to share between all containers for temporary storage + # @default -- See below + temp: + enabled: true + type: emptyDir + mountPath: /tmp + # -- 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 + # -- Create an emptyDir volume to share between all containers # [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) # @default -- See below @@ -610,6 +624,7 @@ persistence: # 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