@backstage/plugin-kubernetes-common 0.7.4-next.1 → 0.7.4

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.7.4
4
+
5
+ ### Patch Changes
6
+
7
+ - a643af8: The `ClusterAttributes` type now includes the cluster title.
8
+ - daad576: Clusters configured with the `aws` authentication strategy can now customize the
9
+ `x-k8s-aws-id` header value used to generate tokens. This value can be specified
10
+ specified via the `kubernetes.io/x-k8s-aws-id` parameter (in
11
+ `metadata.annotations` for clusters in the catalog, or the `authMetadata` block
12
+ on clusters in the app-config). This is particularly helpful when a Backstage
13
+ instance contains multiple AWS clusters with the same name in different regions
14
+ -- using this new parameter, the clusters can be given different logical names
15
+ to distinguish them but still use the same ID for the purposes of generating
16
+ tokens.
17
+ - Updated dependencies
18
+ - @backstage/catalog-model@1.4.4
19
+ - @backstage/types@1.1.1
20
+ - @backstage/plugin-permission-common@0.7.12
21
+
22
+ ## 0.7.4-next.2
23
+
24
+ ### Patch Changes
25
+
26
+ - a643af8: The `ClusterAttributes` type now includes the cluster title.
27
+ - Updated dependencies
28
+ - @backstage/catalog-model@1.4.4-next.0
29
+ - @backstage/types@1.1.1
30
+ - @backstage/plugin-permission-common@0.7.12
31
+
3
32
  ## 0.7.4-next.1
4
33
 
5
34
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -33,9 +33,13 @@ interface KubernetesRequestBody {
33
33
  /** @public */
34
34
  interface ClusterAttributes {
35
35
  /**
36
- * Specifies the name of the Kubernetes cluster.
36
+ * Name of the Kubernetes cluster; used as an internal identifier.
37
37
  */
38
38
  name: string;
39
+ /**
40
+ * Human-readable name for the cluster, to be dispayed in UIs.
41
+ */
42
+ title?: string;
39
43
  /**
40
44
  * Specifies the link to the Kubernetes dashboard managing this cluster.
41
45
  * @remarks
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.7.4-next.1",
4
+ "version": "0.7.4",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -39,7 +39,7 @@
39
39
  "url": "https://github.com/backstage/backstage/issues"
40
40
  },
41
41
  "dependencies": {
42
- "@backstage/catalog-model": "^1.4.4-next.0",
42
+ "@backstage/catalog-model": "^1.4.4",
43
43
  "@backstage/plugin-permission-common": "^0.7.12",
44
44
  "@backstage/types": "^1.1.1",
45
45
  "@kubernetes/client-node": "0.20.0",
@@ -48,7 +48,7 @@
48
48
  "luxon": "^3.0.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@backstage/cli": "^0.25.2-next.1"
51
+ "@backstage/cli": "^0.25.2"
52
52
  },
53
53
  "jest": {
54
54
  "roots": [