Repository navigation
root: move server and worker healthcheck to rust - #23556
Conversation
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #23556 +/- ##
==========================================
+ Coverage 93.10% 93.22% +0.12%
==========================================
Files 1038 1039 +1
Lines 60744 60801 +57
Branches 400 424 +24
==========================================
+ Hits 56553 56680 +127
+ Misses 4191 4121 -70
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-21a9e7fe00a15add3e81192463b34fc6830a3542
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-21a9e7fe00a15add3e81192463b34fc6830a3542Afterwards, run the upgrade commands from the latest release notes. |
* main: (415 commits) Web/maintenance: Replace routine form endpoints (#23554) root: move server and worker healthcheck to rust (#23556) website/docs: api: remove note (#23555) web: bump @playwright/test from 1.60.0 to 1.61.0 in /web (#23545) providers/scim: fix enum warning when de-serializing (#23553) flows: fix flow executor authentication with jwt (#16646) web: bump playwright from 1.60.0 to 1.61.0 in /web (#23542) core, web: update translations (#23534) web: bump the eslint group across 1 directory with 3 updates (#23538) web: bump type-fest from 5.6.0 to 5.7.0 in /web (#23544) lifecycle/aws: bump aws-cdk from 2.1128.0 to 2.1128.1 in /lifecycle/aws (#23535) core: bump deepmerge from 2.0 to 2.1.0 (#23539) root: fix "make gen" failing with "the input device is not a TTY" (#23546) core: bump library/golang from `76a2924` to `68b7145` in /lifecycle/container (#23536) core: bump goauthentik/fips-python from `15f00f3` to `6067443` in /lifecycle/container (#23537) website/integrations: fix logo missing (#23548) translate: Updates for project authentik and language ar_AA (#23516) Web/maintenance/explicit model endpoints (#22897) providers/oauth: Properly return error via post and for request objects (#23037) providers/oauth: Logout remove static html (#23002) ...
* main: (487 commits) Web/maintenance: Replace routine form endpoints (#23554) root: move server and worker healthcheck to rust (#23556) website/docs: api: remove note (#23555) web: bump @playwright/test from 1.60.0 to 1.61.0 in /web (#23545) providers/scim: fix enum warning when de-serializing (#23553) flows: fix flow executor authentication with jwt (#16646) web: bump playwright from 1.60.0 to 1.61.0 in /web (#23542) core, web: update translations (#23534) web: bump the eslint group across 1 directory with 3 updates (#23538) web: bump type-fest from 5.6.0 to 5.7.0 in /web (#23544) lifecycle/aws: bump aws-cdk from 2.1128.0 to 2.1128.1 in /lifecycle/aws (#23535) core: bump deepmerge from 2.0 to 2.1.0 (#23539) root: fix "make gen" failing with "the input device is not a TTY" (#23546) core: bump library/golang from `76a2924` to `68b7145` in /lifecycle/container (#23536) core: bump goauthentik/fips-python from `15f00f3` to `6067443` in /lifecycle/container (#23537) website/integrations: fix logo missing (#23548) translate: Updates for project authentik and language ar_AA (#23516) Web/maintenance/explicit model endpoints (#22897) providers/oauth: Properly return error via post and for request objects (#23037) providers/oauth: Logout remove static html (#23002) ...
* main: Web/maintenance: Replace routine form endpoints (#23554) root: move server and worker healthcheck to rust (#23556) website/docs: api: remove note (#23555) web: bump @playwright/test from 1.60.0 to 1.61.0 in /web (#23545) providers/scim: fix enum warning when de-serializing (#23553) flows: fix flow executor authentication with jwt (#16646) web: bump playwright from 1.60.0 to 1.61.0 in /web (#23542) core, web: update translations (#23534) web: bump the eslint group across 1 directory with 3 updates (#23538) web: bump type-fest from 5.6.0 to 5.7.0 in /web (#23544) lifecycle/aws: bump aws-cdk from 2.1128.0 to 2.1128.1 in /lifecycle/aws (#23535) core: bump deepmerge from 2.0 to 2.1.0 (#23539) root: fix "make gen" failing with "the input device is not a TTY" (#23546) core: bump library/golang from `76a2924` to `68b7145` in /lifecycle/container (#23536) core: bump goauthentik/fips-python from `15f00f3` to `6067443` in /lifecycle/container (#23537) website/integrations: fix logo missing (#23548) translate: Updates for project authentik and language ar_AA (#23516) Web/maintenance/explicit model endpoints (#22897) providers/oauth: Properly return error via post and for request objects (#23037) providers/oauth: Logout remove static html (#23002)
Details
What does this PR change?
move the
ak healthcheckcommand from go to rustThe proxy healthcheck is also implemented but not used by anything in this PR, so nothing really changes here.
It also adds
/-/health/live/endpoint regardless of web.path in the server so that we don't need to load the config only for running the healthcheck.Why is this change needed?
We're rewriting in rust so yeah
How was this tested?
Manually by running the targets and then running
ak healthcheckLinked issues
Checklist
make all)make docs)