Skip to content

Commit ba1c04d

Browse files
marvinromanjobara
andauthored
fix: split the healthcheck and external Node Ping paths (resolve #2042) (#2152)
* ci: 👷 changed internal healthcheck path * fix: create maintance mode exception paths that will bypass maintenance mode * ci: 👷 added vite build to container * build: 👷 removed npm build since it is redundant --------- Co-authored-by: Justin Obara <[email protected]>
1 parent 0058963 commit ba1c04d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.kube/app/values.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: "IRIS Accessibility Exchange"
2-
health: /
2+
health: /status/db
3+
nodeHealth: /
34
cronjobs:
45
- name: schedule
56
schedule: "* * * * *"

app/Http/Middleware/PreventRequestsDuringMaintenance.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ class PreventRequestsDuringMaintenance extends Middleware
1212
* @var array<int, string>
1313
*/
1414
protected $except = [
15-
//
15+
'/status/db',
16+
'/status',
1617
];
1718
}

0 commit comments

Comments
 (0)