Skip to content
Snippets Groups Projects
Commit 9a9b5e37 authored by Tim Smith's avatar Tim Smith
Browse files

Per merge discussion, moving PGDATA out of config map and defining in deployment manifest

parent 2da0f92f
No related branches found
No related tags found
1 merge request!31Change postgres mount dir and pgdata to make persistent data work
Loading
Loading
@@ -13,7 +13,6 @@ data:
mattermost_app_uid: aadas
postgres_user: gitlab
postgres_db: gitlab_production
postgres_pgdata: /var/lib/postgresql/data/pgdata
---
apiVersion: v1
kind: Secret
Loading
Loading
Loading
Loading
@@ -33,10 +33,7 @@ spec:
- name: DB_EXTENSION
value: pg_trgm
- name: PGDATA
valueFrom:
configMapKeyRef:
name: gitlab-config
key: postgres_pgdata
value: /var/lib/postgresql/data/pgdata
ports:
- name: postgres
containerPort: 5432
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment