Skip to content

Commit

Permalink
Exit init script immediately on error (#16758)
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcecode-glitch authored Sep 27, 2021
1 parent c520eb7 commit ef95458
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/superset/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ maintainers:
- name: craig-rueda
email: craig@craigrueda.com
url: https://github.com/craig-rueda
version: 0.3.8
version: 0.3.9
dependencies:
- name: postgresql
version: 10.2.0
Expand Down
1 change: 1 addition & 0 deletions helm/superset/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ init:
command: [ "/bin/sh", "-c", "until nc -zv $DB_HOST $DB_PORT -w1; do echo 'waiting for db'; sleep 1; done" ]
initscript: |-
#!/bin/sh
set -eu
echo "Upgrading DB schema..."
superset db upgrade
echo "Initializing roles..."
Expand Down

0 comments on commit ef95458

Please sign in to comment.