Hot-fix admission of volumes that are being provisioned.
This is a first-aid bandage to let admission controller ignore persistent volumes that are being provisioned right now and thus may not exist in external cloud infrastructure yet.
This commit is contained in:
@@ -113,6 +113,12 @@ type DeletableVolumePlugin interface {
|
||||
NewDeleter(spec *Spec) (Deleter, error)
|
||||
}
|
||||
|
||||
const (
|
||||
// Name of a volume in external cloud that is being provisioned and thus
|
||||
// should be ignored by rest of Kubernetes.
|
||||
ProvisionedVolumeName = "placeholder-for-provisioning"
|
||||
)
|
||||
|
||||
// ProvisionableVolumePlugin is an extended interface of VolumePlugin and is used to create volumes for the cluster.
|
||||
type ProvisionableVolumePlugin interface {
|
||||
VolumePlugin
|
||||
|
Reference in New Issue
Block a user