@backstage/plugin-kubernetes-node 0.1.4-next.2 → 0.1.4

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-node
2
2
 
3
+ ## 0.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 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.
8
+ - 8472188: Added or fixed the `repository` field in `package.json`.
9
+ - 043cf88: The `ClusterDetails` type now has a `title` field, which should be a
10
+ human-readable name.
11
+ - cceed8a: Introduced `PinnipedHelper` class to enable authentication to Kubernetes clusters through Pinniped
12
+ - f180cba: Enabling authentication to kubernetes clusters with mTLS x509 client certs
13
+ - Updated dependencies
14
+ - @backstage/plugin-kubernetes-common@0.7.4
15
+ - @backstage/backend-plugin-api@0.6.10
16
+ - @backstage/catalog-model@1.4.4
17
+ - @backstage/types@1.1.1
18
+
19
+ ## 0.1.4-next.3
20
+
21
+ ### Patch Changes
22
+
23
+ - 8472188: Added or fixed the `repository` field in `package.json`.
24
+ - 043cf88: The `ClusterDetails` type now has a `title` field, which should be a
25
+ human-readable name.
26
+ - Updated dependencies
27
+ - @backstage/plugin-kubernetes-common@0.7.4-next.2
28
+ - @backstage/backend-plugin-api@0.6.10-next.3
29
+ - @backstage/catalog-model@1.4.4-next.0
30
+ - @backstage/types@1.1.1
31
+
3
32
  ## 0.1.4-next.2
4
33
 
5
34
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -110,9 +110,13 @@ type AuthMetadata = Record<string, string>;
110
110
  */
111
111
  interface ClusterDetails {
112
112
  /**
113
- * Specifies the name of the Kubernetes cluster.
113
+ * Name of the Kubernetes cluster; used as an internal identifier.
114
114
  */
115
115
  name: string;
116
+ /**
117
+ * Human-readable name for the cluster, to be dispayed in UIs.
118
+ */
119
+ title?: string;
116
120
  url: string;
117
121
  authMetadata: AuthMetadata;
118
122
  skipTLSVerify?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-kubernetes-node",
3
3
  "description": "Node.js library for the kubernetes plugin",
4
- "version": "0.1.4-next.2",
4
+ "version": "0.1.4",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -10,6 +10,11 @@
10
10
  "main": "dist/index.cjs.js",
11
11
  "types": "dist/index.d.ts"
12
12
  },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/backstage/backstage",
16
+ "directory": "plugins/kubernetes-node"
17
+ },
13
18
  "backstage": {
14
19
  "role": "node-library"
15
20
  },
@@ -22,11 +27,11 @@
22
27
  "postpack": "backstage-cli package postpack"
23
28
  },
24
29
  "devDependencies": {
25
- "@backstage/backend-app-api": "^0.5.11-next.2",
26
- "@backstage/backend-common": "^0.21.0-next.2",
27
- "@backstage/backend-test-utils": "^0.3.0-next.2",
28
- "@backstage/cli": "^0.25.2-next.2",
29
- "@backstage/plugin-kubernetes-backend": "^0.15.0-next.2",
30
+ "@backstage/backend-app-api": "^0.5.11",
31
+ "@backstage/backend-common": "^0.21.0",
32
+ "@backstage/backend-test-utils": "^0.3.0",
33
+ "@backstage/cli": "^0.25.2",
34
+ "@backstage/plugin-kubernetes-backend": "^0.15.0",
30
35
  "msw": "^1.3.1",
31
36
  "supertest": "^6.1.3"
32
37
  },
@@ -34,9 +39,9 @@
34
39
  "dist"
35
40
  ],
36
41
  "dependencies": {
37
- "@backstage/backend-plugin-api": "^0.6.10-next.2",
38
- "@backstage/catalog-model": "^1.4.4-next.0",
39
- "@backstage/plugin-kubernetes-common": "^0.7.4-next.1",
42
+ "@backstage/backend-plugin-api": "^0.6.10",
43
+ "@backstage/catalog-model": "^1.4.4",
44
+ "@backstage/plugin-kubernetes-common": "^0.7.4",
40
45
  "@backstage/types": "^1.1.1",
41
46
  "@kubernetes/client-node": "^0.20.0",
42
47
  "node-fetch": "^2.6.7",