@backstage/plugin-kubernetes-common 0.0.0-nightly-20231004021350 → 0.0.0-nightly-20231005021327

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @backstage/plugin-kubernetes-common
2
2
 
3
- ## 0.0.0-nightly-20231004021350
3
+ ## 0.0.0-nightly-20231005021327
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -8,8 +8,9 @@
8
8
 
9
9
  ### Patch Changes
10
10
 
11
+ - 5dac12e4350a: The kubernetes APIs invokes Authentication Strategies when Backstage-Kubernetes-Authorization-X-X headers are provided, this enable the possibility to invoke strategies that executes additional steps to get a kubernetes token like on pinniped or custom strategies
11
12
  - Updated dependencies
12
- - @backstage/core-plugin-api@0.0.0-nightly-20231004021350
13
+ - @backstage/core-plugin-api@0.0.0-nightly-20231005021327
13
14
  - @backstage/catalog-model@1.4.2
14
15
  - @backstage/errors@1.2.2
15
16
  - @backstage/types@1.1.1
package/dist/index.d.ts CHANGED
@@ -1,11 +1,13 @@
1
- import { JsonObject } from '@backstage/types';
1
+ import { JsonValue, JsonObject } from '@backstage/types';
2
2
  import { V1Pod, V1Service, V1ConfigMap, V1Deployment, V1ReplicaSet, V1LimitRange, V1HorizontalPodAutoscaler, V1Job, V1CronJob, V1Ingress, V1StatefulSet, V1DaemonSet, PodStatus } from '@kubernetes/client-node';
3
3
  import { Entity } from '@backstage/catalog-model';
4
4
  import * as _backstage_plugin_permission_common from '@backstage/plugin-permission-common';
5
5
  import { ObjectsByEntityResponse as ObjectsByEntityResponse$1, FetchResponse as FetchResponse$1 } from '@backstage/plugin-kubernetes-common';
6
6
 
7
7
  /** @public */
8
- type KubernetesRequestAuth = JsonObject;
8
+ type KubernetesRequestAuth = {
9
+ [providerKey: string]: JsonValue | undefined;
10
+ };
9
11
  /** @public */
10
12
  interface CustomResourceMatcher {
11
13
  group: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-kubernetes-common",
3
3
  "description": "Common functionalities for kubernetes, to be shared between kubernetes and kubernetes-backend plugin",
4
- "version": "0.0.0-nightly-20231004021350",
4
+ "version": "0.0.0-nightly-20231005021327",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@backstage/catalog-model": "^1.4.2",
43
- "@backstage/core-plugin-api": "^0.0.0-nightly-20231004021350",
43
+ "@backstage/core-plugin-api": "^0.0.0-nightly-20231005021327",
44
44
  "@backstage/errors": "^1.2.2",
45
45
  "@backstage/plugin-permission-common": "^0.7.8",
46
46
  "@backstage/types": "^1.1.1",
@@ -50,9 +50,9 @@
50
50
  "luxon": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@backstage/cli": "^0.0.0-nightly-20231004021350",
54
- "@backstage/core-app-api": "^0.0.0-nightly-20231004021350",
55
- "@backstage/test-utils": "^0.0.0-nightly-20231004021350",
53
+ "@backstage/cli": "^0.0.0-nightly-20231005021327",
54
+ "@backstage/core-app-api": "^0.0.0-nightly-20231005021327",
55
+ "@backstage/test-utils": "^0.0.0-nightly-20231005021327",
56
56
  "msw": "^1.3.1"
57
57
  },
58
58
  "jest": {