Skip to content

[Bug][Config-UI] Health endpoint is not accessible for livenessProbe/readinessProbe when basicAuth is enabled #6957

Description

@sayeedhussain

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

We have deployed devlake using helm chart in AWS EKS cluster.

We noticed that when basicAuth is enabled in config-ui, the /health endpoint which seems to be added as part of this PR #5745 is not accessible without auth. Hitting /health shows up the authentication popup. Refer screenshot.

Screenshot 2024-02-15 at 12 24 02 PM

So we are not able to configure /health for our liveness/readiness probe. With basicAuth enabled, the existing probes also fail due to authencation error and the config-ui pod doesn't come up.

To overcome this, we had to disable the probes using kubectl patch deployment command.

What do you expect to happen

/health endpoint should be accessible without auth.

How to reproduce

  1. Deploy devlake through helm chart with basicAuth enabled.
  2. Hit the /health endpoint. Basic auth pop-up will come up.

Anything else

Always reproducible.

Version

0.21.0-beta1

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThis issue is a bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions