From 4a315f72aed862e88e9b0c2375a89098566d8027 Mon Sep 17 00:00:00 2001 From: ston1th Date: Sat, 1 Feb 2020 17:34:31 +0100 Subject: [PATCH] added security context --- config/deployment.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/deployment.yaml b/config/deployment.yaml index b0794dd..6bd794a 100644 --- a/config/deployment.yaml +++ b/config/deployment.yaml @@ -20,8 +20,13 @@ spec: containers: - name: pvc-reaper image: git.giftfish.de/ston1th/pvc-reaper + imagePullPolicy: Always + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + capabilities: + drop: ["ALL"] resources: requests: cpu: 100m memory: 128Mi - imagePullPolicy: Always