mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-08-16 20:59:16 +00:00
17 lines
499 B
JavaScript
17 lines
499 B
JavaScript
import HarvesterResource from './harvester';
|
|
|
|
export default class ForkliftProvider extends HarvesterResource {
|
|
/**
|
|
* Deleting a Provider cascades via ownerReferences set at creation time.
|
|
* Kubernetes GC will automatically delete: Secret, NetworkMap, StorageMap.
|
|
* Use foreground propagation to ensure children are deleted before the parent.
|
|
*/
|
|
remove() {
|
|
const opt = { ...arguments };
|
|
|
|
opt.params = { propagationPolicy: 'Foreground' };
|
|
|
|
return this._remove(opt);
|
|
}
|
|
}
|