Skip to content

Commit

Permalink
fix: split the healthcheck and external Node Ping paths (resolve #2042)…
Browse files Browse the repository at this point in the history
… (#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 <jobara@users.noreply.github.com>
  • Loading branch information
marvinroman and jobara authored Mar 25, 2024
1 parent 0058963 commit ba1c04d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .kube/app/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: "IRIS Accessibility Exchange"
health: /
health: /status/db
nodeHealth: /
cronjobs:
- name: schedule
schedule: "* * * * *"
Expand Down
3 changes: 2 additions & 1 deletion app/Http/Middleware/PreventRequestsDuringMaintenance.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class PreventRequestsDuringMaintenance extends Middleware
* @var array<int, string>
*/
protected $except = [
//
'/status/db',
'/status',
];
}

0 comments on commit ba1c04d

Please sign in to comment.