@backstage/plugin-kubernetes 0.7.7-next.1 → 0.7.7

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,32 @@
1
1
  # @backstage/plugin-kubernetes
2
2
 
3
+ ## 0.7.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 27a5e90e97: Small updates to some paragraph components to ensure theme typography properties are inherited correctly.
8
+ - Updated dependencies
9
+ - @backstage/catalog-model@1.1.5
10
+ - @backstage/plugin-catalog-react@1.2.4
11
+ - @backstage/core-components@0.12.3
12
+ - @backstage/core-plugin-api@1.3.0
13
+ - @backstage/config@1.0.6
14
+ - @backstage/theme@0.2.16
15
+ - @backstage/plugin-kubernetes-common@0.5.1
16
+
17
+ ## 0.7.7-next.2
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies
22
+ - @backstage/core-plugin-api@1.3.0-next.1
23
+ - @backstage/plugin-catalog-react@1.2.4-next.2
24
+ - @backstage/catalog-model@1.1.5-next.1
25
+ - @backstage/config@1.0.6-next.0
26
+ - @backstage/core-components@0.12.3-next.2
27
+ - @backstage/theme@0.2.16
28
+ - @backstage/plugin-kubernetes-common@0.5.1-next.1
29
+
3
30
  ## 0.7.7-next.1
4
31
 
5
32
  ### Patch Changes
package/dist/index.esm.js CHANGED
@@ -18,6 +18,7 @@ import lodash from 'lodash';
18
18
  import PauseIcon from '@material-ui/icons/Pause';
19
19
  import ErrorOutlineIcon from '@material-ui/icons/ErrorOutline';
20
20
  import { DateTime } from 'luxon';
21
+ import Typography$1 from '@material-ui/core/Typography';
21
22
  import EmptyStateImage from './assets/emptystate.svg';
22
23
 
23
24
  class KubernetesBackendClient {
@@ -625,6 +626,7 @@ const detectErrorsInPods = (pods, clusterName) => detectErrorsInObjects(pods, "P
625
626
 
626
627
  const deploymentErrorMappers = [
627
628
  {
629
+ // this is probably important
628
630
  severity: 6,
629
631
  errorExplanation: "condition-message-present",
630
632
  errorExists: (deployment) => {
@@ -649,6 +651,7 @@ const detectErrorsInDeployments = (deployments, clusterName) => detectErrorsInOb
649
651
 
650
652
  const hpaErrorMappers = [
651
653
  {
654
+ // this is probably important
652
655
  severity: 8,
653
656
  errorExplanation: "hpa-max-current-replicas",
654
657
  errorExists: (hpa) => {
@@ -760,6 +763,7 @@ const useCustomResources = (entity, customResourceMatchers, intervalMs = 1e4) =>
760
763
  entity
761
764
  });
762
765
  },
766
+ // eslint-disable-next-line react-hooks/exhaustive-deps
763
767
  [kubernetesApi, entity, kubernetesAuthProvidersApi, matchersString]
764
768
  );
765
769
  const { value, loading, error, retry } = useAsyncRetry(
@@ -2044,7 +2048,7 @@ const createLabelForStep = (step) => {
2044
2048
  } else if (isPauseStep(step)) {
2045
2049
  return step.pause.duration === void 0 ? "infinite pause" : `pause for ${step.pause.duration}`;
2046
2050
  } else if (isAnalysisStep(step)) {
2047
- return /* @__PURE__ */ React__default.createElement("div", null, /* @__PURE__ */ React__default.createElement("p", null, "analysis templates:"), step.analysis.templates.map((t, i) => /* @__PURE__ */ React__default.createElement("p", { key: i }, `${t.templateName}${t.clusterScope ? " (cluster scoped)" : ""}`)));
2051
+ return /* @__PURE__ */ React__default.createElement("div", null, /* @__PURE__ */ React__default.createElement(Typography$1, { paragraph: true }, "analysis templates:"), step.analysis.templates.map((t, i) => /* @__PURE__ */ React__default.createElement(Typography$1, { paragraph: true, key: i }, `${t.templateName}${t.clusterScope ? " (cluster scoped)" : ""}`)));
2048
2052
  }
2049
2053
  return "unknown step";
2050
2054
  };