Commit Graph

115 Commits

Author SHA1 Message Date
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
Patrik Oldsberg d8d7226fce plugins: generate api reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-17 13:30:06 +02:00
github-actions[bot] 4a93128245 Version Packages 2021-06-10 12:18:06 +00:00
github-actions[bot] b5a0d1c5d7 Version Packages 2021-05-27 10:23:15 +00:00
github-actions[bot] df31bdca8f Version Packages 2021-05-12 09:39:51 +00:00
Marcus Eide bc551b5f46 Use config schema inline instead
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-05-07 15:39:39 +02:00
Marcus Eide 7ee8ad08fd Fix tests
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-05-07 15:25:25 +02:00
Marcus Eide 1abb1d1e7b Add support for skipTLSVerify when using the GkeClusterLocator
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-05-07 15:24:13 +02:00
github-actions[bot] d397eb470f Version Packages 2021-05-06 08:25:18 +00:00
Juan Lulkin e6715553b3 kubernetes-backend: Use imports directly from common
Signed-off-by: Juan Lulkin <jmaiz@spotify.com>
2021-04-29 17:34:17 +02:00
Juan Lulkin 37dc8d6e9c kubernetes-backend: Adds skipTLSVerify to ClusterDetails
Signed-off-by: Juan Lulkin <jmaiz@spotify.com>
2021-04-29 17:34:17 +02:00
Juan Lulkin 99930d194c kubernetes-common: Exports types in a way that pleases the transpiler
Signed-off-by: Juan Lulkin <jmaiz@spotify.com>
2021-04-29 14:12:32 +02:00
Juan Lulkin 219313b29d kubernetes-backend: Moves backend specific types back from common
Signed-off-by: Juan Lulkin <jmaiz@spotify.com>
2021-04-29 14:12:32 +02:00
Juan Lulkin 1cf63d00df plugin-kubernetes-common: Moves packages/kuberntes-common to plugins as per ADR11
Signed-off-by: Juan Lulkin <jmaiz@spotify.com>
2021-04-29 14:12:32 +02:00
Juan Lulkin 1f790d756f kubernetes-backend: Updates kube backend to reexport types from common
Signed-off-by: Juan Lulkin <jmaiz@spotify.com>
2021-04-29 14:07:43 +02:00
Oliver Sand 7aa4308179 Merge pull request #5427 from SDA-SE/feat/fix-guest
Fix owner references to guest user
2021-04-26 14:21:42 +02:00
github-actions[bot] 034998d537 Version Packages 2021-04-22 13:19:35 +00:00
Oliver Sand 6eaecbd81d Fix owner references to guest user
If the user guest is used as an example value of the owner field, we should make sure to specify it as user:guest instead as the default is group.

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-22 13:21:45 +02:00
Fredrik Adelöw fc74c7dea7 Merge pull request #5313 from trumant/k8s-backend-skipTLSVerify-configurable
Configuration of the kubernetes-backend should be able to toggle TLS verification
2021-04-16 15:19:04 +02:00
Travis Truman b58eb099f7 Responding to review feedback
Signed-off-by: Travis Truman <trumant@gmail.com>
2021-04-16 08:44:04 -04:00
github-actions[bot] 70be53c939 Version Packages 2021-04-15 15:40:08 +02:00
Travis Truman 67d5ad38c0 Merge branch 'master' into k8s-backend-skipTLSVerify-configurable
Signed-off-by: Travis Truman <trumant@gmail.com>
2021-04-15 09:30:05 -04:00
Oliver Sand 7fd46f26dc Use string TypeScript type instead of String
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-14 14:07:07 +02:00
Travis Truman c42cd1daaf Kubernetes client TLS verification is now configurable
Verification now defaults to true, where previously it defaulted to false

Signed-off-by: Travis Truman <trumant@gmail.com>
2021-04-13 12:56:52 -04:00
github-actions[bot] 8e00ab7e63 Version Packages 2021-03-31 12:21:12 +00:00
shoeb 81ea05c33c updated entityname to get kuernetes-id from annotations or fallback
Signed-off-by: shoeb <shoebsd31@gmail.com>
2021-03-29 19:16:07 +02:00
shoeb 731759ac74 appended entity.metadata.name
Signed-off-by: shoeb <shoebsd31@gmail.com>
2021-03-29 19:16:07 +02:00
shoeb bb714e9246 executed prettier
Signed-off-by: shoeb <shoebsd31@gmail.com>
2021-03-29 19:16:06 +02:00
shoeb 2267722ae1 #5051 entity name updated
Signed-off-by: shoeb <shoebsd31@gmail.com>
2021-03-29 19:16:06 +02:00
Ben Lambert 3403c13e3a Merge pull request #5158 from backstage/dependabot/npm_and_yarn/supertest-6.1.3
chore(deps-dev): bump supertest from 4.0.2 to 6.1.3
2021-03-29 16:45:48 +02:00
Ben Lambert cadaf14a03 Merge pull request #5097 from backjo/feat/improveAwsCredLoading
improve credential loading for AWS IAM translator
2021-03-29 09:44:46 +02:00
dependabot[bot] 66ed65899f chore(deps-dev): bump supertest from 4.0.2 to 6.1.3
Bumps [supertest](https://github.com/visionmedia/supertest) from 4.0.2 to 6.1.3.
- [Release notes](https://github.com/visionmedia/supertest/releases)
- [Commits](https://github.com/visionmedia/supertest/compare/v4.0.2...v6.1.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 04:38:27 +00:00
Jonah Back e0ecfc5eeb update error message to be the one sent from AWS sdk
Signed-off-by: Jonah Back <jonah@jonahback.com>
2021-03-25 22:12:59 -07:00
github-actions[bot] 844da89090 Version Packages 2021-03-25 17:46:13 +00:00
Jonah Back 60e463c8d4 improve credential loading for AWS IAM translator
Signed-off-by: Jonah Back <jonah@jonahback.com>
2021-03-24 22:12:07 -07:00
dependabot[bot] 4d785b32a7 chore(deps): bump @kubernetes/client-node from 0.13.2 to 0.14.0
Bumps [@kubernetes/client-node](https://github.com/kubernetes-client/javascript) from 0.13.2 to 0.14.0.
- [Release notes](https://github.com/kubernetes-client/javascript/releases)
- [Changelog](https://github.com/kubernetes-client/javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes-client/javascript/compare/0.13.2...0.14.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-24 04:27:12 +00:00
dependabot[bot] d42f055d48 chore(deps): bump express-promise-router from 3.0.3 to 4.1.0
Bumps [express-promise-router](https://github.com/express-promise-router/express-promise-router) from 3.0.3 to 4.1.0.
- [Release notes](https://github.com/express-promise-router/express-promise-router/releases)
- [Changelog](https://github.com/express-promise-router/express-promise-router/blob/trunk/CHANGELOG.md)
- [Commits](https://github.com/express-promise-router/express-promise-router/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-23 04:26:33 +00:00
github-actions[bot] 718eea4f08 Version Packages 2021-03-18 12:31:44 +00:00
nliesenfeld bb848ac5e8 Don't list the cluster if there are no resources deployed there
Signed-off-by: nliesenfeld <nliesenfeld@spotify.com>
2021-03-12 10:32:06 -05:00
github-actions[bot] 0e120c5c66 Version Packages
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-11 13:45:44 +01:00
Matthew Clarke e2c1b3fb6a Kubernetes: initial CRD framework (#4892)
* Kubernetes: initial CRD framework

Signed-off-by: mclarke <mclarke@spotify.com>

* use luxon instead of date-fns

Signed-off-by: mclarke <mclarke@spotify.com>

* fix test

Signed-off-by: mclarke <mclarke@spotify.com>

* update ui schema

Signed-off-by: mclarke <mclarke@spotify.com>

* update app config

Signed-off-by: mclarke <mclarke@spotify.com>

* rollout tests

Signed-off-by: mclarke <mclarke@spotify.com>

* add default custom resource component

Signed-off-by: mclarke <mclarke@spotify.com>

* make custom resources optional

Signed-off-by: mclarke <mclarke@spotify.com>

* add docs

Signed-off-by: mclarke <mclarke@spotify.com>

* prettier

Signed-off-by: mclarke <mclarke@spotify.com>

* replace core-api usage with core

Signed-off-by: mclarke <mclarke@spotify.com>
2021-03-11 10:32:41 +00:00
Fredrik Adelöw 702b837b8b Remove all dot-folder imports everywhere
We aren't supposed to import from '.' or '../..' etc; point to the actual node being imported instead. I did allow e.g. '../../bigfolder' however. Going all the way to the individual file could be done too, but is a matter of taste perhaps.

Also ran Organize Imports on all the touched files :)

No changeset since there are no functional changes at all - only the imports changed

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-10 13:43:59 +01:00
Ben Lambert d471f98c44 Merge pull request #4883 from mclarke47/remove-client-caching
remove kubernetes client caching
2021-03-09 13:56:59 +01:00
mclarke da59f00f5e remove kubernetes client caching
Signed-off-by: mclarke <mclarke@spotify.com>
2021-03-09 08:20:49 +00:00
Jonah Back c71729a516 Merge branch 'master' into fix/use-aws-sdk-2
Signed-off-by: Jonah Back <jback@legalzoom.com>
2021-03-08 11:56:16 -08:00
Matthew Clarke 9581ff0b4f Kubernetes: lookup cluster config from google api when using GKE (#4844)
* Restructure config; add GKE cluster locator

Signed-off-by: mclarke <mclarke@spotify.com>

* PR feedback

Signed-off-by: mclarke <mclarke@spotify.com>

* fix region typo

Signed-off-by: mclarke <mclarke@spotify.com>

* replace config api call with clusters endpoint

Signed-off-by: mclarke <mclarke@spotify.com>

* missed tsc error

Signed-off-by: mclarke <mclarke@spotify.com>

* doc tweak

Signed-off-by: mclarke <mclarke@spotify.com>
2021-03-08 10:27:09 +00:00
Jonah Back 401698abc1 Apply suggestions from code review
Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
Signed-off-by: Jonah Back <jonah@jonahback.com>
2021-03-04 15:19:47 -08:00
Jonah Back 5d7834baf0 fix: use aws sdk v2 for kubernetes aws backend auth to be compatible with the rest of backstage
Signed-off-by: Jonah Back <jonah@jonahback.com>
2021-03-04 14:34:12 -08:00
github-actions[bot] ff2ab4fade Version Packages 2021-03-04 13:11:10 +00:00
Patrik Oldsberg ac4a098551 Merge pull request #4642 from backjo/feature/CustomKubernetesProvider
kubernetes-backend: allow apps to pass in a KubernetesClustersSupplier
2021-03-03 17:46:52 +01:00