fixed nonroot
This commit is contained in:
parent
c520dfc3b5
commit
b8f835eb3a
3 changed files with 10 additions and 4 deletions
|
|
@ -21,11 +21,17 @@ spec:
|
|||
- name: template-solver
|
||||
image: git.giftfish.de/ston1th/template-solver
|
||||
imagePullPolicy: Always
|
||||
securityContext:
|
||||
runAsUser: 65532
|
||||
runAsGroup: 65532
|
||||
capabilities:
|
||||
drop: ["ALL"]
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
args:
|
||||
- --secure-port=8443
|
||||
- --tls-cert-file=/tls/tls.crt
|
||||
- --tls-private-key-file=/tls/tls.key
|
||||
env:
|
||||
|
|
@ -33,7 +39,7 @@ spec:
|
|||
value: template-solver
|
||||
ports:
|
||||
- name: https
|
||||
containerPort: 443
|
||||
containerPort: 8443
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue