Skip to content

Commit

Permalink
Added missing config.d.ts values
Browse files Browse the repository at this point in the history
Closes: #26958
Signed-off-by: Jente Sondervorst <jentesondervorst@gmail.com>
  • Loading branch information
Jenson3210 authored and jroebu14 committed Nov 18, 2024
1 parent a61bc2f commit c7d17c2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/purple-masks-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@backstage/plugin-kubernetes-backend': patch
---

Adapted the config.d.ts for custom k8s cluster authProvider implementations
7 changes: 5 additions & 2 deletions plugins/kubernetes-backend/config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export interface Config {
| 'configmaps'
| 'deployments'
| 'limitranges'
| 'resourcequotas'
| 'replicasets'
| 'horizontalpodautoscalers'
| 'jobs'
Expand All @@ -32,7 +33,7 @@ export interface Config {
| 'daemonsets'
>;
serviceLocatorMethod: {
type: 'multiTenant';
type: 'multiTenant' | 'singleTenant' | 'catalogRelation';
};
clusterLocatorMethods: Array<
| {
Expand All @@ -55,7 +56,8 @@ export interface Config {
| 'google'
| 'googleServiceAccount'
| 'oidc'
| 'serviceAccount';
| 'serviceAccount'
| string;
/** @visibility secret */
authMetadata?: object;
/** @visibility frontend */
Expand Down Expand Up @@ -116,6 +118,7 @@ export interface Config {
configmaps?: string;
deployments?: string;
limitranges?: string;
resourcequotas?: string;
replicasets?: string;
horizontalpodautoscalers?: string;
jobs?: string;
Expand Down

0 comments on commit c7d17c2

Please sign in to comment.