Fix: securityContext
All checks were successful
Build image and deploy / release-image (push) Successful in 1m3s
Build image and deploy / deploy (push) Successful in 4s

This commit is contained in:
2024-10-23 18:03:56 +00:00
parent 36ca8af485
commit 288715f0c1
2 changed files with 7 additions and 2 deletions

View File

@@ -18,12 +18,17 @@ spec:
spec:
containers:
- name: server
securityContext:
runAsNonRoot: true
runAsUser: 1000
image: gitea.konchin.com/service/rickroll:latest
ports:
- name: http
containerPort: 80
containerPort: 8080
env:
- name: URI
value: https://youtu.be/dQw4w9WgXcQ
- name: PORT
value: '8080'
imagePullSecrets:
- name: regcred

View File

@@ -13,4 +13,4 @@ spec:
ports:
- name: http
port: 80
targetPort: 80
targetPort: 8080