added security context
This commit is contained in:
parent
9ed13687ce
commit
4e92e722fc
3 changed files with 73 additions and 20 deletions
|
|
@ -13,7 +13,7 @@ spec:
|
|||
allowPrivilegeEscalation: false
|
||||
requiredDropCapabilities: ["ALL"]
|
||||
readOnlyRootFilesystem: true
|
||||
volumes: ["secret"]
|
||||
volumes: ["configMap", "secret"]
|
||||
hostNetwork: false
|
||||
hostIPC: false
|
||||
hostPID: false
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue