Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.

Fix pgdata volume #1671

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions apps/auth-db/src/main/fabric8/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ spec:
image: registry.centos.org/postgresql/postgresql:9.6
imagePullPolicy: IfNotPresent
env:
env:
- name: POSTGRESQL_ADMIN_PASSWORD
valueFrom:
secretKeyRef:
Expand Down Expand Up @@ -48,10 +47,12 @@ spec:
- containerPort: 5432
protocol: TCP
volumeMounts:
- mountPath: /var/lib/pgsql
- mountPath: /var/lib/pgsql/data
name: auth-db-postgresql-data
readOnly: false
securityContext:
fsGroup: 0
volumes:
- name: auth-db-postgresql-data
persistentVolumeClaim:
claimName: auth-db-postgresql-data
claimName: auth-db-postgresql-data
6 changes: 4 additions & 2 deletions apps/gitea-db/src/main/fabric8/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ spec:
- containerPort: 5432
protocol: TCP
volumeMounts:
- mountPath: /var/lib/pgsql
- mountPath: /var/lib/pgsql/data
name: gitea-db-postgresql-data
readOnly: false
securityContext:
fsGroup: 0
volumes:
- name: gitea-db-postgresql-data
persistentVolumeClaim:
claimName: gitea-db-postgresql-data
claimName: gitea-db-postgresql-data
6 changes: 4 additions & 2 deletions apps/init-tenant/src/main/fabric8/db-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,12 @@ spec:
- containerPort: 5432
protocol: TCP
volumeMounts:
- mountPath: /var/lib/pgsql
- mountPath: /var/lib/pgsql/data
name: init-tenant-postgresql-data
readOnly: false
securityContext:
fsGroup: 0
volumes:
- name: init-tenant-postgresql-data
persistentVolumeClaim:
claimName: init-tenant-postgresql-data
claimName: init-tenant-postgresql-data
6 changes: 4 additions & 2 deletions apps/mattermost-db/src/main/fabric8/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ spec:
- containerPort: 5432
protocol: TCP
volumeMounts:
- mountPath: /var/lib/pgsql
- mountPath: /var/lib/pgsql/data
name: mattermost-db-postgresql-data
readOnly: false
securityContext:
fsGroup: 0
volumes:
- name: mattermost-db-postgresql-data
persistentVolumeClaim:
claimName: mattermost-db-postgresql-data
claimName: mattermost-db-postgresql-data
6 changes: 4 additions & 2 deletions apps/wit/src/main/fabric8/db-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,12 @@ spec:
- containerPort: 5432
protocol: TCP
volumeMounts:
- mountPath: /var/lib/pgsql
- mountPath: /var/lib/pgsql/data
name: wit-postgresql-data
readOnly: false
securityContext:
fsGroup: 0
volumes:
- name: wit-postgresql-data
persistentVolumeClaim:
claimName: wit-postgresql-data
claimName: wit-postgresql-data