diff --git a/.changeset/purple-masks-swim.md b/.changeset/purple-masks-swim.md new file mode 100644 index 0000000000..d285712f64 --- /dev/null +++ b/.changeset/purple-masks-swim.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-kubernetes-backend': patch +--- + +Adapted the config.d.ts for custom k8s cluster authProvider implementations diff --git a/plugins/kubernetes-backend/config.d.ts b/plugins/kubernetes-backend/config.d.ts index d6c5f1d32b..eeef23dd15 100644 --- a/plugins/kubernetes-backend/config.d.ts +++ b/plugins/kubernetes-backend/config.d.ts @@ -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;