confidential-containers / trustee-operator

Operator to manage the lifecycle of Trustee (KBS)
Apache License 2.0
3 stars 18 forks source link

Volume and volumeMount refactoring #21

Closed lmilleri closed 6 months ago

lmilleri commented 6 months ago

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.

bpradipt commented 6 months ago

@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