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

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,34 @@
1
1
  # @backstage/plugin-kubernetes-common
2
2
 
3
+ ## 0.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 2d8151061c: Refactor Kubernetes plugins in line with ADR 11, no breaking changes yet
8
+
9
+ ### Patch Changes
10
+
11
+ - 9101c0d1b6: Updated dependency `@kubernetes/client-node` to `0.19.0`.
12
+ - 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
13
+ - Updated dependencies
14
+ - @backstage/core-plugin-api@1.7.0
15
+ - @backstage/catalog-model@1.4.3
16
+ - @backstage/errors@1.2.3
17
+ - @backstage/types@1.1.1
18
+ - @backstage/plugin-permission-common@0.7.9
19
+
20
+ ## 0.7.0-next.1
21
+
22
+ ### Patch Changes
23
+
24
+ - 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
25
+ - Updated dependencies
26
+ - @backstage/core-plugin-api@1.7.0-next.1
27
+ - @backstage/catalog-model@1.4.3-next.0
28
+ - @backstage/errors@1.2.3-next.0
29
+ - @backstage/types@1.1.1
30
+ - @backstage/plugin-permission-common@0.7.9-next.0
31
+
3
32
  ## 0.7.0-next.0
4
33
 
5
34
  ### 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",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -39,20 +39,20 @@
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",
43
+ "@backstage/core-plugin-api": "^1.7.0",
44
+ "@backstage/errors": "^1.2.3",
45
+ "@backstage/plugin-permission-common": "^0.7.9",
46
46
  "@backstage/types": "^1.1.1",
47
- "@kubernetes/client-node": "0.18.1",
47
+ "@kubernetes/client-node": "0.19.0",
48
48
  "kubernetes-models": "^4.3.1",
49
49
  "lodash": "^4.17.21",
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",
54
+ "@backstage/core-app-api": "^1.11.0",
55
+ "@backstage/test-utils": "^1.4.4",
56
56
  "msw": "^1.3.1"
57
57
  },
58
58
  "jest": {