Skip to content

Commit

Permalink
pgupgrade: updated old deployment pod to sleep for 10 sec before star…
Browse files Browse the repository at this point in the history
…ting
  • Loading branch information
Shubhra Deshpande committed Oct 21, 2024
1 parent e343734 commit 95dc610
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ spec:
- name: postgres-data
persistentVolumeClaim:
claimName: clair-postgres-13
initContainers:
- name: check-postgres-scale-down
image: quay.io/sclorg/postgresql-13-c9s:latest
command:
- /bin/sh
- -c
- |
echo "Waiting for 10 seconds before starting the main container..."
sleep 10
containers:
- name: postgres
image: quay.io/sclorg/postgresql-13-c9s:latest
Expand Down

0 comments on commit 95dc610

Please sign in to comment.