Skip to content

Commit bee9664

Browse files
committed
Added missing config.d.ts values
Closes: #26958 Signed-off-by: Jente Sondervorst <jentesondervorst@gmail.com>
1 parent 323e612 commit bee9664

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.changeset/purple-masks-swim.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@backstage/plugin-kubernetes-backend': patch
3+
---
4+
5+
Adapted the config.d.ts for custom k8s cluster authProvider implementations

plugins/kubernetes-backend/config.d.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export interface Config {
2222
| 'configmaps'
2323
| 'deployments'
2424
| 'limitranges'
25+
| 'resourcequotas'
2526
| 'replicasets'
2627
| 'horizontalpodautoscalers'
2728
| 'jobs'
@@ -32,7 +33,7 @@ export interface Config {
3233
| 'daemonsets'
3334
>;
3435
serviceLocatorMethod: {
35-
type: 'multiTenant';
36+
type: 'multiTenant' | 'singleTenant' | 'catalogRelation';
3637
};
3738
clusterLocatorMethods: Array<
3839
| {
@@ -55,7 +56,8 @@ export interface Config {
5556
| 'google'
5657
| 'googleServiceAccount'
5758
| 'oidc'
58-
| 'serviceAccount';
59+
| 'serviceAccount'
60+
| string;
5961
/** @visibility secret */
6062
authMetadata?: object;
6163
/** @visibility frontend */
@@ -116,6 +118,7 @@ export interface Config {
116118
configmaps?: string;
117119
deployments?: string;
118120
limitranges?: string;
121+
resourcequotas?: string;
119122
replicasets?: string;
120123
horizontalpodautoscalers?: string;
121124
jobs?: string;

0 commit comments

Comments
 (0)