aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-09-01 15:08:37 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-09-01 15:08:37 +0200
commitbea8f3a6f3db1060ade64faa219cce6bf453cdb2 (patch)
tree0434815343f203c9f6ff29ba0500b84daa4d89e3 /kubernetes
parent4c0b307d0dcd4220ccf84f7d002c4cf436e4984d (diff)
[DCAEGEN2] define emptyDir volume for /tmp dir
- this improves support for making the pod filesystem read-only (of ves-collector) Issue-ID: DCAEGEN2-3415 Change-Id: Ic7413b2fd589d095b69eec0c88693b2db4e3c13c Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl b/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
index c841d6df50..5e39d51844 100644
--- a/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
+++ b/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
@@ -313,6 +313,8 @@ spec:
name: {{ ternary "app-config-input" "app-config" (not $drNeedProvisioning) }}
- mountPath: /app-config-input
name: app-config-input
+ - mountPath: /tmp
+ name: tmp-volume
{{- if $logDir }}
- mountPath: {{ $logDir}}
name: logs
@@ -385,6 +387,9 @@ spec:
- emptyDir:
medium: Memory
name: app-config
+ - name: tmp-volume
+ emptyDir:
+ sizeLimit: 128Mi
{{- if $logDir }}
- emptyDir: {}
name: logs