(fix) always mount /tmp as emptydir by default for readOnlyRootFilesystem (#1094)

This commit is contained in:
Kjeld Schouten-Lebbing
2021-10-04 14:04:02 +02:00
committed by GitHub
parent 400e0c8a0f
commit a507264642
2 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -15,4 +15,4 @@ maintainers:
name: common
sources: null
type: library
version: 8.2.0
version: 8.2.1
+15
View File
@@ -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