set ports and userid
This commit is contained in:
parent
d2ba56b954
commit
0022a8ef35
|
@ -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
|
||||
|
|
|
@ -8,7 +8,7 @@ spec:
|
|||
ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
||||
targetPort: 80
|
||||
targetPort: 8080
|
||||
selector:
|
||||
component: kitchenowl-web
|
||||
type: ClusterIP
|
||||
|
|
Loading…
Reference in New Issue