Skip to content

Add authentication for KServer ClusterStorageContaier#827

Merged
gorkem merged 2 commits intokitops-ml:mainfrom
gorkem:kserve-auth
Apr 18, 2025
Merged

Add authentication for KServer ClusterStorageContaier#827
gorkem merged 2 commits intokitops-ml:mainfrom
gorkem:kserve-auth

Conversation

@gorkem
Copy link
Copy Markdown
Member

@gorkem gorkem commented Apr 11, 2025

Updates the entrypoint.sh do that it performs a kit login if KIT_USER and KIT_PASSWORD are set or AWS IRSA is enabled.

Updates the entrypoint do that it performs a kit login
if KIT_USER and KIT_PASSWORD are set or AWS IRSA is
enabled.

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
@gorkem gorkem force-pushed the kserve-auth branch 2 times, most recently from 654fc56 to 9f3af7e Compare April 16, 2025 21:59
Comment on lines +59 to +64
```bash
# Example: build against Kit v1.3.0 instead of "next"
docker build \
-t kitops-kserve:latest \
--build-arg KIT_BASE_IMAGE=ghcr.io/kitops-ml/kitops:v1.3.0 \
.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing a closing ``` on this code block

Comment on lines -9 to -10
read -r AWS_ECR_REGION <<< "$AWS_ECR_REGION"
read -r AWS_ROLE_ARN <<< "$AWS_ROLE_ARN"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these changes were dropped in the rebase -- the AWS IRSA handling is still useful outside the more general login use case.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I intentionally removed it was redundant

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I missed the change below, sorry

Adds unit tests for the entrypoint.sh
Updates README.md

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
@gorkem gorkem merged commit a13403b into kitops-ml:main Apr 18, 2025
5 checks passed
@gorkem gorkem deleted the kserve-auth branch April 18, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants