Commit Graph

639 Commits

Author SHA1 Message Date
Jamie Klassen 67187d68ed Merge pull request #22589 from jamieklassen/unique-cluster-names
Checks for unique cluster names
2024-02-02 10:59:50 -05:00
github-actions[bot] c70c3dc393 Version Packages (next) 2024-01-30 13:38:11 +00:00
Jamie Klassen 1c3cb3b2e5 log warning on duplicate cluster names
Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
2024-01-29 14:55:46 -05:00
Jamie Klassen 666eff5cc0 forbid duplicate cluster names in config
Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
2024-01-29 10:51:09 -05:00
github-actions[bot] 185d5ea0b0 Version Packages (next) 2024-01-23 13:57:50 +00:00
Jamie Klassen daad57618e separate authMetadata parameter for x-k8s-aws-id
Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
2024-01-19 17:56:54 -05:00
Jamie Klassen a16bb9d455 clean up AwsIamStrategy tests
Make it easier to stub and check the presign mock.

Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
2024-01-19 14:46:23 -05:00
Armando Comellas afb3b00cd4 Merge branch 'backstage:master' into gke-service-account 2024-01-18 17:20:08 +00:00
Jamie Klassen 63c7967d51 Merge pull request #22177 from andmagom/kubernetes/CustomAuthMetaToFrontend
Feature: Clusters endpoint is able to return Custom auth metadata info
2024-01-18 09:34:00 -05:00
Andrés Mauricio Gómez P 3abcc134bd Update .changeset/kind-clouds-fly.md
Co-authored-by: Jamie Klassen <jamie.klassen@broadcom.com>
Signed-off-by: Andrés Mauricio Gómez P <andmagom@outlook.com>
Signed-off-by: Andres Mauricio Gomez P <andmagom@outlook.com>
2024-01-18 09:01:39 -05:00
Fredrik Adelöw f933590c95 Merge pull request #21842 from andmagom/kubernetes/mTLS
Enabling authentication to kubernetes clusters with mTLS x509 client certs
2024-01-18 14:35:34 +01:00
Andres Mauricio Gomez P a77559663c Enabled a way to include custom auth metadata info on the clusters endpoint
Signed-off-by: Andres Mauricio Gomez P <andmagom@outlook.com>
2024-01-18 08:25:29 -05:00
Jamie Klassen 413f08ddcc improve error message on missing authProvider
Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
2024-01-17 18:36:00 -05:00
Jamie Klassen 7125d9c432 regression test for parameter precedence
Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
2024-01-17 18:36:00 -05:00
Jamie Klassen 7f6ff255f1 enable custom auth metadata in config
Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
2024-01-17 18:36:00 -05:00
Jamie Klassen 762809def5 clean up KubernetesBuilder tests
* reduce whitespace
* reduce duplication
* simplify stubs (mostly using `mockResolvedValue`)
* non-exhaustive attempt to ensure test backends get cleaned up

Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
2024-01-17 18:35:59 -05:00
armandocomellas1 8e2043b278 Updated with the new paramter in line 84 with the new paramter authProvider in the config schema
Signed-off-by: armandocomellas1 <cgarmando@google.com>
2024-01-17 12:57:57 -06:00
Fredrik Adelöw 56daa839f7 Merge pull request #21892 from jamieklassen/unsupported-servicelocator-message
fix error message for unsupported serviceLocator
2024-01-17 15:01:44 +01:00
github-actions[bot] 8070f67dc4 Version Packages 2024-01-16 11:44:56 +00:00
armandocomellas1 5d06333af2 Add a descriptive description at the changeset and add some unit test for three different scenarios
Signed-off-by: armandocomellas1 <cgarmando@google.com>
2024-01-15 19:27:09 -06:00
armandocomellas1 87737a8155 Added config.getString() method to check if kubernetes.config has googleServiceAccount property
Signed-off-by: armandocomellas1 <cgarmando@google.com>
2024-01-12 16:09:42 -06:00
github-actions[bot] ac277f3c91 Version Packages (next) 2024-01-09 12:44:34 +00:00
Jamie Klassen 7233f57136 fix error message for unsupported serviceLocator
Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2024-01-08 13:17:23 -05:00
Andrés Mauricio Gómez P 5e6f1706c1 Update plugins/kubernetes-backend/src/service/KubernetesFetcher.ts
Co-authored-by: Jamie Klassen <jamie.klassen@broadcom.com>
Signed-off-by: Andrés Mauricio Gómez P <andmagom@outlook.com>
Signed-off-by: Andres Mauricio Gomez P <andmagom@outlook.com>
2024-01-04 09:04:48 -05:00
Andrés Mauricio Gómez P 73a5e1b0c5 Update plugins/kubernetes-backend/src/service/KubernetesFetcher.ts
Co-authored-by: Jamie Klassen <jamie.klassen@broadcom.com>
Signed-off-by: Andrés Mauricio Gómez P <andmagom@outlook.com>
2024-01-04 08:18:07 -05:00
Andrés Mauricio Gómez P 77c8c4ecfc Update plugins/kubernetes-backend/src/service/KubernetesFetcher.test.ts
Co-authored-by: Jamie Klassen <jamie.klassen@broadcom.com>
Signed-off-by: Andrés Mauricio Gómez P <andmagom@outlook.com>
2024-01-04 08:09:30 -05:00
Andrés Mauricio Gómez P 15b8c1c48d Update plugins/kubernetes-backend/src/service/KubernetesFetcher.test.ts
Co-authored-by: Jamie Klassen <jamie.klassen@broadcom.com>
Signed-off-by: Andrés Mauricio Gómez P <andmagom@outlook.com>
2024-01-04 08:09:17 -05:00
github-actions[bot] a3ccddeba5 Version Packages (next) 2024-01-02 10:42:54 +00:00
Andres Mauricio Gomez P 3cc0d26206 Adding tests on KubernetesFetcher and KubernetesProxy for x509 client cert authentication
Signed-off-by: Andres Mauricio Gomez P <andmagom@outlook.com>
2023-12-27 09:24:48 -05:00
Andres Mauricio Gomez P f180cba319 Enabling authentication to kubernetes clusters with mTLS x509 client certs
Signed-off-by: Andres Mauricio Gomez P <andmagom@outlook.com>
2023-12-27 09:24:46 -05:00
github-actions[bot] c9f71fba8d Version Packages (next) 2023-12-25 23:42:26 +00:00
github-actions[bot] a9801a3ec9 Version Packages 2023-12-19 13:39:54 +00:00
Andres Mauricio Gomez P 472a47f163 Adding a deprecation message for the types
Signed-off-by: Andres Mauricio Gomez P <andmagom@outlook.com>
2023-12-13 12:05:15 -05:00
Andres Mauricio Gomez P 6c5d7f6f40 Refactoring KubernetesBuilder.test.ts to use kubernetesObjectsProviderExtensionPoint, kubernetesClusterSupplierExtensionPoint, kubernetesAuthStrategyExtensionPoint, kubernetesFetcherExtensionPoint and kubernetesServiceLocatorExtensionPoint
Signed-off-by: Andres Mauricio Gomez P <andmagom@outlook.com>
2023-12-13 12:05:14 -05:00
Andres Mauricio Gomez P 673e08a1a3 Creating extension point for kubernetesServiceLocator
Signed-off-by: Andres Mauricio Gomez P <andmagom@outlook.com>
2023-12-13 12:05:13 -05:00
Andres Mauricio Gomez P aa8ee8559b Creating extension point for kubernetesFetcher
Signed-off-by: Andres Mauricio Gomez P <andmagom@outlook.com>
2023-12-13 12:05:13 -05:00
Andres Mauricio Gomez P 49e6285275 Creating extension point for kubernetesAuthStrategy
Signed-off-by: Andres Mauricio Gomez P <andmagom@outlook.com>
2023-12-13 12:05:13 -05:00
Andres Mauricio Gomez P 6010564860 Creating extension point for kubernetesClusterSupplier
Signed-off-by: Andres Mauricio Gomez P <andmagom@outlook.com>
2023-12-13 12:05:11 -05:00
github-actions[bot] 3f1192f32f Version Packages (next) 2023-12-12 15:45:17 +00:00
github-actions[bot] a7f57602d1 Version Packages (next) 2023-12-05 13:55:44 +00:00
Patrik Oldsberg 2faf047072 Merge pull request #21604 from backstage/rugvip/kebab
switch all backend module IDs to use kebab-case
2023-11-29 10:54:41 +01:00
github-actions[bot] 356906bab8 Version Packages (next) 2023-11-28 13:37:18 +00:00
Patrik Oldsberg cc4228ec11 switch all backend module IDs to use kebab-case
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-11-28 11:53:57 +01:00
Patrik Oldsberg aea8f8d329 repo-tools: flip around API report naming
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-11-28 10:47:35 +01:00
Fredrik Adelöw d423b9ef31 Merge pull request #21391 from backstage/renovate/aws-crypto-sha256-js-5.x
fix(deps): update dependency @aws-crypto/sha256-js to v5
2023-11-23 13:11:29 +01:00
Fredrik Adelöw 99fb54183b Revert "Revert "fix(deps): update dependency @azure/identity to v4""
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-11-22 09:30:10 +01:00
Fredrik Adelöw 80bcf89c8a Revert "fix(deps): update dependency @azure/identity to v4" 2023-11-22 00:00:38 +01:00
Fredrik Adelöw 3efcce49bf Merge pull request #21393 from backstage/renovate/azure-identity-4.x
fix(deps): update dependency @azure/identity to v4
2023-11-21 23:49:13 +01:00
github-actions[bot] 8ece80419a Version Packages (next) 2023-11-21 15:13:12 +00:00
renovate[bot] 42c1aee741 fix(deps): update dependency @google-cloud/container to v5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 15:08:04 +00:00