Deprecate intree Volume Expansion controller
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Hemant Kumar
					Hemant Kumar