From 7b8d2039073e96e68469578197e5804f9ac97cb2 Mon Sep 17 00:00:00 2001 From: michaeljguarino Date: Fri, 7 Jun 2024 11:45:18 -0400 Subject: [PATCH] revert read only root filesystem --- pkg/controller/stacks/job.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/stacks/job.go b/pkg/controller/stacks/job.go index d5c42ff2..124fbad8 100644 --- a/pkg/controller/stacks/job.go +++ b/pkg/controller/stacks/job.go @@ -299,7 +299,7 @@ func ensureDefaultContainerSecurityContext(sc *corev1.SecurityContext) *corev1.S return &corev1.SecurityContext{ AllowPrivilegeEscalation: lo.ToPtr(false), - ReadOnlyRootFilesystem: lo.ToPtr(true), + ReadOnlyRootFilesystem: lo.ToPtr(false), RunAsNonRoot: lo.ToPtr(true), RunAsUser: lo.ToPtr(nonRootUID), RunAsGroup: lo.ToPtr(nonRootGID),