Skip to content

Commit 92c08e9

Browse files
committed
RHAIENG-2131: Add S3 remote provider configs to LLS midstream container.
This MR adds S3 remote provider configs to LLS midstream container. Signed-off-by: Mustafa Elbehery <melbeher@redhat.com> Closes https://issues.redhat.com/browse/RHAIENG-2131
1 parent c20784c commit 92c08e9

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

distribution/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ You can see an overview of the APIs and Providers the image ships with in the ta
1717
| eval | remote::trustyai_lmeval | Yes (version 0.3.1) || N/A |
1818
| eval | remote::trustyai_ragas | Yes (version 0.4.2) || Set the `KUBEFLOW_LLAMA_STACK_URL` environment variable |
1919
| files | inline::localfs | No || N/A |
20+
| files | remote::s3 | No || Set the `ENABLE_S3` environment variable |
2021
| inference | inline::sentence-transformers | No || N/A |
2122
| inference | remote::azure | No || Set the `AZURE_API_KEY` environment variable |
2223
| inference | remote::bedrock | No || Set the `AWS_ACCESS_KEY_ID` environment variable |

distribution/run.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,19 @@ providers:
205205
metadata_store:
206206
type: sqlite
207207
db_path: /opt/app-root/src/.llama/distributions/rh/files_metadata.db
208+
- provider_id: ${env.ENABLE_S3:+s3}
209+
provider_type: remote::s3
210+
config:
211+
bucket_name: ${env.S3_BUCKET_NAME:=}
212+
region: ${env.AWS_DEFAULT_REGION:=us-east-1}
213+
aws_access_key_id: ${env.AWS_ACCESS_KEY_ID:=}
214+
aws_secret_access_key: ${env.AWS_SECRET_ACCESS_KEY:=}
215+
aws_session_token: ${env.AWS_SESSION_TOKEN:=}
216+
endpoint_url: ${env.S3_ENDPOINT_URL:=}
217+
auto_create_bucket: ${env.S3_AUTO_CREATE_BUCKET:=false}
218+
metadata_store:
219+
type: sqlite
220+
db_path: /opt/app-root/src/.llama/distributions/rh/s3_files_metadata.db
208221
metadata_store:
209222
type: sqlite
210223
db_path: /opt/app-root/src/.llama/distributions/rh/registry.db

0 commit comments

Comments
 (0)