Skip to content

Commit c3f3413

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 c3f3413

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-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 `S3_BUCKET_NAME` 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: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,18 @@ providers:
205205
metadata_store:
206206
type: sqlite
207207
db_path: /opt/app-root/src/.llama/distributions/rh/files_metadata.db
208+
- provider_id: ${env.S3_BUCKET_NAME:+s3}
209+
provider_type: remote::s3
210+
config:
211+
bucket_name: ${env.S3_BUCKET_NAME}
212+
region: ${env.AWS_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+
endpoint_url: ${env.S3_ENDPOINT_URL:=}
216+
auto_create_bucket: ${env.S3_AUTO_CREATE_BUCKET:=false}
217+
metadata_store:
218+
table_name: s3_files_metadata
219+
backend: sql_default
208220
metadata_store:
209221
type: sqlite
210222
db_path: /opt/app-root/src/.llama/distributions/rh/registry.db

0 commit comments

Comments
 (0)