Repository navigation
Conversation
Add MultiValuedClaims to vmcpconfig.AuthzConfig and copy it from Cedar authz options in operator vMCP converter (inline/ConfigMap and ref paths). Pass MultiValuedClaims through pkg/vmcp/auth/factory to the Cedar authorizer so claimset_<name> attributes are produced for VirtualMCPServer when multi_valued_claims is configured. The Cedar authorizer already supports MultiValuedClaims; this change extends support to the vMCP deployment path (issue stacklok#6737).
suantea
requested review from
ChrisJBurns,
JAORMX,
amirejaz,
blkt,
jerm-dro,
jhrozek,
rdimitrov,
reyortiz3 and
tgrunnagle
as code owners
October 10, 2026 23:56
Wire --oidc-insecure-allow-http and --thv-ca-bundle into createOIDCConfig in thv run so the middleware's token validator receives InsecureAllowHTTP and CACertPath. Also forward JWKS auth token file. This matches issue stacklok#6522 (same pattern as stacklok#1470).
Reorder CleanupAll and CleanupStaleLocks to remove the lock file before unlocking to avoid the race described in the review of stacklok#6711. This prevents the path-to-inode reuse window where a waiter could acquire a stale inode after we release. Addresses stacklok#6713 (follow-up to stacklok#6711).
Author
Contributor
|
Hi @suantea, I'm closing this PR along with the rest of this batch. Nothing personal, it's just not how we're set up to take contributions. Our contributing guide asks you to comment on an issue and wait for someone on the team to assign it to you before you start. We do that so two people don't end up fixing the same thing, and so we can agree on the approach first. A few of these PRs landed on issues that already had someone assigned, and I can't review 20+ PRs across unrelated parts of the codebase from one person anyway. If you'd like to contribute, please read CONTRIBUTING.md, pick one issue, and ask to be assigned. A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Passes
--oidc-insecure-allow-httpand--thv-ca-bundleto the OIDC token validator inthv run. Also forwards--jwks-auth-token-file. This ensures the middleware can use the provided CA bundle for JWKS/OIDC discovery and allow HTTP issuers when requested.Fixes #6522 (same as #1470 but for the remaining transport flags).
Also includes unlink-before-unlock fix for lockfile cleanup (#6713 follow-up).