We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccec483 commit a85a205Copy full SHA for a85a205
catalogd/cmd/catalogd/main.go
@@ -284,9 +284,11 @@ func main() {
284
imagePuller := &imageutil.ContainersImagePuller{
285
SourceCtxFunc: func(ctx context.Context) (*types.SystemContext, error) {
286
logger := log.FromContext(ctx)
287
- srcContext := &types.SystemContext{
288
- DockerCertPath: "",
289
- OCICertPath: "",
+ srcContext := &types.SystemContext{}
+ logger.Info("pullCasDir", "value", pullCasDir)
+ if pullCasDir != "" {
290
+ srcContext.DockerCertPath = pullCasDir
291
+ srcContext.OCICertPath = pullCasDir
292
}
293
if _, err := os.Stat(authFilePath); err == nil && globalPullSecretKey != nil {
294
logger.Info("using available authentication information for pulling image")
0 commit comments