-
Notifications
You must be signed in to change notification settings - Fork 33
[Improvement] Separate S3 storage configuration for MLRun and Kubeflow Pipeline #295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Changes from all commits
3e26ccb
91aa535
355728a
ba88c03
5ed1f83
9640e9c
cbe71fc
6264877
3413976
8ec1302
5364f3c
61988fb
ae6842e
3ac86b3
9618888
c95a662
59655d2
e945709
55691a6
efa5752
a3dbc06
252af2c
c6b4d1f
58fb414
0f1e167
f923147
61566c6
c8b21ff
061dcfc
53027c7
889767b
a167681
24515cc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,15 @@ | ||
| {{- if and (eq .Values.storage.mode "s3") (not .Values.storage.s3.bucket) }} | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. storage.s3.{accessKey,secretKey} default to empty strings but only bucket is validated. Switching to s3 mode without creds will silently produce an unusable Secret. Please also fail-fast when accessKey/secretKey are empty (unless global.infrastructure.aws.s3NonAnonymous is true). |
||
| {{ fail "storage.mode is set to \"s3\" but storage.s3.bucket is not provided. Please set storage.s3.bucket." }} | ||
| {{- end }} | ||
| {{- if and (eq .Values.storage.mode "s3") (not .Values.global.infrastructure.aws.s3NonAnonymous) (not .Values.storage.s3.accessKey) }} | ||
| {{ fail "storage.mode is set to \"s3\" but storage.s3.accessKey is empty. Set storage.s3.accessKey, or set global.infrastructure.aws.s3NonAnonymous=true to use IAM role-based access." }} | ||
| {{- end }} | ||
| {{- if and (eq .Values.storage.mode "s3") (not .Values.global.infrastructure.aws.s3NonAnonymous) (not .Values.storage.s3.secretKey) }} | ||
| {{ fail "storage.mode is set to \"s3\" but storage.s3.secretKey is empty. Set storage.s3.secretKey, or set global.infrastructure.aws.s3NonAnonymous=true to use IAM role-based access." }} | ||
| {{- end }} | ||
| {{- if and (eq .Values.storage.mode "local") (not .Values.storage.local.bucket) }} | ||
| {{ fail "storage.mode is set to \"local\" but storage.local.bucket is not provided. Please set storage.local.bucket." }} | ||
| {{- end }} | ||
| {{- if and (eq .Values.storage.mode "azure-blob") (not .Values.storage.azure.containerName) }} | ||
| {{ fail "storage.mode is set to \"azure-blob\" but storage.azure.containerName is not provided. Please set storage.azure.containerName." }} | ||
| {{- end }} | ||
| {{- end }} | ||
Uh oh!
There was an error while loading. Please reload this page.