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..a710b8cb85 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< | { @@ -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;