added security context

This commit is contained in:
ston1th 2020-02-01 17:34:31 +01:00
commit 4a315f72ae

View file

@ -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