@backstage/plugin-kubernetes 0.9.0-next.2 → 0.9.1

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,61 @@
1
1
  # @backstage/plugin-kubernetes
2
2
 
3
+ ## 0.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - a3360ecd0d7f: Fix cyclical dependency in built output
8
+
9
+ ## 0.9.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 280ec10c18e: Added Pod logs components for Kubernetes plugin
14
+
15
+ **BREAKING**: `kubernetesProxyApi` for custom plugins built with components from the Kubernetes plugin apis, `kubernetesProxyApi` should be added to the plugin's API list.
16
+
17
+ ```
18
+ ...
19
+ export const kubernetesPlugin = createPlugin({
20
+ id: 'kubernetes',
21
+ apis: [
22
+ ...
23
+ createApiFactory({
24
+ api: kubernetesProxyApiRef,
25
+ deps: {
26
+ kubernetesApi: kubernetesApiRef,
27
+ },
28
+ factory: ({ kubernetesApi }) =>
29
+ new KubernetesProxyClient({
30
+ kubernetesApi,
31
+ }),
32
+ }),
33
+ ```
34
+
35
+ **BREAKING**: `KubernetesDrawer` is now called `KubernetesStructuredMetadataTableDrawer` so that we can do more than just show `StructuredMetadataTable`
36
+
37
+ `import { KubernetesDrawer } from "@backstage/plugin-kubernetes"`
38
+
39
+ should now be:
40
+
41
+ `import { KubernetesStructuredMetadataTableDrawer } from "@backstage/plugin-kubernetes"`
42
+
43
+ ### Patch Changes
44
+
45
+ - c7bad1005ba: The Kubernetes plugin now requests AKS access tokens from Azure when retrieving
46
+ objects from clusters configured with `authProvider: aks` and sets `auth.aks` in
47
+ its request bodies appropriately.
48
+ - a160e02c3d7: Omit managed fields in the Kubernetes resource YAML display.
49
+ - Updated dependencies
50
+ - @backstage/theme@0.3.0
51
+ - @backstage/plugin-catalog-react@1.6.0
52
+ - @backstage/core-components@0.13.1
53
+ - @backstage/plugin-kubernetes-common@0.6.3
54
+ - @backstage/catalog-model@1.3.0
55
+ - @backstage/config@1.0.7
56
+ - @backstage/core-plugin-api@1.5.1
57
+ - @backstage/errors@1.1.5
58
+
3
59
  ## 0.9.0-next.2
4
60
 
5
61
  ### Patch Changes
package/dist/index.esm.js CHANGED
@@ -11,7 +11,6 @@ import lodash from 'lodash';
11
11
  import { DateTime } from 'luxon';
12
12
  import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
13
13
  import { Skeleton } from '@material-ui/lab';
14
- import { kubernetesProxyApiRef as kubernetesProxyApiRef$1 } from '@backstage/plugin-kubernetes';
15
14
  import useAsync from 'react-use/lib/useAsync';
16
15
  import SubjectIcon from '@material-ui/icons/Subject';
17
16
  import CloseIcon from '@material-ui/icons/Close';
@@ -705,7 +704,7 @@ const detectErrors = (objects) => {
705
704
  };
706
705
 
707
706
  const usePodLogs = ({ podScope }) => {
708
- const kubernetesProxyApi = useApi(kubernetesProxyApiRef$1);
707
+ const kubernetesProxyApi = useApi(kubernetesProxyApiRef);
709
708
  return useAsync(async () => {
710
709
  return await kubernetesProxyApi.getPodLogs({
711
710
  podName: podScope.podName,