Skip to content

Commit

Permalink
Hint user about wrong docker-registry configuration (#2288)
Browse files Browse the repository at this point in the history
  • Loading branch information
pPrecel authored Dec 17, 2024
1 parent beaca2f commit 106ac4c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/cmd/alpha/app/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,11 @@ func buildAndImportImage(client kube.Client, cfg *appPushConfig, registryConfig
},
)
if cliErr != nil {
return "", clierror.WrapE(cliErr, clierror.New("failed to import image to in-cluster registry"))
return "", clierror.WrapE(cliErr, clierror.New(
"failed to import image to in-cluster registry",
"make sure cluster is available and properly configured",
"enable docker registry module by calling `kyma alpha module enable docker-registry -c experimental`",
))
}

return pushedImage, nil
Expand Down

0 comments on commit 106ac4c

Please sign in to comment.