From 98d657e033d515c2f9a1341866ca8c51c2aefbd2 Mon Sep 17 00:00:00 2001 From: Dan Fuchs Date: Fri, 17 Jan 2025 16:11:49 -0600 Subject: [PATCH] TESTING - INSECURE --- applications/times-square/templates/deployment.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/applications/times-square/templates/deployment.yaml b/applications/times-square/templates/deployment.yaml index 7b6691c1a1..2c6e1f3366 100644 --- a/applications/times-square/templates/deployment.yaml +++ b/applications/times-square/templates/deployment.yaml @@ -62,11 +62,14 @@ spec: {{- end }} - name: {{ .Chart.Name }} securityContext: - allowPrivilegeEscalation: false + runAsNonRoot: false + runAsUser: 0 + runAsGroup: 0 + privileged: true capabilities: drop: - all - readOnlyRootFilesystem: true + readOnlyRootFilesystem: false image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} ports: