mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 08:55:55 -04:00
Deprecate intree Volume Expansion controller
This commit is contained in:
parent
ad28dfb42e
commit
7a51999ddf
2 changed files with 4 additions and 0 deletions
|
|
@ -68,6 +68,8 @@ type CSINameTranslator interface {
|
|||
GetCSINameFromInTreeName(pluginName string) (string, error)
|
||||
}
|
||||
|
||||
// Deprecated: This controller is deprecated and for now exists for the sole purpose of adding
|
||||
// necessary annotations if necessary, so as volume can be expanded externally in the control-plane
|
||||
type expandController struct {
|
||||
// kubeClient is the kube API client used by volumehost to communicate with
|
||||
// the API server.
|
||||
|
|
|
|||
|
|
@ -1679,6 +1679,8 @@ func (og *operationGenerator) GenerateExpandAndRecoverVolumeFunc(
|
|||
}, nil
|
||||
}
|
||||
|
||||
// Deprecated: This function should not called by any controller code in future and should be removed
|
||||
// from kubernetes code
|
||||
func (og *operationGenerator) expandAndRecoverFunction(resizeOpts inTreeResizeOpts) inTreeResizeResponse {
|
||||
pvc := resizeOpts.pvc
|
||||
pv := resizeOpts.pv
|
||||
|
|
|
|||
Loading…
Reference in a new issue