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

Support anonymous models #98

Open
aslakknutsen opened this issue Oct 5, 2023 · 0 comments
Open

Support anonymous models #98

aslakknutsen opened this issue Oct 5, 2023 · 0 comments
Assignees
Labels
kind/enhancement New feature or request

Comments

@aslakknutsen
Copy link
Contributor

In order to provide greater flexibility and accommodate specific use cases, we need to enhance the Opendatahub authentication system to support anonymous models. Anonymous models are models that can be accessed without requiring authentication. To enable this feature, we will create an endpoint in the model-controller that can respond to HTTP requests and determine if a model supports anonymous access based on the configuration stored in the AuthConfig metadata.

Task Details:

  • Implement Anonymous Model Detection: Develop an endpoint in the model-controller that can query the ServingRuntime used by a specific model to determine whether it is configured to support anonymous access. This endpoint should be able to identify models that do not require authentication.

  • HTTP Response for Anonymous Models: Configure the endpoint to respond to HTTP requests with information about whether a particular model supports anonymous access or not. The response should be clear and minimal.

  • Integration with AuthConfig: Ensure that the model-controller can access and retrieve the necessary configuration information from the AuthConfig related to anonymous access for each model. Create project-level AuthConfig maistra/odh-project-controller#58

Acceptance Criteria:

  • The model-controller includes an endpoint that can detect whether a model supports anonymous access based on the AuthConfig metadata.
  • When queried via HTTP requests, the endpoint provides a clear and minimal response indicating whether a specific model supports anonymous access or not.
  • The model-controller successfully integrates with the AuthConfig to access relevant configuration data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
Status: No status
Status: No status
Status: New/Backlog
Development

No branches or pull requests

2 participants