Skip to content

Create container and init container list post volume mount update

Vishal Tak requested to merge try-fix into main

Currently, volume mounts are not reflected in init containers but only reflected in containers.

The devfile library function updates all the containers that it is passed with the volume mounts in place. So I thought I'll try to create the container and initContainers from scratch after they have been updated in place by the function call.

Unfortunately, no matter what I do, the volume mounts are not reflected in the init containers.

This is a serious bug. Or maybe I'm using the library call in a wrong way. Either way, it affects us.

Edited by Vishal Tak

Merge request reports