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

This commit is contained in:
ytshih committed 2024-10-23 18:03:56 +00:00
1 parent 36ca8af485
commit 288715f0c1
2 files changed
+7 -2

No files matched your search

+6 -1
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
+1 -1
View File
@@ -13,4 +13,4 @@ spec:
ports:
- name: http
port: 80
targetPort: 80
targetPort: 8080