Skip to content

Commit

Permalink
Merge pull request #264 from carbonin/fix_pg_pod
Browse files Browse the repository at this point in the history
Mount the configmap into the directory the new image expects
  • Loading branch information
bdunne authored Feb 7, 2018
2 parents 05d842a + 4529086 commit 6447370
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions templates/miq-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ objects:
- name: miq-pgdb-volume
mountPath: "/var/lib/pgsql/data"
- name: miq-pg-configs
mountPath: "${POSTGRESQL_CONFIG_DIR}"
mountPath: "/opt/app-root/src/postgresql-config/"
env:
- name: POSTGRESQL_USER
value: "${DATABASE_USER}"
Expand All @@ -638,8 +638,6 @@ objects:
value: "${POSTGRESQL_MAX_CONNECTIONS}"
- name: POSTGRESQL_SHARED_BUFFERS
value: "${POSTGRESQL_SHARED_BUFFERS}"
- name: POSTGRESQL_CONFIG_DIR
value: "${POSTGRESQL_CONFIG_DIR}"
resources:
requests:
memory: "${POSTGRESQL_MEM_REQ}"
Expand Down Expand Up @@ -812,10 +810,6 @@ parameters:
displayName: Memcached Slab Page Size
description: Memcached size of each slab page.
value: 1m
- name: POSTGRESQL_CONFIG_DIR
displayName: PostgreSQL Configuration Overrides
description: Directory used to store PostgreSQL configuration overrides.
value: "/var/lib/pgsql/conf.d"
- name: POSTGRESQL_MAX_CONNECTIONS
displayName: PostgreSQL Max Connections
description: PostgreSQL maximum number of database connections allowed.
Expand Down

0 comments on commit 6447370

Please sign in to comment.