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 imagePullPolicy: Always
name: web name: web
ports: ports:
- containerPort: 80 - containerPort: 8080
name: web name: web
protocol: TCP protocol: TCP
resources: {} resources: {}
securityContext:
runAsUser: 1000
runAsGroup: 100
fsGroup: 1000
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /data mountPath: /data

View file

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