Commit b03f645
committed
fix: runs entrypoint-wrapper.sh when possible
The current command param overrides the container entrypoint, so our
wrapper never runs. Additionally, the wrapper itself needed a small fix
to both ignore the original entrypoint file (no longer present) and to
accept params .
To make this backwards compatible, we first check if our entrypoint can
run (via a version file). If so, we use it as entrypoint for the patroni
binary. Otherwise, we execute patroni directly (previous behavior).
Signed-off-by: Juliana Oliveira <[email protected]>1 parent 308fe85 commit b03f645
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
108 | 115 | | |
109 | 116 | | |
110 | 117 | | |
| |||
0 commit comments