s3.kube_env should default to RESF Peridot bucket

This commit is contained in:
Mustafa Gezen 2022-11-07 13:52:22 +01:00
parent 70056dedd5
commit e6d319b8a2
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1
1 changed files with 2 additions and 1 deletions

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,