@backstage/plugin-kubernetes-backend 0.15.0-next.3 → 0.15.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 +64 -0
- package/alpha/package.json +1 -1
- package/dist/index.cjs.js +2 -2
- package/package.json +17 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,69 @@
|
|
|
1
1
|
# @backstage/plugin-kubernetes-backend
|
|
2
2
|
|
|
3
|
+
## 0.15.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/backend-common@0.21.1
|
|
9
|
+
- @backstage/plugin-auth-node@0.4.6
|
|
10
|
+
- @backstage/plugin-kubernetes-node@0.1.5
|
|
11
|
+
- @backstage/plugin-permission-node@0.7.22
|
|
12
|
+
- @backstage/backend-plugin-api@0.6.11
|
|
13
|
+
- @backstage/plugin-catalog-node@1.7.1
|
|
14
|
+
|
|
15
|
+
## 0.15.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- 666eff5: **BREAKING** The backend will fail to start if two clusters in the app-config
|
|
20
|
+
have the same name. The requirement for unique names has been declared in the
|
|
21
|
+
docs for some time, but is now enforced.
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 7233f57: Fixed an issue where a misleading error message would be logged when an
|
|
26
|
+
unsupported service locator method was specified.
|
|
27
|
+
- afe9473: The `/clusters` API now surfaces cluster titles.
|
|
28
|
+
- 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.
|
|
29
|
+
- 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
|
|
30
|
+
- 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.
|
|
31
|
+
- 3b3d549: Responses from the `/api/kubernetes/services/:serviceId` endpoint now include the cluster title.
|
|
32
|
+
- a2e7fc6: Organized imports in plugin.ts
|
|
33
|
+
- 6bb6f3e: Updated dependency `fs-extra` to `^11.2.0`.
|
|
34
|
+
Updated dependency `@types/fs-extra` to `^11.0.0`.
|
|
35
|
+
- daad576: Clusters configured with the `aws` authentication strategy can now customize the
|
|
36
|
+
`x-k8s-aws-id` header value used to generate tokens. This value can be specified
|
|
37
|
+
specified via the `kubernetes.io/x-k8s-aws-id` parameter (in
|
|
38
|
+
`metadata.annotations` for clusters in the catalog, or the `authMetadata` block
|
|
39
|
+
on clusters in the app-config). This is particularly helpful when a Backstage
|
|
40
|
+
instance contains multiple AWS clusters with the same name in different regions
|
|
41
|
+
-- using this new parameter, the clusters can be given different logical names
|
|
42
|
+
to distinguish them but still use the same ID for the purposes of generating
|
|
43
|
+
tokens.
|
|
44
|
+
- f180cba: Enabling authentication to kubernetes clusters with mTLS x509 client certs
|
|
45
|
+
- 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.
|
|
46
|
+
- 6009d2a: Clusters in the catalog can now specify a human-readable title via `metadata.title`.
|
|
47
|
+
- 7ee5b30: Clusters in the app-config can now specify a `title` property for human readability.
|
|
48
|
+
- 1c3cb3b: Backstage will log a warning whenever duplicate cluster names are detected --
|
|
49
|
+
even if clusters sharing the same name come from separate locators.
|
|
50
|
+
- 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
|
|
51
|
+
- Updated dependencies
|
|
52
|
+
- @backstage/backend-common@0.21.0
|
|
53
|
+
- @backstage/plugin-auth-node@0.4.4
|
|
54
|
+
- @backstage/plugin-kubernetes-common@0.7.4
|
|
55
|
+
- @backstage/backend-plugin-api@0.6.10
|
|
56
|
+
- @backstage/catalog-model@1.4.4
|
|
57
|
+
- @backstage/integration-aws-node@0.1.9
|
|
58
|
+
- @backstage/plugin-kubernetes-node@0.1.4
|
|
59
|
+
- @backstage/catalog-client@1.6.0
|
|
60
|
+
- @backstage/plugin-catalog-node@1.7.0
|
|
61
|
+
- @backstage/plugin-permission-node@0.7.21
|
|
62
|
+
- @backstage/config@1.1.1
|
|
63
|
+
- @backstage/errors@1.2.3
|
|
64
|
+
- @backstage/types@1.1.1
|
|
65
|
+
- @backstage/plugin-permission-common@0.7.12
|
|
66
|
+
|
|
3
67
|
## 0.15.0-next.3
|
|
4
68
|
|
|
5
69
|
### Patch Changes
|
package/alpha/package.json
CHANGED
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.
|
|
475
|
+
var version = "0.15.1";
|
|
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": "
|
|
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.
|
|
4
|
+
"version": "0.15.1",
|
|
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.
|
|
53
|
-
"@backstage/backend-plugin-api": "^0.6.
|
|
54
|
-
"@backstage/catalog-client": "^1.6.0
|
|
55
|
-
"@backstage/catalog-model": "^1.4.4
|
|
52
|
+
"@backstage/backend-common": "^0.21.1",
|
|
53
|
+
"@backstage/backend-plugin-api": "^0.6.11",
|
|
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
|
|
59
|
-
"@backstage/plugin-auth-node": "^0.4.
|
|
60
|
-
"@backstage/plugin-catalog-node": "^1.
|
|
61
|
-
"@backstage/plugin-kubernetes-common": "^0.7.4
|
|
62
|
-
"@backstage/plugin-kubernetes-node": "^0.1.
|
|
58
|
+
"@backstage/integration-aws-node": "^0.1.9",
|
|
59
|
+
"@backstage/plugin-auth-node": "^0.4.6",
|
|
60
|
+
"@backstage/plugin-catalog-node": "^1.7.1",
|
|
61
|
+
"@backstage/plugin-kubernetes-common": "^0.7.4",
|
|
62
|
+
"@backstage/plugin-kubernetes-node": "^0.1.5",
|
|
63
63
|
"@backstage/plugin-permission-common": "^0.7.12",
|
|
64
|
-
"@backstage/plugin-permission-node": "^0.7.
|
|
64
|
+
"@backstage/plugin-permission-node": "^0.7.22",
|
|
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": "
|
|
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.
|
|
89
|
-
"@backstage/backend-test-utils": "^0.3.
|
|
90
|
-
"@backstage/cli": "^0.25.2
|
|
91
|
-
"@backstage/plugin-permission-backend": "^0.5.
|
|
92
|
-
"@backstage/plugin-permission-backend-module-allow-all-policy": "^0.1.
|
|
88
|
+
"@backstage/backend-app-api": "^0.5.12",
|
|
89
|
+
"@backstage/backend-test-utils": "^0.3.1",
|
|
90
|
+
"@backstage/cli": "^0.25.2",
|
|
91
|
+
"@backstage/plugin-permission-backend": "^0.5.34",
|
|
92
|
+
"@backstage/plugin-permission-backend-module-allow-all-policy": "^0.1.8",
|
|
93
93
|
"@types/aws4": "^1.5.1",
|
|
94
94
|
"msw": "^1.0.0",
|
|
95
95
|
"supertest": "^6.1.3",
|