Fix default resource limits (node capacities) for downward api volumes
This commit is contained in:
@@ -127,6 +127,10 @@ func (f *fakeVolumeHost) GetRootContext() string {
|
||||
return f.rootContext
|
||||
}
|
||||
|
||||
func (f *fakeVolumeHost) GetNodeAllocatable() (api.ResourceList, error) {
|
||||
return api.ResourceList{}, nil
|
||||
}
|
||||
|
||||
func ProbeVolumePlugins(config VolumeConfig) []VolumePlugin {
|
||||
if _, ok := config.OtherAttributes["fake-property"]; ok {
|
||||
return []VolumePlugin{
|
||||
|
||||
Reference in New Issue
Block a user