Skip to content

Commit 5bfe9f7

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 d3d12e2 commit 5bfe9f7

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
@@ -18,6 +18,7 @@ You can see an overview of the APIs and Providers the image ships with in the ta
1818
| eval | remote::trustyai_lmeval | Yes (version 0.4.1) || N/A |
1919
| eval | remote::trustyai_ragas | Yes (version 0.5.1) || Set the `KUBEFLOW_LLAMA_STACK_URL` environment variable |
2020
| files | inline::localfs | No || N/A |
21+
| files | remote::s3 | No || Set the `ENABLE_S3` environment variable |
2122
| inference | inline::sentence-transformers | No || N/A |
2223
| inference | remote::azure | No || Set the `AZURE_API_KEY` environment variable |
2324
| 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
@@ -181,6 +181,18 @@ providers:
181181
metadata_store:
182182
backend: sql_files
183183
table_name: files_metadata
184+
- provider_id: ${env.ENABLE_S3:+s3}
185+
provider_type: remote::s3
186+
config:
187+
bucket_name: ${env.S3_BUCKET_NAME:=}
188+
region: ${env.AWS_DEFAULT_REGION:=us-east-1}
189+
aws_access_key_id: ${env.AWS_ACCESS_KEY_ID:=}
190+
aws_secret_access_key: ${env.AWS_SECRET_ACCESS_KEY:=}
191+
endpoint_url: ${env.S3_ENDPOINT_URL:=}
192+
auto_create_bucket: ${env.S3_AUTO_CREATE_BUCKET:=false}
193+
metadata_store:
194+
backend: sql_files
195+
table_name: files_metadata
184196
batches:
185197
- provider_id: reference
186198
provider_type: inline::reference

0 commit comments

Comments
 (0)