Update kubernetes config schema to match available options (#17253)
Signed-off-by: Riley Martine <rmartine@integralads.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-kubernetes-backend': patch
|
||||
---
|
||||
|
||||
Updated kubernetes config schema to match available options
|
||||
+9
-1
@@ -21,11 +21,15 @@ export interface Config {
|
||||
| 'services'
|
||||
| 'configmaps'
|
||||
| 'deployments'
|
||||
| 'limitranges'
|
||||
| 'replicasets'
|
||||
| 'horizontalpodautoscalers'
|
||||
| 'jobs'
|
||||
| 'cronjobs'
|
||||
| 'ingresses'
|
||||
| 'customresources'
|
||||
| 'statefulsets'
|
||||
| 'daemonsets'
|
||||
>;
|
||||
serviceLocatorMethod: {
|
||||
type: 'multiTenant';
|
||||
@@ -99,11 +103,15 @@ export interface Config {
|
||||
services?: string;
|
||||
configmaps?: string;
|
||||
deployments?: string;
|
||||
limitranges?: string;
|
||||
replicasets?: string;
|
||||
horizontalpodautoscalers?: string;
|
||||
cronjobs?: string;
|
||||
jobs?: string;
|
||||
cronjobs?: string;
|
||||
ingresses?: string;
|
||||
customresources?: string;
|
||||
statefulsets?: string;
|
||||
daemonsets?: string;
|
||||
} & { [pluralKind: string]: string };
|
||||
};
|
||||
}
|
||||
|
||||
@@ -104,6 +104,8 @@ export type KubernetesObjectTypes =
|
||||
| 'customresources'
|
||||
| 'statefulsets'
|
||||
| 'daemonsets';
|
||||
// If updating this list, also make sure to update
|
||||
// `objectTypes` and `apiVersionOverrides` in config.d.ts!
|
||||
|
||||
/**
|
||||
* Used to load cluster details from different sources
|
||||
|
||||
Reference in New Issue
Block a user