Deprecate intree Volume Expansion controller
This commit is contained in:
		@@ -68,6 +68,8 @@ type CSINameTranslator interface {
 | 
				
			|||||||
	GetCSINameFromInTreeName(pluginName string) (string, error)
 | 
						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 {
 | 
					type expandController struct {
 | 
				
			||||||
	// kubeClient is the kube API client used by volumehost to communicate with
 | 
						// kubeClient is the kube API client used by volumehost to communicate with
 | 
				
			||||||
	// the API server.
 | 
						// the API server.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1679,6 +1679,8 @@ func (og *operationGenerator) GenerateExpandAndRecoverVolumeFunc(
 | 
				
			|||||||
	}, nil
 | 
						}, 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 {
 | 
					func (og *operationGenerator) expandAndRecoverFunction(resizeOpts inTreeResizeOpts) inTreeResizeResponse {
 | 
				
			||||||
	pvc := resizeOpts.pvc
 | 
						pvc := resizeOpts.pvc
 | 
				
			||||||
	pv := resizeOpts.pv
 | 
						pv := resizeOpts.pv
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user