Skip to content

Commit

Permalink
chore: all-in-one manifests migrations job improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
czeslavo committed May 31, 2023
1 parent 6b3951d commit 96a5c25
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/variants/postgres/migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ spec:
value: postgres
- name: KONG_PG_PORT
value: "5432"
command: [ "/bin/bash", "-c", "kong migrations bootstrap" ]
command: [ "/bin/bash", "-c", "kong migrations bootstrap && kong migrations up && kong migrations finish" ]
restartPolicy: OnFailure
2 changes: 1 addition & 1 deletion deploy/single/all-in-one-postgres-enterprise.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1923,7 +1923,7 @@ spec:
- command:
- /bin/bash
- -c
- kong migrations bootstrap
- kong migrations bootstrap && kong migrations up && kong migrations finish
env:
- name: KONG_LICENSE_DATA
valueFrom:
Expand Down
2 changes: 1 addition & 1 deletion deploy/single/all-in-one-postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1860,7 +1860,7 @@ spec:
- command:
- /bin/bash
- -c
- kong migrations bootstrap
- kong migrations bootstrap && kong migrations up && kong migrations finish
env:
- name: KONG_PG_PASSWORD
value: kong
Expand Down

0 comments on commit 96a5c25

Please sign in to comment.