@backstage/plugin-kubernetes-common 0.2.10-next.1 → 0.3.0-next.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,30 @@
1
1
  # @backstage/plugin-kubernetes-common
2
2
 
3
+ ## 0.3.0-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/catalog-model@1.0.3-next.0
9
+
10
+ ## 0.3.0-next.0
11
+
12
+ ### Minor Changes
13
+
14
+ - 4328737af6: Add support to fetch data for Stateful Sets
15
+
16
+ ## 0.2.10
17
+
18
+ ### Patch Changes
19
+
20
+ - 1ef98cfe48: add Azure Identity auth provider and AKS dashboard formatter
21
+ - 447e060872: Add support for 'oidc' as authProvider for kubernetes authentication
22
+ and adds optional 'oidcTokenProvider' config value. This will allow
23
+ users to authenticate to kubernetes cluster using id tokens obtained
24
+ from the configured auth provider in their backstage instance.
25
+ - Updated dependencies
26
+ - @backstage/catalog-model@1.0.2
27
+
3
28
  ## 0.2.10-next.1
4
29
 
5
30
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { JsonObject } from '@backstage/types';
2
- import { V1Pod, V1Service, V1ConfigMap, V1Deployment, V1ReplicaSet, V1HorizontalPodAutoscaler, V1Job, V1CronJob, V1Ingress } from '@kubernetes/client-node';
2
+ import { V1Pod, V1Service, V1ConfigMap, V1Deployment, V1ReplicaSet, V1HorizontalPodAutoscaler, V1Job, V1CronJob, V1Ingress, V1StatefulSet } from '@kubernetes/client-node';
3
3
  import { Entity } from '@backstage/catalog-model';
4
4
 
5
5
  interface KubernetesRequestBody {
@@ -58,7 +58,7 @@ interface ObjectsByEntityResponse {
58
58
  items: ClusterObjects[];
59
59
  }
60
60
  declare type AuthProviderType = 'google' | 'serviceAccount' | 'aws' | 'azure';
61
- declare type FetchResponse = PodFetchResponse | ServiceFetchResponse | ConfigMapFetchResponse | DeploymentFetchResponse | ReplicaSetsFetchResponse | HorizontalPodAutoscalersFetchResponse | JobsFetchResponse | CronJobsFetchResponse | IngressesFetchResponse | CustomResourceFetchResponse;
61
+ declare type FetchResponse = PodFetchResponse | ServiceFetchResponse | ConfigMapFetchResponse | DeploymentFetchResponse | ReplicaSetsFetchResponse | HorizontalPodAutoscalersFetchResponse | JobsFetchResponse | CronJobsFetchResponse | IngressesFetchResponse | CustomResourceFetchResponse | StatefulSetsFetchResponse;
62
62
  interface PodFetchResponse {
63
63
  type: 'pods';
64
64
  resources: Array<V1Pod>;
@@ -99,6 +99,10 @@ interface CustomResourceFetchResponse {
99
99
  type: 'customresources';
100
100
  resources: Array<any>;
101
101
  }
102
+ interface StatefulSetsFetchResponse {
103
+ type: 'statefulsets';
104
+ resources: Array<V1StatefulSet>;
105
+ }
102
106
  interface KubernetesFetchError {
103
107
  errorType: KubernetesErrorTypes;
104
108
  statusCode?: number;
@@ -122,4 +126,4 @@ interface ClientPodStatus {
122
126
  containers: ClientContainerStatus[];
123
127
  }
124
128
 
125
- export { AuthProviderType, ClientContainerStatus, ClientCurrentResourceUsage, ClientPodStatus, ClusterAttributes, ClusterObjects, ConfigMapFetchResponse, CronJobsFetchResponse, CustomResourceFetchResponse, DeploymentFetchResponse, FetchResponse, HorizontalPodAutoscalersFetchResponse, IngressesFetchResponse, JobsFetchResponse, KubernetesErrorTypes, KubernetesFetchError, KubernetesRequestBody, ObjectsByEntityResponse, PodFetchResponse, ReplicaSetsFetchResponse, ServiceFetchResponse };
129
+ export { AuthProviderType, ClientContainerStatus, ClientCurrentResourceUsage, ClientPodStatus, ClusterAttributes, ClusterObjects, ConfigMapFetchResponse, CronJobsFetchResponse, CustomResourceFetchResponse, DeploymentFetchResponse, FetchResponse, HorizontalPodAutoscalersFetchResponse, IngressesFetchResponse, JobsFetchResponse, KubernetesErrorTypes, KubernetesFetchError, KubernetesRequestBody, ObjectsByEntityResponse, PodFetchResponse, ReplicaSetsFetchResponse, ServiceFetchResponse, StatefulSetsFetchResponse };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-kubernetes-common",
3
3
  "description": "Common functionalities for kubernetes, to be shared between kubernetes and kubernetes-backend plugin",
4
- "version": "0.2.10-next.1",
4
+ "version": "0.3.0-next.1",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -38,17 +38,17 @@
38
38
  "url": "https://github.com/backstage/backstage/issues"
39
39
  },
40
40
  "dependencies": {
41
- "@backstage/catalog-model": "^1.0.2-next.0",
41
+ "@backstage/catalog-model": "^1.0.3-next.0",
42
42
  "@kubernetes/client-node": "^0.16.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@backstage/cli": "^0.17.1-next.2"
45
+ "@backstage/cli": "^0.17.2-next.1"
46
46
  },
47
47
  "jest": {
48
48
  "roots": [
49
49
  ".."
50
50
  ]
51
51
  },
52
- "gitHead": "586464f803f55325dd11aca1cb4bc014fd80f04d",
52
+ "gitHead": "e15c24ddb5d14034629ced8a5a5d8f12b8f1a7dd",
53
53
  "module": "dist/index.esm.js"
54
54
  }