Kubernetes: Resource quotas as default objects (#20951)

* Fixed the lack of `resourcequotas`

Signed-off-by: Jente Sondervorst <jentesondervorst@gmail.com>

* Fixed the lack of `resourcequotas`

Signed-off-by: Jente Sondervorst <jentesondervorst@gmail.com>

* Fixed the lack of `resourcequotas`

Signed-off-by: Jente Sondervorst <jentesondervorst@gmail.com>

* Fixed the lack of `resourcequotas`

Signed-off-by: Jente Sondervorst <jentesondervorst@gmail.com>

---------

Signed-off-by: Jente Sondervorst <jentesondervorst@gmail.com>
This commit is contained in:
Jenson3210
2023-11-06 22:13:59 +01:00
committed by GitHub
parent f4d6e6382c
commit df40b067e1
8 changed files with 43 additions and 8 deletions
+8
View File
@@ -27,6 +27,7 @@ import {
V1LimitRange,
V1Pod,
V1ReplicaSet,
V1ResourceQuota,
V1Service,
V1StatefulSet,
} from '@kubernetes/client-node';
@@ -125,6 +126,7 @@ export type FetchResponse =
| ConfigMapFetchResponse
| DeploymentFetchResponse
| LimitRangeFetchResponse
| ResourceQuotaFetchResponse
| ReplicaSetsFetchResponse
| HorizontalPodAutoscalersFetchResponse
| JobsFetchResponse
@@ -171,6 +173,12 @@ export interface LimitRangeFetchResponse {
resources: Array<V1LimitRange>;
}
/** @public */
export interface ResourceQuotaFetchResponse {
type: 'resourcequotas';
resources: Array<V1ResourceQuota>;
}
/** @public */
export interface HorizontalPodAutoscalersFetchResponse {
type: 'horizontalpodautoscalers';