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

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,37 @@
1
1
  # @backstage/plugin-kubernetes
2
2
 
3
+ ## 0.12.5
4
+
5
+ ### Patch Changes
6
+
7
+ - d517d13: refactor: use `KUBERNETES_ANNOTATION` and `KUBERNETES_LABEL_SELECTOR_QUERY_ANNOTATION` annotations from `kubernetes-common`
8
+ - ba9649a: Set deployment as the default group of Kubernetes entity content. It is just an example and shouldn't cause any visual difference since entity page tabs with just one entity content appear as normal tabs.
9
+ - Updated dependencies
10
+ - @backstage/core-components@0.17.0
11
+ - @backstage/core-plugin-api@1.10.5
12
+ - @backstage/frontend-plugin-api@0.10.0
13
+ - @backstage/plugin-kubernetes-common@0.9.4
14
+ - @backstage/plugin-catalog-react@1.16.0
15
+ - @backstage/core-compat-api@0.4.0
16
+ - @backstage/plugin-kubernetes-react@0.5.5
17
+ - @backstage/plugin-permission-react@0.4.32
18
+ - @backstage/catalog-model@1.7.3
19
+
20
+ ## 0.12.5-next.2
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies
25
+ - @backstage/frontend-plugin-api@0.10.0-next.2
26
+ - @backstage/plugin-catalog-react@1.16.0-next.2
27
+ - @backstage/core-compat-api@0.4.0-next.2
28
+ - @backstage/core-components@0.16.5-next.1
29
+ - @backstage/catalog-model@1.7.3
30
+ - @backstage/core-plugin-api@1.10.4
31
+ - @backstage/plugin-kubernetes-common@0.9.4-next.0
32
+ - @backstage/plugin-kubernetes-react@0.5.5-next.2
33
+ - @backstage/plugin-permission-react@0.4.31
34
+
3
35
  ## 0.12.5-next.1
4
36
 
5
37
  ### Patch Changes
package/dist/alpha.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
2
1
  import * as _backstage_core_plugin_api_alpha from '@backstage/core-plugin-api/alpha';
3
2
  import * as _backstage_catalog_model from '@backstage/catalog-model';
4
3
  import * as react from 'react';
4
+ import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
5
5
  import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
6
6
 
7
7
  /** @alpha */
@@ -24,23 +24,37 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
24
24
  factory: _backstage_frontend_plugin_api.AnyApiFactory;
25
25
  };
26
26
  }>;
27
- "page:kubernetes": _backstage_frontend_plugin_api.ExtensionDefinition<{
28
- kind: "page";
29
- name: undefined;
30
- config: {
31
- path: string | undefined;
27
+ "api:kubernetes/auth-providers": _backstage_frontend_plugin_api.ExtensionDefinition<{
28
+ kind: "api";
29
+ name: "auth-providers";
30
+ config: {};
31
+ configInput: {};
32
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
33
+ inputs: {};
34
+ params: {
35
+ factory: _backstage_frontend_plugin_api.AnyApiFactory;
32
36
  };
33
- configInput: {
34
- path?: string | undefined;
37
+ }>;
38
+ "api:kubernetes/cluster-link-formatter": _backstage_frontend_plugin_api.ExtensionDefinition<{
39
+ kind: "api";
40
+ name: "cluster-link-formatter";
41
+ config: {};
42
+ configInput: {};
43
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
44
+ inputs: {};
45
+ params: {
46
+ factory: _backstage_frontend_plugin_api.AnyApiFactory;
35
47
  };
36
- output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
37
- optional: true;
38
- }>;
48
+ }>;
49
+ "api:kubernetes/proxy": _backstage_frontend_plugin_api.ExtensionDefinition<{
50
+ kind: "api";
51
+ name: "proxy";
52
+ config: {};
53
+ configInput: {};
54
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
39
55
  inputs: {};
40
56
  params: {
41
- defaultPath: string;
42
- loader: () => Promise<JSX.Element>;
43
- routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
57
+ factory: _backstage_frontend_plugin_api.AnyApiFactory;
44
58
  };
45
59
  }>;
46
60
  "entity-content:kubernetes/kubernetes": _backstage_frontend_plugin_api.ExtensionDefinition<{
@@ -49,11 +63,11 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
49
63
  config: {
50
64
  path: string | undefined;
51
65
  title: string | undefined;
52
- filter: string | undefined;
66
+ filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
53
67
  group: string | false | undefined;
54
68
  };
55
69
  configInput: {
56
- filter?: string | undefined;
70
+ filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
57
71
  title?: string | undefined;
58
72
  path?: string | undefined;
59
73
  group?: string | false | undefined;
@@ -72,42 +86,28 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
72
86
  loader: () => Promise<JSX.Element>;
73
87
  defaultPath: string;
74
88
  defaultTitle: string;
75
- defaultGroup?: (string & {}) | "documentation" | "development" | "deployment" | "observability" | undefined;
76
- routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
77
- filter?: string | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
89
+ defaultGroup?: keyof typeof _backstage_plugin_catalog_react_alpha.defaultEntityContentGroups | (string & {});
90
+ routeRef?: _backstage_frontend_plugin_api.RouteRef;
91
+ filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
78
92
  };
79
93
  }>;
80
- "api:kubernetes/proxy": _backstage_frontend_plugin_api.ExtensionDefinition<{
81
- kind: "api";
82
- name: "proxy";
83
- config: {};
84
- configInput: {};
85
- output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
86
- inputs: {};
87
- params: {
88
- factory: _backstage_frontend_plugin_api.AnyApiFactory;
94
+ "page:kubernetes": _backstage_frontend_plugin_api.ExtensionDefinition<{
95
+ kind: "page";
96
+ name: undefined;
97
+ config: {
98
+ path: string | undefined;
89
99
  };
90
- }>;
91
- "api:kubernetes/auth-providers": _backstage_frontend_plugin_api.ExtensionDefinition<{
92
- kind: "api";
93
- name: "auth-providers";
94
- config: {};
95
- configInput: {};
96
- output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
97
- inputs: {};
98
- params: {
99
- factory: _backstage_frontend_plugin_api.AnyApiFactory;
100
+ configInput: {
101
+ path?: string | undefined;
100
102
  };
101
- }>;
102
- "api:kubernetes/cluster-link-formatter": _backstage_frontend_plugin_api.ExtensionDefinition<{
103
- kind: "api";
104
- name: "cluster-link-formatter";
105
- config: {};
106
- configInput: {};
107
- output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
103
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
104
+ optional: true;
105
+ }>;
108
106
  inputs: {};
109
107
  params: {
110
- factory: _backstage_frontend_plugin_api.AnyApiFactory;
108
+ defaultPath: string;
109
+ loader: () => Promise<JSX.Element>;
110
+ routeRef?: _backstage_frontend_plugin_api.RouteRef;
111
111
  };
112
112
  }>;
113
113
  }>;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
3
2
  import react__default from 'react';
4
3
  import { Entity } from '@backstage/catalog-model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-kubernetes",
3
- "version": "0.12.5-next.1",
3
+ "version": "0.12.5",
4
4
  "description": "A Backstage plugin that integrates towards Kubernetes",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -49,7 +49,7 @@
49
49
  "types": "./dist/index.d.ts",
50
50
  "typesVersions": {
51
51
  "*": {
52
- "index": [
52
+ "*": [
53
53
  "dist/index.d.ts"
54
54
  ],
55
55
  "alpha": [
@@ -70,15 +70,15 @@
70
70
  "test": "backstage-cli package test"
71
71
  },
72
72
  "dependencies": {
73
- "@backstage/catalog-model": "1.7.3",
74
- "@backstage/core-compat-api": "0.3.7-next.1",
75
- "@backstage/core-components": "0.16.5-next.0",
76
- "@backstage/core-plugin-api": "1.10.4",
77
- "@backstage/frontend-plugin-api": "0.9.6-next.1",
78
- "@backstage/plugin-catalog-react": "1.16.0-next.1",
79
- "@backstage/plugin-kubernetes-common": "0.9.4-next.0",
80
- "@backstage/plugin-kubernetes-react": "0.5.5-next.1",
81
- "@backstage/plugin-permission-react": "0.4.31",
73
+ "@backstage/catalog-model": "^1.7.3",
74
+ "@backstage/core-compat-api": "^0.4.0",
75
+ "@backstage/core-components": "^0.17.0",
76
+ "@backstage/core-plugin-api": "^1.10.5",
77
+ "@backstage/frontend-plugin-api": "^0.10.0",
78
+ "@backstage/plugin-catalog-react": "^1.16.0",
79
+ "@backstage/plugin-kubernetes-common": "^0.9.4",
80
+ "@backstage/plugin-kubernetes-react": "^0.5.5",
81
+ "@backstage/plugin-permission-react": "^0.4.32",
82
82
  "@kubernetes-models/apimachinery": "^2.0.0",
83
83
  "@kubernetes-models/base": "^5.0.0",
84
84
  "@kubernetes/client-node": "1.0.0-rc7",
@@ -93,9 +93,9 @@
93
93
  "xterm-addon-fit": "^0.8.0"
94
94
  },
95
95
  "devDependencies": {
96
- "@backstage/cli": "0.30.1-next.0",
97
- "@backstage/dev-utils": "1.1.8-next.1",
98
- "@backstage/test-utils": "1.7.5",
96
+ "@backstage/cli": "^0.31.0",
97
+ "@backstage/dev-utils": "^1.1.8",
98
+ "@backstage/test-utils": "^1.7.6",
99
99
  "@testing-library/dom": "^10.0.0",
100
100
  "@testing-library/jest-dom": "^6.0.0",
101
101
  "@testing-library/react": "^16.0.0",