set ports and userid

This commit is contained in:
Tobias Brunner 2024-04-09 21:37:03 +02:00
parent d2ba56b954
commit 0022a8ef35
Signed by: tobru
SSH Key Fingerprint: SHA256:kywVhvCA+MIxL6eBgoQa+BfC/ROJqcfD2bpy1PR6Ebk
2 changed files with 6 additions and 2 deletions

View File

@ -21,10 +21,14 @@ spec:
imagePullPolicy: Always
name: web
ports:
- containerPort: 80
- containerPort: 8080
name: web
protocol: TCP
resources: {}
securityContext:
runAsUser: 1000
runAsGroup: 100
fsGroup: 1000
volumeMounts:
- name: data
mountPath: /data

View File

@ -8,7 +8,7 @@ spec:
ports:
- port: 80
protocol: TCP
targetPort: 80
targetPort: 8080
selector:
component: kitchenowl-web
type: ClusterIP