mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add support for PodDisruptionBudgets (#452)
Signed-off-by: Dan Slinky <dan-slinky@cookpad.jp>
This commit is contained in:
1 parent
5163ede4f1
commit
81a0c432c6
11 files changed
+248
-1
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
import { KubeObjectStore } from "../../kube-object.store";
|
||||
import { autobind } from "../../utils";
|
||||
import { PodDisruptionBudget, pdbApi } from "../../api/endpoints/poddisruptionbudget.api";
|
||||
import { apiManager } from "../../api/api-manager";
|
||||
|
||||
@autobind()
|
||||
export class PodDisruptionBudgetsStore extends KubeObjectStore<PodDisruptionBudget> {
|
||||
api = pdbApi
|
||||
}
|
||||
|
||||
export const podDisruptionBudgetsStore = new PodDisruptionBudgetsStore();
|
||||
apiManager.registerStore(pdbApi, podDisruptionBudgetsStore);
|
||||
Reference in new issue
Block a user