Skip to content

Conversation

@jhrozek
Copy link
Contributor

@jhrozek jhrozek commented Nov 27, 2025

The local authentication type uses user.Current() to get the OS username, which is meaningful for CLI usage but inappropriate in Kubernetes where the container user has no relation to connecting clients.

This removes local from the CRD layer only, preserving it in pkg/vmcp for CLI use cases.

The `local` authentication type uses `user.Current()` to get the OS
username, which is meaningful for CLI usage but inappropriate in
Kubernetes where the container user has no relation to connecting
clients.

This removes `local` from the CRD layer only, preserving it in
pkg/vmcp for CLI use cases.
@github-actions github-actions bot added the size/XS Extra small PR: < 100 lines changed label Nov 27, 2025
@codecov
Copy link

codecov bot commented Nov 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.29%. Comparing base (6e0e96c) to head (6a44299).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2759   +/-   ##
=======================================
  Coverage   56.29%   56.29%           
=======================================
  Files         319      319           
  Lines       30753    30753           
=======================================
  Hits        17312    17312           
  Misses      11953    11953           
  Partials     1488     1488           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jhrozek jhrozek merged commit 6baef4e into main Nov 27, 2025
36 checks passed
@jhrozek jhrozek deleted the no_local_auth_in_k8s branch November 27, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Extra small PR: < 100 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants