Skip to content

Commit

Permalink
Add diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
nstogner committed Oct 21, 2024
1 parent e4222ae commit 816134e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions proposals/auth.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Auth

The goal of this proposal is to allow KubeAI to be used in a multitenancy environment where
some users only have access to some models.

## Implementation Option 1: Auth Labels

The KubeAI system is configured to trust a configured header.
Expand Down Expand Up @@ -35,6 +38,8 @@ metadata:
In this implementation, a label selector is passed in HTTP headers.
![Auth with Label Selector](../diagrams/auth-with-label-selector.excalidraw.png)
```bash
curl http://localhost:8000/openai/v1/completions \
-H "X-Selector: key1=value1"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 816134e

Please sign in to comment.