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 a4d8992 commit 2d2bf11Copy full SHA for 2d2bf11
catalogd/cmd/catalogd/main.go
@@ -270,9 +270,10 @@ func main() {
270
unpacker := &source.ContainersImageRegistry{
271
BaseCachePath: unpackCacheBasePath,
272
SourceContextFunc: func(logger logr.Logger) (*types.SystemContext, error) {
273
- srcContext := &types.SystemContext{
274
- DockerCertPath: "",
275
- OCICertPath: "",
+ srcContext := &types.SystemContext{}
+ if pullCasDir != "" {
+ srcContext.DockerCertPath = pullCasDir
276
+ srcContext.OCICertPath = pullCasDir
277
}
278
if _, err := os.Stat(authFilePath); err == nil && globalPullSecretKey != nil {
279
logger.Info("using available authentication information for pulling image")
0 commit comments