@backstage/plugin-kubernetes-common 0.7.0-next.0 → 0.7.0-next.1

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,5 +1,17 @@
1
1
  # @backstage/plugin-kubernetes-common
2
2
 
3
+ ## 0.7.0-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 5dac12e435: 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
8
+ - Updated dependencies
9
+ - @backstage/core-plugin-api@1.7.0-next.1
10
+ - @backstage/catalog-model@1.4.3-next.0
11
+ - @backstage/errors@1.2.3-next.0
12
+ - @backstage/types@1.1.1
13
+ - @backstage/plugin-permission-common@0.7.9-next.0
14
+
3
15
  ## 0.7.0-next.0
4
16
 
5
17
  ### Minor Changes
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.7.0-next.0",
4
+ "version": "0.7.0-next.1",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -39,10 +39,10 @@
39
39
  "url": "https://github.com/backstage/backstage/issues"
40
40
  },
41
41
  "dependencies": {
42
- "@backstage/catalog-model": "^1.4.2",
43
- "@backstage/core-plugin-api": "^1.7.0-next.0",
44
- "@backstage/errors": "^1.2.2",
45
- "@backstage/plugin-permission-common": "^0.7.8",
42
+ "@backstage/catalog-model": "^1.4.3-next.0",
43
+ "@backstage/core-plugin-api": "^1.7.0-next.1",
44
+ "@backstage/errors": "^1.2.3-next.0",
45
+ "@backstage/plugin-permission-common": "^0.7.9-next.0",
46
46
  "@backstage/types": "^1.1.1",
47
47
  "@kubernetes/client-node": "0.18.1",
48
48
  "kubernetes-models": "^4.3.1",
@@ -50,9 +50,9 @@
50
50
  "luxon": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@backstage/cli": "^0.23.0-next.1",
54
- "@backstage/core-app-api": "^1.10.1-next.1",
55
- "@backstage/test-utils": "^1.4.4-next.1",
53
+ "@backstage/cli": "^0.23.0-next.2",
54
+ "@backstage/core-app-api": "^1.11.0-next.2",
55
+ "@backstage/test-utils": "^1.4.4-next.2",
56
56
  "msw": "^1.3.1"
57
57
  },
58
58
  "jest": {