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

Fix incorrect volume mounts for postgres data #1662

Closed
wants to merge 1 commit into from
Closed
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
5 changes: 2 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,10 @@ spec:
- containerPort: 5432
protocol: TCP
volumeMounts:
- mountPath: /var/lib/pgsql
- mountPath: /var/lib/pgsql/data
name: auth-db-postgresql-data
readOnly: false
volumes:
- name: auth-db-postgresql-data
persistentVolumeClaim:
claimName: auth-db-postgresql-data
claimName: auth-db-postgresql-data
4 changes: 2 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,10 @@ spec:
- containerPort: 5432
protocol: TCP
volumeMounts:
- mountPath: /var/lib/pgsql
- mountPath: /var/lib/pgsql/data
name: gitea-db-postgresql-data
readOnly: false
volumes:
- name: gitea-db-postgresql-data
persistentVolumeClaim:
claimName: gitea-db-postgresql-data
claimName: gitea-db-postgresql-data
4 changes: 2 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,10 @@ spec:
- containerPort: 5432
protocol: TCP
volumeMounts:
- mountPath: /var/lib/pgsql
- mountPath: /var/lib/pgsql/data
name: init-tenant-postgresql-data
readOnly: false
volumes:
- name: init-tenant-postgresql-data
persistentVolumeClaim:
claimName: init-tenant-postgresql-data
claimName: init-tenant-postgresql-data
4 changes: 2 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,10 @@ spec:
- containerPort: 5432
protocol: TCP
volumeMounts:
- mountPath: /var/lib/pgsql
- mountPath: /var/lib/pgsql/data
name: mattermost-db-postgresql-data
readOnly: false
volumes:
- name: mattermost-db-postgresql-data
persistentVolumeClaim:
claimName: mattermost-db-postgresql-data
claimName: mattermost-db-postgresql-data
4 changes: 2 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,10 @@ spec:
- containerPort: 5432
protocol: TCP
volumeMounts:
- mountPath: /var/lib/pgsql
- mountPath: /var/lib/pgsql/data
name: wit-postgresql-data
readOnly: false
volumes:
- name: wit-postgresql-data
persistentVolumeClaim:
claimName: wit-postgresql-data
claimName: wit-postgresql-data