@backstage/plugin-kubernetes-common 0.9.15-next.0 → 0.9.15-next.2

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,19 @@
1
1
  # @backstage/plugin-kubernetes-common
2
2
 
3
+ ## 0.9.15-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/catalog-model@1.10.3-next.0
9
+ - @backstage/plugin-permission-common@0.9.13-next.0
10
+
11
+ ## 0.9.15-next.1
12
+
13
+ ### Patch Changes
14
+
15
+ - 68abde4: Allow AWS Kubernetes clusters to select credentials from a configured AWS account without assuming another role. Set `kubernetes.io/aws-account-id` in the cluster's auth metadata to use that account's credentials directly, including credentials obtained through web identity federation.
16
+
3
17
  ## 0.9.15-next.0
4
18
 
5
19
  ### Patch Changes
@@ -12,12 +12,14 @@ const ANNOTATION_KUBERNETES_DASHBOARD_URL = "kubernetes.io/dashboard-url";
12
12
  const ANNOTATION_KUBERNETES_DASHBOARD_APP = "kubernetes.io/dashboard-app";
13
13
  const ANNOTATION_KUBERNETES_DASHBOARD_PARAMETERS = "kubernetes.io/dashboard-parameters";
14
14
  const ANNOTATION_KUBERNETES_AWS_ASSUME_ROLE = "kubernetes.io/aws-assume-role";
15
+ const ANNOTATION_KUBERNETES_AWS_ACCOUNT_ID = "kubernetes.io/aws-account-id";
15
16
  const ANNOTATION_KUBERNETES_AWS_CLUSTER_ID = "kubernetes.io/x-k8s-aws-id";
16
17
  const ANNOTATION_KUBERNETES_AWS_EXTERNAL_ID = "kubernetes.io/aws-external-id";
17
18
 
18
19
  exports.ANNOTATION_KUBERNETES_API_SERVER = ANNOTATION_KUBERNETES_API_SERVER;
19
20
  exports.ANNOTATION_KUBERNETES_API_SERVER_CA = ANNOTATION_KUBERNETES_API_SERVER_CA;
20
21
  exports.ANNOTATION_KUBERNETES_AUTH_PROVIDER = ANNOTATION_KUBERNETES_AUTH_PROVIDER;
22
+ exports.ANNOTATION_KUBERNETES_AWS_ACCOUNT_ID = ANNOTATION_KUBERNETES_AWS_ACCOUNT_ID;
21
23
  exports.ANNOTATION_KUBERNETES_AWS_ASSUME_ROLE = ANNOTATION_KUBERNETES_AWS_ASSUME_ROLE;
22
24
  exports.ANNOTATION_KUBERNETES_AWS_CLUSTER_ID = ANNOTATION_KUBERNETES_AWS_CLUSTER_ID;
23
25
  exports.ANNOTATION_KUBERNETES_AWS_EXTERNAL_ID = ANNOTATION_KUBERNETES_AWS_EXTERNAL_ID;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog-entity-constants.cjs.js","sources":["../src/catalog-entity-constants.ts"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * The annotation key used to identify Kubernetes resources in Backstage.\n * This constant represents the standard annotation 'backstage.io/kubernetes-id'\n * which links catalog entities to their corresponding Kubernetes resources.\n *\n * @public\n */\nexport const KUBERNETES_ANNOTATION = 'backstage.io/kubernetes-id';\n\n/**\n * Annotation used to specify a Kubernetes label selector query for filtering resources.\n * When this annotation is added to a catalog entity, it defines criteria for selecting\n * Kubernetes resources based on their labels.\n *\n * @public\n *\n * @remarks\n * The value of this annotation should be a valid Kubernetes label selector query string.\n * For example: 'app=my-app,environment=production'\n */\nexport const KUBERNETES_LABEL_SELECTOR_QUERY_ANNOTATION =\n 'backstage.io/kubernetes-label-selector';\n\n/**\n * Annotation for specifying the API server of a Kubernetes cluster\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_API_SERVER = 'kubernetes.io/api-server';\n\n/**\n * Annotation for specifying the Certificate Authority of an API server for a Kubernetes cluster\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_API_SERVER_CA =\n 'kubernetes.io/api-server-certificate-authority';\n\n/**\n * Annotation for specifying the auth provider for a Kubernetes cluster\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AUTH_PROVIDER =\n 'kubernetes.io/auth-provider';\n\n/**\n * Annotation for specifying the oidc provider used to get id tokens for a Kubernetes cluster\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_OIDC_TOKEN_PROVIDER =\n 'kubernetes.io/oidc-token-provider';\n\n/**\n * Annotation for specifying boolean value for skip metric lookup.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_SKIP_METRICS_LOOKUP =\n 'kubernetes.io/skip-metrics-lookup';\n\n/**\n * Annotation for specifying boolean value for skip tls verify.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_SKIP_TLS_VERIFY =\n 'kubernetes.io/skip-tls-verify';\n\n/**\n * Annotation for specifying the dashboard url for a Kubernetes cluster.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_DASHBOARD_URL =\n 'kubernetes.io/dashboard-url';\n\n/**\n * Annotation for specifying the dashboard app for a Kubernetes cluster.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_DASHBOARD_APP =\n 'kubernetes.io/dashboard-app';\n\n/**\n * Annotation for specifying the dashboard app parameters for a Kubernetes cluster.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_DASHBOARD_PARAMETERS =\n 'kubernetes.io/dashboard-parameters';\n\n/**\n * Annotation for specifying the assume role use to authenticate with AWS.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AWS_ASSUME_ROLE =\n 'kubernetes.io/aws-assume-role';\n\n/**\n * Annotation for specifying the AWS ID of a cluster when signing STS tokens\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AWS_CLUSTER_ID =\n 'kubernetes.io/x-k8s-aws-id';\n\n/**\n * Annotation for specifying an external id when communicating with AWS\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AWS_EXTERNAL_ID =\n 'kubernetes.io/aws-external-id';\n"],"names":[],"mappings":";;AAuBO,MAAM,qBAAA,GAAwB;AAa9B,MAAM,0CAAA,GACX;AAOK,MAAM,gCAAA,GAAmC;AAOzC,MAAM,mCAAA,GACX;AAOK,MAAM,mCAAA,GACX;AAOK,MAAM,yCAAA,GACX;AAOK,MAAM,yCAAA,GACX;AAOK,MAAM,qCAAA,GACX;AAOK,MAAM,mCAAA,GACX;AAOK,MAAM,mCAAA,GACX;AAOK,MAAM,0CAAA,GACX;AAOK,MAAM,qCAAA,GACX;AAOK,MAAM,oCAAA,GACX;AAOK,MAAM,qCAAA,GACX;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"catalog-entity-constants.cjs.js","sources":["../src/catalog-entity-constants.ts"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * The annotation key used to identify Kubernetes resources in Backstage.\n * This constant represents the standard annotation 'backstage.io/kubernetes-id'\n * which links catalog entities to their corresponding Kubernetes resources.\n *\n * @public\n */\nexport const KUBERNETES_ANNOTATION = 'backstage.io/kubernetes-id';\n\n/**\n * Annotation used to specify a Kubernetes label selector query for filtering resources.\n * When this annotation is added to a catalog entity, it defines criteria for selecting\n * Kubernetes resources based on their labels.\n *\n * @public\n *\n * @remarks\n * The value of this annotation should be a valid Kubernetes label selector query string.\n * For example: 'app=my-app,environment=production'\n */\nexport const KUBERNETES_LABEL_SELECTOR_QUERY_ANNOTATION =\n 'backstage.io/kubernetes-label-selector';\n\n/**\n * Annotation for specifying the API server of a Kubernetes cluster\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_API_SERVER = 'kubernetes.io/api-server';\n\n/**\n * Annotation for specifying the Certificate Authority of an API server for a Kubernetes cluster\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_API_SERVER_CA =\n 'kubernetes.io/api-server-certificate-authority';\n\n/**\n * Annotation for specifying the auth provider for a Kubernetes cluster\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AUTH_PROVIDER =\n 'kubernetes.io/auth-provider';\n\n/**\n * Annotation for specifying the oidc provider used to get id tokens for a Kubernetes cluster\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_OIDC_TOKEN_PROVIDER =\n 'kubernetes.io/oidc-token-provider';\n\n/**\n * Annotation for specifying boolean value for skip metric lookup.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_SKIP_METRICS_LOOKUP =\n 'kubernetes.io/skip-metrics-lookup';\n\n/**\n * Annotation for specifying boolean value for skip tls verify.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_SKIP_TLS_VERIFY =\n 'kubernetes.io/skip-tls-verify';\n\n/**\n * Annotation for specifying the dashboard url for a Kubernetes cluster.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_DASHBOARD_URL =\n 'kubernetes.io/dashboard-url';\n\n/**\n * Annotation for specifying the dashboard app for a Kubernetes cluster.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_DASHBOARD_APP =\n 'kubernetes.io/dashboard-app';\n\n/**\n * Annotation for specifying the dashboard app parameters for a Kubernetes cluster.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_DASHBOARD_PARAMETERS =\n 'kubernetes.io/dashboard-parameters';\n\n/**\n * Annotation for specifying the assume role use to authenticate with AWS.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AWS_ASSUME_ROLE =\n 'kubernetes.io/aws-assume-role';\n\n/**\n * Annotation for selecting credentials configured for an AWS account.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AWS_ACCOUNT_ID =\n 'kubernetes.io/aws-account-id';\n\n/**\n * Annotation for specifying the AWS ID of a cluster when signing STS tokens\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AWS_CLUSTER_ID =\n 'kubernetes.io/x-k8s-aws-id';\n\n/**\n * Annotation for specifying an external id when communicating with AWS\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AWS_EXTERNAL_ID =\n 'kubernetes.io/aws-external-id';\n"],"names":[],"mappings":";;AAuBO,MAAM,qBAAA,GAAwB;AAa9B,MAAM,0CAAA,GACX;AAOK,MAAM,gCAAA,GAAmC;AAOzC,MAAM,mCAAA,GACX;AAOK,MAAM,mCAAA,GACX;AAOK,MAAM,yCAAA,GACX;AAOK,MAAM,yCAAA,GACX;AAOK,MAAM,qCAAA,GACX;AAOK,MAAM,mCAAA,GACX;AAOK,MAAM,mCAAA,GACX;AAOK,MAAM,0CAAA,GACX;AAOK,MAAM,qCAAA,GACX;AAOK,MAAM,oCAAA,GACX;AAOK,MAAM,oCAAA,GACX;AAOK,MAAM,qCAAA,GACX;;;;;;;;;;;;;;;;"}
@@ -10,8 +10,9 @@ const ANNOTATION_KUBERNETES_DASHBOARD_URL = "kubernetes.io/dashboard-url";
10
10
  const ANNOTATION_KUBERNETES_DASHBOARD_APP = "kubernetes.io/dashboard-app";
11
11
  const ANNOTATION_KUBERNETES_DASHBOARD_PARAMETERS = "kubernetes.io/dashboard-parameters";
12
12
  const ANNOTATION_KUBERNETES_AWS_ASSUME_ROLE = "kubernetes.io/aws-assume-role";
13
+ const ANNOTATION_KUBERNETES_AWS_ACCOUNT_ID = "kubernetes.io/aws-account-id";
13
14
  const ANNOTATION_KUBERNETES_AWS_CLUSTER_ID = "kubernetes.io/x-k8s-aws-id";
14
15
  const ANNOTATION_KUBERNETES_AWS_EXTERNAL_ID = "kubernetes.io/aws-external-id";
15
16
 
16
- export { ANNOTATION_KUBERNETES_API_SERVER, ANNOTATION_KUBERNETES_API_SERVER_CA, ANNOTATION_KUBERNETES_AUTH_PROVIDER, ANNOTATION_KUBERNETES_AWS_ASSUME_ROLE, ANNOTATION_KUBERNETES_AWS_CLUSTER_ID, ANNOTATION_KUBERNETES_AWS_EXTERNAL_ID, ANNOTATION_KUBERNETES_DASHBOARD_APP, ANNOTATION_KUBERNETES_DASHBOARD_PARAMETERS, ANNOTATION_KUBERNETES_DASHBOARD_URL, ANNOTATION_KUBERNETES_OIDC_TOKEN_PROVIDER, ANNOTATION_KUBERNETES_SKIP_METRICS_LOOKUP, ANNOTATION_KUBERNETES_SKIP_TLS_VERIFY, KUBERNETES_ANNOTATION, KUBERNETES_LABEL_SELECTOR_QUERY_ANNOTATION };
17
+ export { ANNOTATION_KUBERNETES_API_SERVER, ANNOTATION_KUBERNETES_API_SERVER_CA, ANNOTATION_KUBERNETES_AUTH_PROVIDER, ANNOTATION_KUBERNETES_AWS_ACCOUNT_ID, ANNOTATION_KUBERNETES_AWS_ASSUME_ROLE, ANNOTATION_KUBERNETES_AWS_CLUSTER_ID, ANNOTATION_KUBERNETES_AWS_EXTERNAL_ID, ANNOTATION_KUBERNETES_DASHBOARD_APP, ANNOTATION_KUBERNETES_DASHBOARD_PARAMETERS, ANNOTATION_KUBERNETES_DASHBOARD_URL, ANNOTATION_KUBERNETES_OIDC_TOKEN_PROVIDER, ANNOTATION_KUBERNETES_SKIP_METRICS_LOOKUP, ANNOTATION_KUBERNETES_SKIP_TLS_VERIFY, KUBERNETES_ANNOTATION, KUBERNETES_LABEL_SELECTOR_QUERY_ANNOTATION };
17
18
  //# sourceMappingURL=catalog-entity-constants.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"catalog-entity-constants.esm.js","sources":["../src/catalog-entity-constants.ts"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * The annotation key used to identify Kubernetes resources in Backstage.\n * This constant represents the standard annotation 'backstage.io/kubernetes-id'\n * which links catalog entities to their corresponding Kubernetes resources.\n *\n * @public\n */\nexport const KUBERNETES_ANNOTATION = 'backstage.io/kubernetes-id';\n\n/**\n * Annotation used to specify a Kubernetes label selector query for filtering resources.\n * When this annotation is added to a catalog entity, it defines criteria for selecting\n * Kubernetes resources based on their labels.\n *\n * @public\n *\n * @remarks\n * The value of this annotation should be a valid Kubernetes label selector query string.\n * For example: 'app=my-app,environment=production'\n */\nexport const KUBERNETES_LABEL_SELECTOR_QUERY_ANNOTATION =\n 'backstage.io/kubernetes-label-selector';\n\n/**\n * Annotation for specifying the API server of a Kubernetes cluster\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_API_SERVER = 'kubernetes.io/api-server';\n\n/**\n * Annotation for specifying the Certificate Authority of an API server for a Kubernetes cluster\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_API_SERVER_CA =\n 'kubernetes.io/api-server-certificate-authority';\n\n/**\n * Annotation for specifying the auth provider for a Kubernetes cluster\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AUTH_PROVIDER =\n 'kubernetes.io/auth-provider';\n\n/**\n * Annotation for specifying the oidc provider used to get id tokens for a Kubernetes cluster\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_OIDC_TOKEN_PROVIDER =\n 'kubernetes.io/oidc-token-provider';\n\n/**\n * Annotation for specifying boolean value for skip metric lookup.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_SKIP_METRICS_LOOKUP =\n 'kubernetes.io/skip-metrics-lookup';\n\n/**\n * Annotation for specifying boolean value for skip tls verify.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_SKIP_TLS_VERIFY =\n 'kubernetes.io/skip-tls-verify';\n\n/**\n * Annotation for specifying the dashboard url for a Kubernetes cluster.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_DASHBOARD_URL =\n 'kubernetes.io/dashboard-url';\n\n/**\n * Annotation for specifying the dashboard app for a Kubernetes cluster.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_DASHBOARD_APP =\n 'kubernetes.io/dashboard-app';\n\n/**\n * Annotation for specifying the dashboard app parameters for a Kubernetes cluster.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_DASHBOARD_PARAMETERS =\n 'kubernetes.io/dashboard-parameters';\n\n/**\n * Annotation for specifying the assume role use to authenticate with AWS.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AWS_ASSUME_ROLE =\n 'kubernetes.io/aws-assume-role';\n\n/**\n * Annotation for specifying the AWS ID of a cluster when signing STS tokens\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AWS_CLUSTER_ID =\n 'kubernetes.io/x-k8s-aws-id';\n\n/**\n * Annotation for specifying an external id when communicating with AWS\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AWS_EXTERNAL_ID =\n 'kubernetes.io/aws-external-id';\n"],"names":[],"mappings":"AAuBO,MAAM,qBAAA,GAAwB;AAa9B,MAAM,0CAAA,GACX;AAOK,MAAM,gCAAA,GAAmC;AAOzC,MAAM,mCAAA,GACX;AAOK,MAAM,mCAAA,GACX;AAOK,MAAM,yCAAA,GACX;AAOK,MAAM,yCAAA,GACX;AAOK,MAAM,qCAAA,GACX;AAOK,MAAM,mCAAA,GACX;AAOK,MAAM,mCAAA,GACX;AAOK,MAAM,0CAAA,GACX;AAOK,MAAM,qCAAA,GACX;AAOK,MAAM,oCAAA,GACX;AAOK,MAAM,qCAAA,GACX;;"}
1
+ {"version":3,"file":"catalog-entity-constants.esm.js","sources":["../src/catalog-entity-constants.ts"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * The annotation key used to identify Kubernetes resources in Backstage.\n * This constant represents the standard annotation 'backstage.io/kubernetes-id'\n * which links catalog entities to their corresponding Kubernetes resources.\n *\n * @public\n */\nexport const KUBERNETES_ANNOTATION = 'backstage.io/kubernetes-id';\n\n/**\n * Annotation used to specify a Kubernetes label selector query for filtering resources.\n * When this annotation is added to a catalog entity, it defines criteria for selecting\n * Kubernetes resources based on their labels.\n *\n * @public\n *\n * @remarks\n * The value of this annotation should be a valid Kubernetes label selector query string.\n * For example: 'app=my-app,environment=production'\n */\nexport const KUBERNETES_LABEL_SELECTOR_QUERY_ANNOTATION =\n 'backstage.io/kubernetes-label-selector';\n\n/**\n * Annotation for specifying the API server of a Kubernetes cluster\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_API_SERVER = 'kubernetes.io/api-server';\n\n/**\n * Annotation for specifying the Certificate Authority of an API server for a Kubernetes cluster\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_API_SERVER_CA =\n 'kubernetes.io/api-server-certificate-authority';\n\n/**\n * Annotation for specifying the auth provider for a Kubernetes cluster\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AUTH_PROVIDER =\n 'kubernetes.io/auth-provider';\n\n/**\n * Annotation for specifying the oidc provider used to get id tokens for a Kubernetes cluster\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_OIDC_TOKEN_PROVIDER =\n 'kubernetes.io/oidc-token-provider';\n\n/**\n * Annotation for specifying boolean value for skip metric lookup.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_SKIP_METRICS_LOOKUP =\n 'kubernetes.io/skip-metrics-lookup';\n\n/**\n * Annotation for specifying boolean value for skip tls verify.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_SKIP_TLS_VERIFY =\n 'kubernetes.io/skip-tls-verify';\n\n/**\n * Annotation for specifying the dashboard url for a Kubernetes cluster.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_DASHBOARD_URL =\n 'kubernetes.io/dashboard-url';\n\n/**\n * Annotation for specifying the dashboard app for a Kubernetes cluster.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_DASHBOARD_APP =\n 'kubernetes.io/dashboard-app';\n\n/**\n * Annotation for specifying the dashboard app parameters for a Kubernetes cluster.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_DASHBOARD_PARAMETERS =\n 'kubernetes.io/dashboard-parameters';\n\n/**\n * Annotation for specifying the assume role use to authenticate with AWS.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AWS_ASSUME_ROLE =\n 'kubernetes.io/aws-assume-role';\n\n/**\n * Annotation for selecting credentials configured for an AWS account.\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AWS_ACCOUNT_ID =\n 'kubernetes.io/aws-account-id';\n\n/**\n * Annotation for specifying the AWS ID of a cluster when signing STS tokens\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AWS_CLUSTER_ID =\n 'kubernetes.io/x-k8s-aws-id';\n\n/**\n * Annotation for specifying an external id when communicating with AWS\n *\n * @public\n */\nexport const ANNOTATION_KUBERNETES_AWS_EXTERNAL_ID =\n 'kubernetes.io/aws-external-id';\n"],"names":[],"mappings":"AAuBO,MAAM,qBAAA,GAAwB;AAa9B,MAAM,0CAAA,GACX;AAOK,MAAM,gCAAA,GAAmC;AAOzC,MAAM,mCAAA,GACX;AAOK,MAAM,mCAAA,GACX;AAOK,MAAM,yCAAA,GACX;AAOK,MAAM,yCAAA,GACX;AAOK,MAAM,qCAAA,GACX;AAOK,MAAM,mCAAA,GACX;AAOK,MAAM,mCAAA,GACX;AAOK,MAAM,0CAAA,GACX;AAOK,MAAM,qCAAA,GACX;AAOK,MAAM,oCAAA,GACX;AAOK,MAAM,oCAAA,GACX;AAOK,MAAM,qCAAA,GACX;;"}
package/dist/index.cjs.js CHANGED
@@ -11,6 +11,7 @@ var response = require('./util/response.cjs.js');
11
11
  exports.ANNOTATION_KUBERNETES_API_SERVER = catalogEntityConstants.ANNOTATION_KUBERNETES_API_SERVER;
12
12
  exports.ANNOTATION_KUBERNETES_API_SERVER_CA = catalogEntityConstants.ANNOTATION_KUBERNETES_API_SERVER_CA;
13
13
  exports.ANNOTATION_KUBERNETES_AUTH_PROVIDER = catalogEntityConstants.ANNOTATION_KUBERNETES_AUTH_PROVIDER;
14
+ exports.ANNOTATION_KUBERNETES_AWS_ACCOUNT_ID = catalogEntityConstants.ANNOTATION_KUBERNETES_AWS_ACCOUNT_ID;
14
15
  exports.ANNOTATION_KUBERNETES_AWS_ASSUME_ROLE = catalogEntityConstants.ANNOTATION_KUBERNETES_AWS_ASSUME_ROLE;
15
16
  exports.ANNOTATION_KUBERNETES_AWS_CLUSTER_ID = catalogEntityConstants.ANNOTATION_KUBERNETES_AWS_CLUSTER_ID;
16
17
  exports.ANNOTATION_KUBERNETES_AWS_EXTERNAL_ID = catalogEntityConstants.ANNOTATION_KUBERNETES_AWS_EXTERNAL_ID;
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index.d.ts CHANGED
@@ -367,6 +367,12 @@ declare const ANNOTATION_KUBERNETES_DASHBOARD_PARAMETERS = "kubernetes.io/dashbo
367
367
  * @public
368
368
  */
369
369
  declare const ANNOTATION_KUBERNETES_AWS_ASSUME_ROLE = "kubernetes.io/aws-assume-role";
370
+ /**
371
+ * Annotation for selecting credentials configured for an AWS account.
372
+ *
373
+ * @public
374
+ */
375
+ declare const ANNOTATION_KUBERNETES_AWS_ACCOUNT_ID = "kubernetes.io/aws-account-id";
370
376
  /**
371
377
  * Annotation for specifying the AWS ID of a cluster when signing STS tokens
372
378
  *
@@ -480,5 +486,5 @@ declare const detectErrors: (objects: ObjectsByEntityResponse$1) => DetectedErro
480
486
  /** @public */
481
487
  declare const groupResponses: (fetchResponse: FetchResponse$1[]) => GroupedResponses;
482
488
 
483
- export { ANNOTATION_KUBERNETES_API_SERVER, ANNOTATION_KUBERNETES_API_SERVER_CA, ANNOTATION_KUBERNETES_AUTH_PROVIDER, ANNOTATION_KUBERNETES_AWS_ASSUME_ROLE, ANNOTATION_KUBERNETES_AWS_CLUSTER_ID, ANNOTATION_KUBERNETES_AWS_EXTERNAL_ID, ANNOTATION_KUBERNETES_DASHBOARD_APP, ANNOTATION_KUBERNETES_DASHBOARD_PARAMETERS, ANNOTATION_KUBERNETES_DASHBOARD_URL, ANNOTATION_KUBERNETES_OIDC_TOKEN_PROVIDER, ANNOTATION_KUBERNETES_SKIP_METRICS_LOOKUP, ANNOTATION_KUBERNETES_SKIP_TLS_VERIFY, KUBERNETES_ANNOTATION, KUBERNETES_LABEL_SELECTOR_QUERY_ANNOTATION, SERVICEACCOUNT_CA_PATH, detectErrors, groupResponses, kubernetesClustersReadPermission, kubernetesPermissions, kubernetesProxyPermission, kubernetesResourcesReadPermission };
489
+ export { ANNOTATION_KUBERNETES_API_SERVER, ANNOTATION_KUBERNETES_API_SERVER_CA, ANNOTATION_KUBERNETES_AUTH_PROVIDER, ANNOTATION_KUBERNETES_AWS_ACCOUNT_ID, ANNOTATION_KUBERNETES_AWS_ASSUME_ROLE, ANNOTATION_KUBERNETES_AWS_CLUSTER_ID, ANNOTATION_KUBERNETES_AWS_EXTERNAL_ID, ANNOTATION_KUBERNETES_DASHBOARD_APP, ANNOTATION_KUBERNETES_DASHBOARD_PARAMETERS, ANNOTATION_KUBERNETES_DASHBOARD_URL, ANNOTATION_KUBERNETES_OIDC_TOKEN_PROVIDER, ANNOTATION_KUBERNETES_SKIP_METRICS_LOOKUP, ANNOTATION_KUBERNETES_SKIP_TLS_VERIFY, KUBERNETES_ANNOTATION, KUBERNETES_LABEL_SELECTOR_QUERY_ANNOTATION, SERVICEACCOUNT_CA_PATH, detectErrors, groupResponses, kubernetesClustersReadPermission, kubernetesPermissions, kubernetesProxyPermission, kubernetesResourcesReadPermission };
484
490
  export type { AuthProviderType, ClientContainerStatus, ClientCurrentResourceUsage, ClientPodStatus, ClusterAttributes, ClusterObjects, ConfigMapFetchResponse, CronJobsFetchResponse, CustomObjectsByEntityRequest, CustomResourceFetchResponse, CustomResourceMatcher, DaemonSetsFetchResponse, DeploymentFetchResponse, DeploymentResources, DetectedError, DetectedErrorsByCluster, DocsSolution, ErrorMapper, ErrorSeverity, EventsSolution, FetchResponse, GroupedResponses, HorizontalPodAutoscalersFetchResponse, IngressesFetchResponse, JobsFetchResponse, KubernetesErrorTypes, KubernetesFetchError, KubernetesRequestAuth, KubernetesRequestBody, KubernetesWatchEvent, KubernetesWatchEventType, KubernetesWatchOptions, LimitRangeFetchResponse, LogSolution, ObjectsByEntityResponse, PersistentVolumeClaimsFetchResponse, PersistentVolumeFetchResponse, PodFetchResponse, PodStatusFetchResponse, ProposedFix, ProposedFixBase, RawFetchError, ReplicaSetsFetchResponse, ResourceQuotaFetchResponse, ResourceRef, SecretFetchResponse, SecretsFetchResponse, ServiceFetchResponse, StatefulSetsFetchResponse, StatusError, WorkloadsByEntityRequest };
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- export { ANNOTATION_KUBERNETES_API_SERVER, ANNOTATION_KUBERNETES_API_SERVER_CA, ANNOTATION_KUBERNETES_AUTH_PROVIDER, ANNOTATION_KUBERNETES_AWS_ASSUME_ROLE, ANNOTATION_KUBERNETES_AWS_CLUSTER_ID, ANNOTATION_KUBERNETES_AWS_EXTERNAL_ID, ANNOTATION_KUBERNETES_DASHBOARD_APP, ANNOTATION_KUBERNETES_DASHBOARD_PARAMETERS, ANNOTATION_KUBERNETES_DASHBOARD_URL, ANNOTATION_KUBERNETES_OIDC_TOKEN_PROVIDER, ANNOTATION_KUBERNETES_SKIP_METRICS_LOOKUP, ANNOTATION_KUBERNETES_SKIP_TLS_VERIFY, KUBERNETES_ANNOTATION, KUBERNETES_LABEL_SELECTOR_QUERY_ANNOTATION } from './catalog-entity-constants.esm.js';
1
+ export { ANNOTATION_KUBERNETES_API_SERVER, ANNOTATION_KUBERNETES_API_SERVER_CA, ANNOTATION_KUBERNETES_AUTH_PROVIDER, ANNOTATION_KUBERNETES_AWS_ACCOUNT_ID, ANNOTATION_KUBERNETES_AWS_ASSUME_ROLE, ANNOTATION_KUBERNETES_AWS_CLUSTER_ID, ANNOTATION_KUBERNETES_AWS_EXTERNAL_ID, ANNOTATION_KUBERNETES_DASHBOARD_APP, ANNOTATION_KUBERNETES_DASHBOARD_PARAMETERS, ANNOTATION_KUBERNETES_DASHBOARD_URL, ANNOTATION_KUBERNETES_OIDC_TOKEN_PROVIDER, ANNOTATION_KUBERNETES_SKIP_METRICS_LOOKUP, ANNOTATION_KUBERNETES_SKIP_TLS_VERIFY, KUBERNETES_ANNOTATION, KUBERNETES_LABEL_SELECTOR_QUERY_ANNOTATION } from './catalog-entity-constants.esm.js';
2
2
  export { SERVICEACCOUNT_CA_PATH } from './certificate-authority-constants.esm.js';
3
3
  export { kubernetesClustersReadPermission, kubernetesPermissions, kubernetesProxyPermission, kubernetesResourcesReadPermission } from './permissions.esm.js';
4
4
  export { detectErrors } from './error-detection/error-detection.esm.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-kubernetes-common",
3
- "version": "0.9.15-next.0",
3
+ "version": "0.9.15-next.2",
4
4
  "description": "Common functionalities for kubernetes, to be shared between kubernetes and kubernetes-backend plugin",
5
5
  "backstage": {
6
6
  "role": "common-library",
@@ -52,15 +52,15 @@
52
52
  ]
53
53
  },
54
54
  "dependencies": {
55
- "@backstage/catalog-model": "1.10.2",
56
- "@backstage/plugin-permission-common": "0.9.12",
55
+ "@backstage/catalog-model": "1.10.3-next.0",
56
+ "@backstage/plugin-permission-common": "0.9.13-next.0",
57
57
  "@backstage/types": "1.2.2",
58
58
  "@kubernetes/client-node": "1.4.0",
59
59
  "lodash": "^4.17.21",
60
60
  "luxon": "^3.0.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@backstage/cli": "0.36.8-next.0",
63
+ "@backstage/cli": "0.36.8-next.2",
64
64
  "kubernetes-models": "^4.3.1"
65
65
  },
66
66
  "typesVersions": {