add a special /var/run tmpfs mountpoint to common (#1032)

* add a special /var/run tmpfs mountpoint to common

* common-test version in tests fix
This commit is contained in:
Kjeld Schouten-Lebbing
2021-09-25 20:31:39 +02:00
committed by GitHub
parent 15ad9fe2e9
commit 4ea3185e38
3 changed files with 18 additions and 2 deletions
+1 -1
View File
@@ -15,4 +15,4 @@ maintainers:
name: common
sources: null
type: library
version: 8.0.3
version: 8.0.4
@@ -80,7 +80,7 @@ func (suite *PersistenceVolumeClaimTestSuite) TestMetaData() {
"app.kubernetes.io/instance": "common-test",
"app.kubernetes.io/managed-by": "Helm",
"app.kubernetes.io/name": "common-test",
"app.kubernetes.io/version":"latest",
"app.kubernetes.io/version":"1.6.1",
"helm.sh/chart": "common-test-3.1.4",
}
+16
View File
@@ -592,6 +592,22 @@ 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
# [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#emptydir)
# @default -- See below
varrun:
enabled: true
type: emptyDir
mountPath: /var/run
# -- 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)