From a9791b4fe6d6cd89ab574227376c4769230c0414 Mon Sep 17 00:00:00 2001 From: momelod Date: Sat, 24 Feb 2024 22:10:30 -0500 Subject: [PATCH] Ensure volume is accessible to the mssql user group 10001. --- charts/self-host/templates/mssql.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/self-host/templates/mssql.yaml b/charts/self-host/templates/mssql.yaml index 593dc898..4e3979a9 100644 --- a/charts/self-host/templates/mssql.yaml +++ b/charts/self-host/templates/mssql.yaml @@ -30,6 +30,8 @@ spec: {{ toYaml . | indent 8 }} {{- end }} spec: + securityContext: + fsGroup: 10001 {{- if .Values.database.podServiceAccount }} serviceAccount: {{ .Values.database.podServiceAccount | quote }} serviceAccountName: {{ .Values.database.podServiceAccount | quote }}