Adding support for external mounts

This commit is contained in:
Victor Marmol
2014-06-19 16:59:48 -07:00
parent 466be48c74
commit e794f539d8
3 changed files with 29 additions and 15 deletions

View File

@@ -45,6 +45,8 @@ type VolumeMount struct {
Name string `yaml:"name,omitempty" json:"name,omitempty"`
ReadOnly bool `yaml:"readOnly,omitempty" json:"readOnly,omitempty"`
MountPath string `yaml:"mountPath,omitempty" json:"mountPath,omitempty"`
// One of: "LOCAL" (local volume) or "HOST" (external mount from the host). Default: LOCAL.
MountType string `yaml:"mountType,omitempty" json:"mountType,omitempty"`
}
// EnvVar represents an environment variable present in a Container