Skip to content

Commit

Permalink
Don't add admin user to config (#125)
Browse files Browse the repository at this point in the history
We create it separately anyway, without login and password.
  • Loading branch information
CyberDem0n committed Jan 25, 2017
1 parent d190227 commit cdd6fe2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions postgres-appliance/configure_spilo.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,6 @@ def deep_update(a, b):
- encoding: UTF8
- locale: en_US.UTF-8
- data-checksums
users:
admin:
password: {{PGPASSWORD_ADMIN}}
options:
- createrole
- createdb
pg_hba:
- hostssl all all 0.0.0.0/0 md5
- host all all 0.0.0.0/0 md5
Expand Down Expand Up @@ -274,7 +268,6 @@ def get_placeholders(provider):
placeholders.setdefault('PGROOT', os.path.join(placeholders['PGHOME'], 'pgroot'))
placeholders.setdefault('WALE_TMPDIR', os.path.abspath(os.path.join(placeholders['PGROOT'], '../tmp')))
placeholders.setdefault('PGDATA', os.path.join(placeholders['PGROOT'], 'pgdata'))
placeholders.setdefault('PGPASSWORD_ADMIN', 'standby')
placeholders.setdefault('PGPASSWORD_STANDBY', 'standby')
placeholders.setdefault('PGPASSWORD_SUPERUSER', 'zalando')
placeholders.setdefault('PGPORT', '5432')
Expand Down

0 comments on commit cdd6fe2

Please sign in to comment.