@backstage/plugin-kubernetes-node 0.1.3-next.2 → 0.1.4-next.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 +22 -0
- package/dist/index.d.ts +5 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @backstage/plugin-kubernetes-node
|
|
2
2
|
|
|
3
|
+
## 0.1.4-next.0
|
|
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
|
+
- f180cba: Enabling authentication to kubernetes clusters with mTLS x509 client certs
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- @backstage/plugin-kubernetes-common@0.7.4-next.0
|
|
11
|
+
- @backstage/backend-plugin-api@0.6.10-next.0
|
|
12
|
+
- @backstage/catalog-model@1.4.3
|
|
13
|
+
- @backstage/types@1.1.1
|
|
14
|
+
|
|
15
|
+
## 0.1.3
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @backstage/backend-plugin-api@0.6.9
|
|
21
|
+
- @backstage/plugin-kubernetes-common@0.7.3
|
|
22
|
+
- @backstage/catalog-model@1.4.3
|
|
23
|
+
- @backstage/types@1.1.1
|
|
24
|
+
|
|
3
25
|
## 0.1.3-next.2
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -180,6 +180,10 @@ interface KubernetesClustersSupplier {
|
|
|
180
180
|
type KubernetesCredential = {
|
|
181
181
|
type: 'bearer token';
|
|
182
182
|
token: string;
|
|
183
|
+
} | {
|
|
184
|
+
type: 'x509 client certificate';
|
|
185
|
+
cert: string;
|
|
186
|
+
key: string;
|
|
183
187
|
} | {
|
|
184
188
|
type: 'anonymous';
|
|
185
189
|
};
|
|
@@ -190,6 +194,7 @@ type KubernetesCredential = {
|
|
|
190
194
|
interface AuthenticationStrategy {
|
|
191
195
|
getCredential(clusterDetails: ClusterDetails, authConfig: KubernetesRequestAuth): Promise<KubernetesCredential>;
|
|
192
196
|
validateCluster(authMetadata: AuthMetadata): Error[];
|
|
197
|
+
presentAuthMetadata(authMetadata: AuthMetadata): AuthMetadata;
|
|
193
198
|
}
|
|
194
199
|
/**
|
|
195
200
|
*
|
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
|
+
"version": "0.1.4-next.0",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
"postpack": "backstage-cli package postpack"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@backstage/cli": "^0.25.
|
|
25
|
+
"@backstage/cli": "^0.25.2-next.0"
|
|
26
26
|
},
|
|
27
27
|
"files": [
|
|
28
28
|
"dist"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@backstage/backend-plugin-api": "^0.6.
|
|
31
|
+
"@backstage/backend-plugin-api": "^0.6.10-next.0",
|
|
32
32
|
"@backstage/catalog-model": "^1.4.3",
|
|
33
|
-
"@backstage/plugin-kubernetes-common": "^0.7.
|
|
33
|
+
"@backstage/plugin-kubernetes-common": "^0.7.4-next.0",
|
|
34
34
|
"@backstage/types": "^1.1.1"
|
|
35
35
|
}
|
|
36
36
|
}
|