mmelko commented on a change in pull request #3032:
URL: https://github.com/apache/camel-k/pull/3032#discussion_r812832038
##########
File path: pkg/platform/defaults.go
##########
@@ -169,8 +170,11 @@ func setPlatformDefaults(p *v1.IntegrationPlatform,
verbose bool) error {
"-Dstyle.color=never",
}
}
- if p.Status.Build.PersistentVolumeClaim == "" {
- p.Status.Build.PersistentVolumeClaim = p.Name
+ //if p.Status.Build.PersistentVolumeClaim == "" {
Review comment:
ok but I think that now with the map in place we have to have some
additional logic to check if the key is present and then parsing the value. In
this case `IsKanikoCacheEnabled()` helps because we don't need to do it
everywhere.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]