Amar3tto commented on code in PR #36315:
URL: https://github.com/apache/beam/pull/36315#discussion_r2388774354
##########
.test-infra/kubernetes/postgres/postgres-service-for-local-dev.yml:
##########
@@ -43,13 +43,26 @@ spec:
labels:
name: postgres
spec:
+ securityContext:
+ fsGroup: 999
containers:
- name: postgres
image: postgres
env:
- name: POSTGRES_PASSWORD
value: uuinkks
- name: PGDATA
- value: /var/lib/postgresql/data/pgdata
+ value: /pgdata/data
ports:
- containerPort: 5432
+ securityContext:
Review Comment:
The root problem was `mkdir: cannot create directory
‘/var/lib/postgresql/data’: Permission denied`.
It possibly came from new version of the postgres image.
I added more permissions and changed the path for pgdata
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]