diff --git a/charts/sdfactory/templates/deployment.yaml b/charts/sdfactory/templates/deployment.yaml index fe16945..78d3192 100644 --- a/charts/sdfactory/templates/deployment.yaml +++ b/charts/sdfactory/templates/deployment.yaml @@ -107,3 +107,9 @@ spec: resources: {{- toYaml .Values.resources | nindent 12 }} + volumeMounts: + - mountPath: /tmp + name: tmp + volumes: + - emptyDir: {} + name: tmp diff --git a/charts/sdfactory/values.yaml b/charts/sdfactory/values.yaml index 3368301..08b58ac 100644 --- a/charts/sdfactory/values.yaml +++ b/charts/sdfactory/values.yaml @@ -56,7 +56,7 @@ securityContext: drop: - ALL allowPrivilegeEscalation: false - # readOnlyRootFilesystem: true + readOnlyRootFilesystem: true runAsNonRoot: true runAsUser: 1000 runAsGroup: 1000