From 15c37e9516a589789d9b36d8927f5a2ea87d5ab3 Mon Sep 17 00:00:00 2001 From: Gerred Dillon Date: Thu, 25 Jan 2024 14:43:49 -0600 Subject: [PATCH] add security context to match the base image (#50) --- chart/templates/api/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chart/templates/api/deployment.yaml b/chart/templates/api/deployment.yaml index 08a44a4..a3f5294 100644 --- a/chart/templates/api/deployment.yaml +++ b/chart/templates/api/deployment.yaml @@ -56,6 +56,10 @@ spec: port: 8080 initialDelaySeconds: 10 periodSeconds: 10 + securityContext: + runAsUser: 65532 + runAsGroup: 65532 + fsGroup: 65532 volumeMounts: - name: api-model mountPath: /config