Skip to content

Commit 70ffc36

Browse files
authored
fix: add hf credentials (#164)
1 parent a42d9d7 commit 70ffc36

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

controllers/resources/bentorequest_controller.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2115,6 +2115,9 @@ echo "Done"
21152115
Name: commonconsts.EnvAWSSecretAccessKey,
21162116
Value: containerImageS3SecretAccessKey,
21172117
})
2118+
if opt.BentoRequest.Spec.DownloaderContainerEnvFrom != nil {
2119+
builderContainerEnvFrom = append(builderContainerEnvFrom, opt.BentoRequest.Spec.DownloaderContainerEnvFrom...)
2120+
}
21182121
}
21192122

21202123
builderContainerArgs := []string{

0 commit comments

Comments
 (0)