mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Merge pull request #31005 from simonswine/feature-flocker-dyn-provisioning
Automatic merge from submit-queue Dynamic provisioning for flocker volume plugin Refactor flocker volume plugin * [x] Support provisioning beta (#29006) * [x] Support deletion * [x] Use bind mounts instead of /flocker in containers * [x] support ownership management or SELinux relabeling. * [x] adds volume specification via datasetUUID (this is guranted to be unique) I based my refactor work to replicate pretty much GCE-PD behaviour **Related issues**: #29006 #26908 @jsafrane @mattbates @wallrj @wallnerryan
This commit is contained in:
@@ -741,10 +741,14 @@ type CephFSVolumeSource struct {
|
||||
}
|
||||
|
||||
// Represents a Flocker volume mounted by the Flocker agent.
|
||||
// One and only one of datasetName and datasetUUID should be set.
|
||||
// Flocker volumes do not support ownership management or SELinux relabeling.
|
||||
type FlockerVolumeSource struct {
|
||||
// Required: the volume name. This is going to be store on metadata -> name on the payload for Flocker
|
||||
DatasetName string `json:"datasetName"`
|
||||
// Name of the dataset stored as metadata -> name on the dataset for Flocker
|
||||
// should be considered as deprecated
|
||||
DatasetName string `json:"datasetName,omitempty"`
|
||||
// UUID of the dataset. This is unique identifier of a Flocker dataset
|
||||
DatasetUUID string `json:"datasetUUID,omitempty"`
|
||||
}
|
||||
|
||||
// Represents a volume containing downward API info.
|
||||
|
||||
Reference in New Issue
Block a user