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

Anonymous / No-auth mode #3958

Merged
merged 17 commits into from
Aug 22, 2023
Merged

Anonymous / No-auth mode #3958

merged 17 commits into from
Aug 22, 2023

Conversation

foot
Copy link
Contributor

@foot foot commented Aug 21, 2023

What changed?

Introduces a cli-flag to enable "anonymous" mode.

This allows the dashboard to be configured without auth, no login screen will be shown. Its designed to be used with external authentication systems like auth-proxies.

The kubernetes User that is impersonated can be configured via the flag value.

Why was this change made?

Allows external auth systems to be used instead of built in OIDC.

How was this change implemented?

  • A new principal was added

How did you validate the change?

  • Unit tests
  • Manual testing

Documentation Changes

Yes, included.

@foot foot changed the title Anonymous mode Anonymous / No-auth mode Aug 22, 2023
@foot foot marked this pull request as ready for review August 22, 2023 06:56
@foot foot requested a review from bigkevmcd August 22, 2023 06:57
cmd/gitops-server/cmd/cmd.go Outdated Show resolved Hide resolved
pkg/server/auth/auth_method_type.go Show resolved Hide resolved
pkg/server/auth/init.go Outdated Show resolved Hide resolved
pkg/server/auth/server.go Outdated Show resolved Hide resolved
website/docs/configuration/anonymous-access.mdx Outdated Show resolved Hide resolved
@foot
Copy link
Contributor Author

foot commented Aug 22, 2023

cc @LappleApple as you've been looking at the user-guide. This PR also adds some user-guide docs about this new anonymous access feature.

@bigkevmcd
Copy link
Contributor

Thanks!

@foot foot merged commit d5c53f2 into main Aug 22, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants