Commit 852cf610 authored by Yori Fournier's avatar Yori Fournier
Browse files

added runAsUser for pgapp and pgdata

parent f7f3ef89
Pipeline #1949 passed with stages
in 33 seconds
...@@ -47,6 +47,8 @@ spec: ...@@ -47,6 +47,8 @@ spec:
labels: labels:
app: pgapp app: pgapp
spec: spec:
securityContext:
runAsUser: 1000
containers: containers:
- name: pgapp - name: pgapp
image: docker-registry.default.svc:5000/daiquiri-test-instance-498/image-pgapp:latest image: docker-registry.default.svc:5000/daiquiri-test-instance-498/image-pgapp:latest
...@@ -69,6 +71,8 @@ spec: ...@@ -69,6 +71,8 @@ spec:
labels: labels:
app: pgdata app: pgdata
spec: spec:
securityContext:
runAsUser: 1000
containers: containers:
- name: pgdata - name: pgdata
image: docker-registry.default.svc:5000/daiquiri-test-instance-498/image-pgdata:latest image: docker-registry.default.svc:5000/daiquiri-test-instance-498/image-pgdata:latest
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment