Merge pull request #26960 from Jenson3210/issue_26958

Added missing config.d.ts values
This commit is contained in:
Fredrik Adelöw
2024-11-05 13:28:14 +01:00
committed by GitHub
2 changed files with 9 additions and 9 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-kubernetes-backend': patch
---
Adapted the config.d.ts for custom k8s cluster authProvider implementations
+4 -9
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<
| {
@@ -48,14 +49,7 @@ export interface Config {
/** @visibility secret */
serviceAccountToken?: string;
/** @visibility frontend */
authProvider?:
| 'aks'
| 'aws'
| 'azure'
| 'google'
| 'googleServiceAccount'
| 'oidc'
| 'serviceAccount';
authProvider?: string;
/** @visibility secret */
authMetadata?: object;
/** @visibility frontend */
@@ -116,6 +110,7 @@ export interface Config {
configmaps?: string;
deployments?: string;
limitranges?: string;
resourcequotas?: string;
replicasets?: string;
horizontalpodautoscalers?: string;
jobs?: string;