@backstage/plugin-kubernetes-backend 0.10.0-next.3 → 0.10.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 +27 -0
- package/alpha/package.json +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @backstage/plugin-kubernetes-backend
|
|
2
2
|
|
|
3
|
+
## 0.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e6c7c850129: Plugins that instantiate the `KubernetesProxy` must now provide a parameter of the type `KubernetesProxyOptions` which includes providing a `KubernetesAuthTranslator`. The `KubernetesBuilder` now builds its own `KubernetesAuthTranslatorMap` that it provides to the `KubernetesProxy`. The `DispatchingKubernetesAuthTranslator` expects a `KubernetesTranslatorMap` to be provided as a parameter. The `KubernetesBuilder` now has a method called `setAuthTranslatorMap` which allows integrators to bring their own `KubernetesAuthTranslator's` to the `KubernetesPlugin`.
|
|
8
|
+
- 804f6d16b0c: **BREAKING**: `KubernetesBuilder.create` now requires a `permissions` field of type `PermissionEvaluator`. The kubernetes `/proxy` endpoint now requires two tokens: the `Backstage-Kubernetes-Authorization` header should contain a bearer token for the target cluster, and the `Authorization` header should contain a backstage identity token. The kubernetes `/proxy` endpoint now requires a `Backstage-Kubernetes-Cluster` header replacing the previously required `X-Kubernetes-Cluster` header.
|
|
9
|
+
- 88fbb3d075a: Add support for the new plugin system to the Kubernetes plugin
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 56a28b559e5: Updated kubernetes config schema to match available options
|
|
14
|
+
- 75d4985f5e8: Fixes bug whereby backstage crashes when bad credentials are provided to the kubernetes plugin.
|
|
15
|
+
- 83d250badc6: Fix parsing error when kubernetes api is returning badly structured data.
|
|
16
|
+
- 76e8f08fa24: fix localKubectlProxy auth provider fetching
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @backstage/backend-common@0.18.4
|
|
19
|
+
- @backstage/catalog-client@1.4.1
|
|
20
|
+
- @backstage/plugin-permission-node@0.7.7
|
|
21
|
+
- @backstage/plugin-permission-common@0.7.5
|
|
22
|
+
- @backstage/catalog-model@1.3.0
|
|
23
|
+
- @backstage/plugin-kubernetes-common@0.6.2
|
|
24
|
+
- @backstage/plugin-auth-node@0.2.13
|
|
25
|
+
- @backstage/plugin-catalog-node@1.3.5
|
|
26
|
+
- @backstage/backend-plugin-api@0.5.1
|
|
27
|
+
- @backstage/config@1.0.7
|
|
28
|
+
- @backstage/errors@1.1.5
|
|
29
|
+
|
|
3
30
|
## 0.10.0-next.3
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
package/alpha/package.json
CHANGED
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.10.0
|
|
4
|
+
"version": "0.10.0",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -48,17 +48,17 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@azure/identity": "^2.0.4",
|
|
51
|
-
"@backstage/backend-common": "^0.18.4
|
|
52
|
-
"@backstage/backend-plugin-api": "^0.5.1
|
|
53
|
-
"@backstage/catalog-client": "^1.4.1
|
|
54
|
-
"@backstage/catalog-model": "^1.3.0
|
|
51
|
+
"@backstage/backend-common": "^0.18.4",
|
|
52
|
+
"@backstage/backend-plugin-api": "^0.5.1",
|
|
53
|
+
"@backstage/catalog-client": "^1.4.1",
|
|
54
|
+
"@backstage/catalog-model": "^1.3.0",
|
|
55
55
|
"@backstage/config": "^1.0.7",
|
|
56
56
|
"@backstage/errors": "^1.1.5",
|
|
57
|
-
"@backstage/plugin-auth-node": "^0.2.13
|
|
58
|
-
"@backstage/plugin-catalog-node": "^1.3.5
|
|
59
|
-
"@backstage/plugin-kubernetes-common": "^0.6.2
|
|
60
|
-
"@backstage/plugin-permission-common": "^0.7.5
|
|
61
|
-
"@backstage/plugin-permission-node": "^0.7.7
|
|
57
|
+
"@backstage/plugin-auth-node": "^0.2.13",
|
|
58
|
+
"@backstage/plugin-catalog-node": "^1.3.5",
|
|
59
|
+
"@backstage/plugin-kubernetes-common": "^0.6.2",
|
|
60
|
+
"@backstage/plugin-permission-common": "^0.7.5",
|
|
61
|
+
"@backstage/plugin-permission-node": "^0.7.7",
|
|
62
62
|
"@google-cloud/container": "^4.0.0",
|
|
63
63
|
"@jest-mock/express": "^2.0.1",
|
|
64
64
|
"@kubernetes/client-node": "0.18.1",
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"yn": "^4.0.0"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@backstage/backend-test-utils": "^0.1.36
|
|
86
|
-
"@backstage/cli": "^0.22.6
|
|
85
|
+
"@backstage/backend-test-utils": "^0.1.36",
|
|
86
|
+
"@backstage/cli": "^0.22.6",
|
|
87
87
|
"@types/aws4": "^1.5.1",
|
|
88
88
|
"@types/http-proxy-middleware": "^0.19.3",
|
|
89
89
|
"aws-sdk-mock": "^5.2.1",
|