chore: introduce VolumeSpec supporting different volume types (bind, volume, tmpfs)

This commit is contained in:
Pavel Sviderski
2025-04-04 21:22:54 +10:00
parent c9452f1509
commit 6125553a97
3 changed files with 55 additions and 3 deletions
+2 -1
View File
@@ -115,7 +115,8 @@ type ContainerSpec struct {
// PullPolicy determines when to pull the image from the registry or use the image already available in the cluster.
// Default is PullPolicyMissing if empty.
PullPolicy string
// List of volumes to bind mount into the container.
// Volumes is list of data volumes to mount into the container.
// TODO: replace with []VolumeSpec
Volumes []string
}