Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not put the Kubecost logo behind auth #3837

Merged
merged 1 commit into from
Feb 4, 2025
Merged

Conversation

nealormsbee
Copy link
Member

What does this PR change?

Prevents access to a logo used by the "auth failed" error page from becoming inaccessible due to...auth failing.

This is a wildly-overly-specific nginx location directive, but when I tried to use /images/ or /images, the image was still blocked by invalid auth. Maybe ^/images/*$, or something, works. I'd need to read more about nginx. I think we'll want to revise the way our route handling is set up anyway.

Does this PR rely on any other PRs?

No

How does this PR impact users? (This is the kind of thing that goes in release notes!)

Prevent access to a logo used by the "auth failed" error page from becoming inaccessible due to...auth failing.

Links to Issues or tickets this PR addresses or fixes

What risks are associated with merging this PR? What is required to fully test this PR?

No real risk - I tested by seeing that the logo failed to load before the change, and afterward it loads fine.

How was this PR tested?

I tested by seeing that the logo failed to load before the change, and afterward it loads fine.

Have you made an update to documentation? If so, please provide the corresponding PR.

No.

@nealormsbee nealormsbee self-assigned this Feb 4, 2025
Copy link
Contributor

@kaelanspatel kaelanspatel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is probably an elegant way to handle this, but I think this is fine rn.

@nealormsbee nealormsbee merged commit 275cb55 into develop Feb 4, 2025
18 of 19 checks passed
@nealormsbee nealormsbee deleted the ndo/no-auth-logo branch February 4, 2025 22:04
@nealormsbee nealormsbee mentioned this pull request Feb 4, 2025
@thomasvn
Copy link
Member

thomasvn commented Feb 4, 2025

Agree, this is good for now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants