oci: Add volumes field to Container
We add a ContainerVolume struct and store a list of volumes in the Container object for quick retrieval. Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
bfcebcdb00
commit
5ab6ec3046
2 changed files with 22 additions and 0 deletions
|
@ -69,6 +69,9 @@ const (
|
|||
|
||||
// StdinOnce is the stdin_once annotation
|
||||
StdinOnce = "io.kubernetes.cri-o.StdinOnce"
|
||||
|
||||
// Volumes is the volumes annotatoin
|
||||
Volumes = "io.kubernetes.cri-o.Volumes"
|
||||
)
|
||||
|
||||
// ContainerType values
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue