Merge pull request #26960 from Jenson3210/issue_26958
Added missing config.d.ts values
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-kubernetes-backend': patch
|
||||
---
|
||||
|
||||
Adapted the config.d.ts for custom k8s cluster authProvider implementations
|
||||
+4
-9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user