added security context

This commit is contained in:
ston1th 2020-02-01 17:34:51 +01:00
commit 4e92e722fc
3 changed files with 73 additions and 20 deletions

View file

@ -20,8 +20,13 @@ spec:
containers:
- name: status-reporter
image: git.giftfish.de/ston1th/status-reporter
imagePullPolicy: Always
securityContext:
runAsUser: 1000
runAsGroup: 1000
capabilities:
drop: ["ALL"]
resources:
requests:
cpu: 100m
memory: 128Mi
imagePullPolicy: Always