Merge pull request #65 from mstg/hotfix-s3

s3.kube_env should default to RESF Peridot bucket
This commit is contained in:
resf-prow[bot] 2022-11-07 12:55:45 +00:00 committed by GitHub
commit 37a958bad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,4 @@
local kubernetes = import 'ci/kubernetes.jsonnet';
local utils = import 'ci/utils.jsonnet';
{
@ -20,7 +21,7 @@ local utils = import 'ci/utils.jsonnet';
},
{
name: '%s_S3_BUCKET' % prefix,
value: if utils.helm_mode then '{{ .Values.s3Bucket | default !"!" }}' else '',
value: if utils.helm_mode then '{{ .Values.s3Bucket | default !"!" }}' else if kubernetes.prod() then 'resf-peridot-prod' else '',
},
{
name: '%s_S3_ASSUME_ROLE' % prefix,