Added missing config.d.ts values

Closes: #26958
Signed-off-by: Jente Sondervorst <jentesondervorst@gmail.com>
This commit is contained in:
Jente Sondervorst
2024-10-04 00:11:59 +02:00
parent 323e612907
commit bee9664568
2 changed files with 10 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-kubernetes-backend': patch
---
Adapted the config.d.ts for custom k8s cluster authProvider implementations
+5 -2
View File
@@ -22,6 +22,7 @@ export interface Config {
| 'configmaps'
| 'deployments'
| 'limitranges'
| 'resourcequotas'
| 'replicasets'
| 'horizontalpodautoscalers'
| 'jobs'
@@ -32,7 +33,7 @@ export interface Config {
| 'daemonsets'
>;
serviceLocatorMethod: {
type: 'multiTenant';
type: 'multiTenant' | 'singleTenant' | 'catalogRelation';
};
clusterLocatorMethods: Array<
| {
@@ -55,7 +56,8 @@ export interface Config {
| 'google'
| 'googleServiceAccount'
| 'oidc'
| 'serviceAccount';
| 'serviceAccount'
| string;
/** @visibility secret */
authMetadata?: object;
/** @visibility frontend */
@@ -116,6 +118,7 @@ export interface Config {
configmaps?: string;
deployments?: string;
limitranges?: string;
resourcequotas?: string;
replicasets?: string;
horizontalpodautoscalers?: string;
jobs?: string;