(fix) always mount /tmp as emptydir by default for readOnlyRootFilesystem (#1094)
This commit is contained in:
committed by
GitHub
parent
400e0c8a0f
commit
a507264642
@@ -15,4 +15,4 @@ maintainers:
|
||||
name: common
|
||||
sources: null
|
||||
type: library
|
||||
version: 8.2.0
|
||||
version: 8.2.1
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user