Skip to content

Commit

Permalink
Pass archive_command via helm values instead of modifying entrypoint
Browse files Browse the repository at this point in the history
Create default postgresql.conf and pg_hba.conf from samples
Remove chown commands from blueprint as container started with postgres user

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
  • Loading branch information
PrasadG193 committed Aug 29, 2019
1 parent cc91899 commit c1cabe4
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 468 deletions.
2 changes: 0 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ dockers:
- image_templates:
- 'kanisterio/postgresql:{{ .Tag }}'
dockerfile: 'docker/postgresql/Dockerfile'
extra_files:
- 'docker/postgresql/run.sh'
- binaries:
- kando
image_templates:
Expand Down
5 changes: 0 additions & 5 deletions docker/postgresql/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,4 @@ RUN set -x \
&& pip3 install awscli \
&& (cd /usr/local/bin; curl -L https://github.com/wal-g/wal-g/releases/download/v0.1.7/wal-g.linux-amd64.tar.gz | tar -zxv)

# Override base image's CMD script
COPY docker/postgresql/run.sh /

RUN chown postgres:root /run.sh

USER postgres
25 changes: 0 additions & 25 deletions docker/postgresql/run.sh

This file was deleted.

Loading

0 comments on commit c1cabe4

Please sign in to comment.