Skip to content

Commit

Permalink
fix: fix POSTGIS extension with correct script. (#1553)
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp authored Oct 27, 2023
1 parent 64c820f commit 4e8450d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions charts/quickstart-openshift/values-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,10 @@ bitnami-pg:
podSecurityContext:
enabled: false
initdb:
scripts:
postgis.sql: |
CREATE EXTENSION postgis;
scripts: # remove the below script, if POSTGIS is not required.
postgis.sh: |
#!/bin/sh
PGPASSWORD=$POSTGRES_PASSWORD psql -U postgres -d postgres -c "CREATE EXTENSION postgis;"
resources:
requests:
Expand Down
7 changes: 4 additions & 3 deletions charts/quickstart-openshift/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,10 @@ bitnami-pg:
podSecurityContext:
enabled: false
initdb:
scripts:
postgis.sql: |
CREATE EXTENSION postgis;
scripts: # remove the below script, if POSTGIS is not required.
postgis.sh: |
#!/bin/sh
PGPASSWORD=$POSTGRES_PASSWORD psql -U postgres -d postgres -c "CREATE EXTENSION postgis;"
resources:
requests:
cpu: 50m
Expand Down

0 comments on commit 4e8450d

Please sign in to comment.