feat(forklift): Fixed config based on new figma changes

Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com>
This commit is contained in:
Marcelo Fukumoto
2026-07-07 13:36:44 +02:00
parent 2259910be1
commit 63d726aa91
7 changed files with 1216 additions and 1382 deletions
@@ -0,0 +1,16 @@
import HarvesterResource from './harvester';
export default class ForkliftPlan extends HarvesterResource {
/**
* Deleting a Plan cascades via ownerReferences set at creation time.
* Kubernetes GC will automatically delete: Migration, NetworkMap, StorageMap, Provider (→ Secret).
* Use foreground propagation to ensure children are deleted before the parent.
*/
remove() {
const opt = { ...arguments };
opt.params = { propagationPolicy: 'Foreground' };
return this._remove(opt);
}
}
@@ -0,0 +1,16 @@
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);
}
}