From 4ac85439eea1129215da280d57e391ea0a5b62aa Mon Sep 17 00:00:00 2001 From: Sebastien LALLEMAND Date: Wed, 5 Jul 2023 12:06:04 +0200 Subject: [PATCH] securityContext --- charts/sql-server-2019/templates/deployment.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/sql-server-2019/templates/deployment.yaml b/charts/sql-server-2019/templates/deployment.yaml index ae31157..702681d 100644 --- a/charts/sql-server-2019/templates/deployment.yaml +++ b/charts/sql-server-2019/templates/deployment.yaml @@ -51,7 +51,8 @@ spec: restartPolicy: Always terminationGracePeriodSeconds: 30 dnsPolicy: ClusterFirst - securityContext: {} + securityContext: + fsGroup: 10001 schedulerName: default-scheduler serviceAccountName: sql-server serviceAccount: sql-server