1) Volume functions moved to new file volumes.go
2) First create all the volumes and then decide which container should mount it as volumeMount.
The code should be more readable and flexible.
@lmilleri can you create a new PR related to code refactoring? We can get that merged first and then review this one related to running trustee as non-privileged container
1) Volume functions moved to new file volumes.go 2) First create all the volumes and then decide which container should mount it as volumeMount. The code should be more readable and flexible.