@backstage/plugin-kubernetes 0.7.5-next.4 → 0.7.6
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 +25 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @backstage/plugin-kubernetes
|
|
2
2
|
|
|
3
|
+
## 0.7.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/core-components@0.12.2
|
|
9
|
+
- @backstage/plugin-catalog-react@1.2.3
|
|
10
|
+
|
|
11
|
+
## 0.7.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 2db8acffe7: Kubernetes plugin now gracefully surfaces transport-level errors (like DNS or timeout, or other socket errors) occurring while fetching data. This will be merged into any data that is fetched successfully, fixing a bug where the whole page would be empty if any fetch operation encountered such an error.
|
|
16
|
+
- 365f887717: Removed rendering for ErrorEmptyState in ErrorReporting component, so nothing is rendered when there are no errors. Also removed Divider on Kubernetes page.
|
|
17
|
+
- 3280711113: Updated dependency `msw` to `^0.49.0`.
|
|
18
|
+
- 9ce7866ecd: Updated dependency `@kubernetes/client-node` to `0.18.0`.
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @backstage/plugin-kubernetes-common@0.5.0
|
|
21
|
+
- @backstage/core-plugin-api@1.2.0
|
|
22
|
+
- @backstage/core-components@0.12.1
|
|
23
|
+
- @backstage/plugin-catalog-react@1.2.2
|
|
24
|
+
- @backstage/catalog-model@1.1.4
|
|
25
|
+
- @backstage/config@1.0.5
|
|
26
|
+
- @backstage/theme@0.2.16
|
|
27
|
+
|
|
3
28
|
## 0.7.5-next.4
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
package/dist/index.esm.js
CHANGED
|
@@ -244,7 +244,7 @@ const EntityKubernetesContent = kubernetesPlugin.provide(
|
|
|
244
244
|
const clustersWithErrorsToErrorMessage = (clustersWithErrors) => {
|
|
245
245
|
return clustersWithErrors.map((c, i) => {
|
|
246
246
|
return /* @__PURE__ */ React__default.createElement("div", { key: i }, /* @__PURE__ */ React__default.createElement(Typography, { variant: "body2" }, `Cluster: ${c.cluster.name}`), c.errors.map((e, j) => {
|
|
247
|
-
return /* @__PURE__ */ React__default.createElement(Typography, { variant: "body2", key: j }, `Error fetching Kubernetes resource: '${e.resourcePath}', error: ${e.errorType}, status code: ${e.statusCode}`);
|
|
247
|
+
return /* @__PURE__ */ React__default.createElement(Typography, { variant: "body2", key: j }, e.errorType === "FETCH_ERROR" ? `Error communicating with Kubernetes: ${e.errorType}, message: ${e.message}` : `Error fetching Kubernetes resource: '${e.resourcePath}', error: ${e.errorType}, status code: ${e.statusCode}`);
|
|
248
248
|
}), /* @__PURE__ */ React__default.createElement("br", null));
|
|
249
249
|
});
|
|
250
250
|
};
|