@backstage/plugin-kubernetes-common 0.2.9 → 0.2.10

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,34 @@
1
1
  # @backstage/plugin-kubernetes-common
2
2
 
3
+ ## 0.2.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 1ef98cfe48: add Azure Identity auth provider and AKS dashboard formatter
8
+ - 447e060872: Add support for 'oidc' as authProvider for kubernetes authentication
9
+ and adds optional 'oidcTokenProvider' config value. This will allow
10
+ users to authenticate to kubernetes cluster using id tokens obtained
11
+ from the configured auth provider in their backstage instance.
12
+ - Updated dependencies
13
+ - @backstage/catalog-model@1.0.2
14
+
15
+ ## 0.2.10-next.1
16
+
17
+ ### Patch Changes
18
+
19
+ - 447e060872: Add support for 'oidc' as authProvider for kubernetes authentication
20
+ and adds optional 'oidcTokenProvider' config value. This will allow
21
+ users to authenticate to kubernetes cluster using id tokens obtained
22
+ from the configured auth provider in their backstage instance.
23
+
24
+ ## 0.2.10-next.0
25
+
26
+ ### Patch Changes
27
+
28
+ - 1ef98cfe48: add Azure Identity auth provider and AKS dashboard formatter
29
+ - Updated dependencies
30
+ - @backstage/catalog-model@1.0.2-next.0
31
+
3
32
  ## 0.2.9
4
33
 
5
34
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -5,6 +5,9 @@ import { Entity } from '@backstage/catalog-model';
5
5
  interface KubernetesRequestBody {
6
6
  auth?: {
7
7
  google?: string;
8
+ oidc?: {
9
+ [key: string]: string;
10
+ };
8
11
  };
9
12
  entity: Entity;
10
13
  }
@@ -54,7 +57,7 @@ interface ClusterObjects {
54
57
  interface ObjectsByEntityResponse {
55
58
  items: ClusterObjects[];
56
59
  }
57
- declare type AuthProviderType = 'google' | 'serviceAccount' | 'aws';
60
+ declare type AuthProviderType = 'google' | 'serviceAccount' | 'aws' | 'azure';
58
61
  declare type FetchResponse = PodFetchResponse | ServiceFetchResponse | ConfigMapFetchResponse | DeploymentFetchResponse | ReplicaSetsFetchResponse | HorizontalPodAutoscalersFetchResponse | JobsFetchResponse | CronJobsFetchResponse | IngressesFetchResponse | CustomResourceFetchResponse;
59
62
  interface PodFetchResponse {
60
63
  type: 'pods';
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.9",
4
+ "version": "0.2.10",
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.1",
41
+ "@backstage/catalog-model": "^1.0.2",
42
42
  "@kubernetes/client-node": "^0.16.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@backstage/cli": "^0.17.0"
45
+ "@backstage/cli": "^0.17.1"
46
46
  },
47
47
  "jest": {
48
48
  "roots": [
49
49
  ".."
50
50
  ]
51
51
  },
52
- "gitHead": "e0e44c433319711c2fb8b175db411a621f7aaec2",
52
+ "gitHead": "96323f280ba32ee526c5b151cda42260aee927c9",
53
53
  "module": "dist/index.esm.js"
54
54
  }