Repository navigation
v0.18.0
Added
- Full
litellm_jwtauthsurface onLiteLLMInstance.spec.jwtAuth(enterprise) — the operator now exposes essentially every JWT-auth knob LiteLLM supports:- User/team/org:
userIdUpsert,teamIdUpsert,teamIdDefault,teamAllowedRoutes,teamAliasJwtField,orgAliasJwtField,teamClaimFallback,userAllowedEmailDomain,rolesJwtField. - Enforcement:
enforceTeamBasedModelAccess,enforceScopeBasedAccess,syncUserRoleAndTeams. - Structured mappings:
scopeMappings({scope, models, routes}),roleMappings({role, internalRole}),jwtLitellmRoleMap({jwtRole, litellmRole}), androutingOverrides({iss, clientId, scope, aud, path}). - OIDC UserInfo:
oidcUserinfoEnabled/oidcUserinfoEndpoint/oidcUserinfoCacheTtl. - Virtual-key mapping:
virtualKeyClaimField/virtualKeyMappingCacheTtl. - Custom validation:
customValidate(dotted path to a handler baked into the proxy image).
- User/team/org:
Fixed
spec.jwtAuth.scopeModelMappingswas a no-op and now works. It renderedgeneral_settings.litellm_jwtauth.scope_model_mappings, a key LiteLLM does not read. It's now rendered intoscope_mappings(the list shape LiteLLM actually consumes), merged with the new structuredscopeMappings. ExistingscopeModelMappingsvalues start taking effect on upgrade.
Full Changelog: v0.17.0...v0.18.0