Dummy commit.

This commit is contained in:
2024-09-11 12:00:18 +01:00
parent f8cf7b9d07
commit 930bcd2ee4
7 changed files with 17 additions and 126 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ func CreateJob[T any](params JobParams, setupFunc func(T) []string) *batchv1.Job
func SetupS3Params(s3Config raczylocomv1.ClusterImageStorageS3) []string {
params := []string{}
if s3Config.UseRole {
params = append(params, "--use-role")
params = append(params, "--use_role")
} else {
params = append(params, fmt.Sprintf("--aws_access_key_id='%s'", s3Config.AccessKey))
params = append(params, fmt.Sprintf("--aws_secret_access_key='%s'", s3Config.SecretKey))