File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
pkg/controller/volume/persistentvolume Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -1935,16 +1935,14 @@ func (ctrl *PersistentVolumeController) findDeletablePlugin(volume *v1.Persisten
1935
1935
}
1936
1936
}
1937
1937
1938
- if utilfeature .DefaultFeatureGate .Enabled (features .HonorPVReclaimPolicy ) {
1939
- if metav1 .HasAnnotation (volume .ObjectMeta , storagehelpers .AnnMigratedTo ) {
1940
- // CSI migration scenario - do not depend on in-tree plugin
1941
- return nil , nil
1942
- }
1938
+ if metav1 .HasAnnotation (volume .ObjectMeta , storagehelpers .AnnMigratedTo ) {
1939
+ // CSI migration scenario - do not depend on in-tree plugin
1940
+ return nil , nil
1941
+ }
1943
1942
1944
- if volume .Spec .CSI != nil {
1945
- // CSI volume source scenario - external provisioner is requested
1946
- return nil , nil
1947
- }
1943
+ if volume .Spec .CSI != nil {
1944
+ // CSI volume source scenario - external provisioner is requested
1945
+ return nil , nil
1948
1946
}
1949
1947
1950
1948
// The plugin that provisioned the volume was not found or the volume
You can’t perform that action at this time.
0 commit comments