@backstage/plugin-kubernetes-backend 0.15.0-next.3 → 0.15.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,57 @@
1
1
  # @backstage/plugin-kubernetes-backend
2
2
 
3
+ ## 0.15.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 666eff5: **BREAKING** The backend will fail to start if two clusters in the app-config
8
+ have the same name. The requirement for unique names has been declared in the
9
+ docs for some time, but is now enforced.
10
+
11
+ ### Patch Changes
12
+
13
+ - 7233f57: Fixed an issue where a misleading error message would be logged when an
14
+ unsupported service locator method was specified.
15
+ - afe9473: The `/clusters` API now surfaces cluster titles.
16
+ - a775596: Enabled a way to include custom auth metadata info on the clusters endpoint. If you want to implement a Kubernetes auth strategy which requires surfacing custom auth metadata to the frontend, use the new presentAuthMetadata method on the AuthenticationStrategy interface.
17
+ - 7278d80: The purpose of this patch is to add a new login method which is `googleServiceAccount` configuring the kubernetes properties in the app-config.yaml file with authProvider key
18
+ - 2a50cbf: adds a x-goog-api-client header to existing API requests in this plugin to clearly identify API requests from this GKE plugin. headers are formatted as follows where `libVersion` represents the current dotted version number of the Backstage GKE plugin and `libName` represent the current Google API used at backstage.
19
+ - 3b3d549: Responses from the `/api/kubernetes/services/:serviceId` endpoint now include the cluster title.
20
+ - a2e7fc6: Organized imports in plugin.ts
21
+ - 6bb6f3e: Updated dependency `fs-extra` to `^11.2.0`.
22
+ Updated dependency `@types/fs-extra` to `^11.0.0`.
23
+ - daad576: Clusters configured with the `aws` authentication strategy can now customize the
24
+ `x-k8s-aws-id` header value used to generate tokens. This value can be specified
25
+ specified via the `kubernetes.io/x-k8s-aws-id` parameter (in
26
+ `metadata.annotations` for clusters in the catalog, or the `authMetadata` block
27
+ on clusters in the app-config). This is particularly helpful when a Backstage
28
+ instance contains multiple AWS clusters with the same name in different regions
29
+ -- using this new parameter, the clusters can be given different logical names
30
+ to distinguish them but still use the same ID for the purposes of generating
31
+ tokens.
32
+ - f180cba: Enabling authentication to kubernetes clusters with mTLS x509 client certs
33
+ - 7f6ff25: Custom per-cluster auth metadata (mainly for use with custom `AuthenticationStrategy` implementations) can now be specified in the `authMetadata` property of clusters in the app-config.
34
+ - 6009d2a: Clusters in the catalog can now specify a human-readable title via `metadata.title`.
35
+ - 7ee5b30: Clusters in the app-config can now specify a `title` property for human readability.
36
+ - 1c3cb3b: Backstage will log a warning whenever duplicate cluster names are detected --
37
+ even if clusters sharing the same name come from separate locators.
38
+ - ceda378: On LocalKubectlProxyClusterLocator, when resolving localhost, IPv4 address is placed before IPv6 address, ignoring the order from the DNS resolver. This change is necessary since by default kubectl proxy listen on IPv4
39
+ - Updated dependencies
40
+ - @backstage/backend-common@0.21.0
41
+ - @backstage/plugin-auth-node@0.4.4
42
+ - @backstage/plugin-kubernetes-common@0.7.4
43
+ - @backstage/backend-plugin-api@0.6.10
44
+ - @backstage/catalog-model@1.4.4
45
+ - @backstage/integration-aws-node@0.1.9
46
+ - @backstage/plugin-kubernetes-node@0.1.4
47
+ - @backstage/catalog-client@1.6.0
48
+ - @backstage/plugin-catalog-node@1.7.0
49
+ - @backstage/plugin-permission-node@0.7.21
50
+ - @backstage/config@1.1.1
51
+ - @backstage/errors@1.2.3
52
+ - @backstage/types@1.1.1
53
+ - @backstage/plugin-permission-common@0.7.12
54
+
3
55
  ## 0.15.0-next.3
4
56
 
5
57
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-kubernetes-backend",
3
- "version": "0.15.0-next.3",
3
+ "version": "0.15.0",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/dist/index.cjs.js CHANGED
@@ -472,7 +472,7 @@ function runPeriodically(fn, delayMs) {
472
472
 
473
473
  var name = "@backstage/plugin-kubernetes-backend";
474
474
  var description = "A Backstage backend plugin that integrates towards Kubernetes";
475
- var version = "0.15.0-next.3";
475
+ var version = "0.15.0";
476
476
  var main = "src/index.ts";
477
477
  var types = "src/index.ts";
478
478
  var license = "Apache-2.0";
@@ -546,7 +546,7 @@ var dependencies = {
546
546
  cors: "^2.8.5",
547
547
  express: "^4.17.1",
548
548
  "express-promise-router": "^4.1.0",
549
- "fs-extra": "10.1.0",
549
+ "fs-extra": "^11.2.0",
550
550
  helmet: "^6.0.0",
551
551
  "http-proxy-middleware": "^2.0.6",
552
552
  lodash: "^4.17.21",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-kubernetes-backend",
3
3
  "description": "A Backstage backend plugin that integrates towards Kubernetes",
4
- "version": "0.15.0-next.3",
4
+ "version": "0.15.0",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -49,19 +49,19 @@
49
49
  "@aws-sdk/credential-providers": "^3.350.0",
50
50
  "@aws-sdk/signature-v4": "^3.347.0",
51
51
  "@azure/identity": "^4.0.0",
52
- "@backstage/backend-common": "^0.21.0-next.3",
53
- "@backstage/backend-plugin-api": "^0.6.10-next.3",
54
- "@backstage/catalog-client": "^1.6.0-next.1",
55
- "@backstage/catalog-model": "^1.4.4-next.0",
52
+ "@backstage/backend-common": "^0.21.0",
53
+ "@backstage/backend-plugin-api": "^0.6.10",
54
+ "@backstage/catalog-client": "^1.6.0",
55
+ "@backstage/catalog-model": "^1.4.4",
56
56
  "@backstage/config": "^1.1.1",
57
57
  "@backstage/errors": "^1.2.3",
58
- "@backstage/integration-aws-node": "^0.1.9-next.0",
59
- "@backstage/plugin-auth-node": "^0.4.4-next.3",
60
- "@backstage/plugin-catalog-node": "^1.6.2-next.3",
61
- "@backstage/plugin-kubernetes-common": "^0.7.4-next.2",
62
- "@backstage/plugin-kubernetes-node": "^0.1.4-next.3",
58
+ "@backstage/integration-aws-node": "^0.1.9",
59
+ "@backstage/plugin-auth-node": "^0.4.4",
60
+ "@backstage/plugin-catalog-node": "^1.7.0",
61
+ "@backstage/plugin-kubernetes-common": "^0.7.4",
62
+ "@backstage/plugin-kubernetes-node": "^0.1.4",
63
63
  "@backstage/plugin-permission-common": "^0.7.12",
64
- "@backstage/plugin-permission-node": "^0.7.21-next.3",
64
+ "@backstage/plugin-permission-node": "^0.7.21",
65
65
  "@backstage/types": "^1.1.1",
66
66
  "@google-cloud/container": "^5.0.0",
67
67
  "@jest-mock/express": "^2.0.1",
@@ -73,7 +73,7 @@
73
73
  "cors": "^2.8.5",
74
74
  "express": "^4.17.1",
75
75
  "express-promise-router": "^4.1.0",
76
- "fs-extra": "10.1.0",
76
+ "fs-extra": "^11.2.0",
77
77
  "helmet": "^6.0.0",
78
78
  "http-proxy-middleware": "^2.0.6",
79
79
  "lodash": "^4.17.21",
@@ -85,11 +85,11 @@
85
85
  "yn": "^4.0.0"
86
86
  },
87
87
  "devDependencies": {
88
- "@backstage/backend-app-api": "^0.5.11-next.3",
89
- "@backstage/backend-test-utils": "^0.3.0-next.3",
90
- "@backstage/cli": "^0.25.2-next.3",
91
- "@backstage/plugin-permission-backend": "^0.5.33-next.3",
92
- "@backstage/plugin-permission-backend-module-allow-all-policy": "^0.1.7-next.3",
88
+ "@backstage/backend-app-api": "^0.5.11",
89
+ "@backstage/backend-test-utils": "^0.3.0",
90
+ "@backstage/cli": "^0.25.2",
91
+ "@backstage/plugin-permission-backend": "^0.5.33",
92
+ "@backstage/plugin-permission-backend-module-allow-all-policy": "^0.1.7",
93
93
  "@types/aws4": "^1.5.1",
94
94
  "msw": "^1.0.0",
95
95
  "supertest": "^6.1.3",