Commit Graph

76 Commits

Author SHA1 Message Date
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
Patrik Oldsberg 570d310c90 Merge pull request #4621 from nhidtran/enhancement/4423
Enhancement/4423: remove the usage of res.send() for res.json()
2021-03-01 17:54:09 +01:00
Jonah Back 8d4f5ee0ac Remove incorrect comment 2021-02-27 12:13:11 -08:00
github-actions[bot] 4ae0467c2f Version Packages 2021-02-23 10:31:40 +01:00
Jonah Back e3adec2bd1 feature: add support for apps to pass in a KubernetesClustersSupplier 2021-02-22 20:15:01 -08:00
NHI TRAN ac67aab5dd PR updates
PR updates

fix failing test
2021-02-22 10:23:26 -05:00
NHI TRAN e6fe13c675 upstream master 2021-02-21 13:21:37 -05:00
NHI TRAN f43192207a enhancement: 4423 switch sending back data from server to res.json() instead of res.send()
changeset
2021-02-19 17:05:14 -05:00
mclarke 888497b55c replace kubernetes fanout request function with class 2021-02-10 11:16:37 +00:00
github-actions[bot] 6794967d20 Version Packages 2021-02-04 13:02:30 +00:00
Debajyoti Halder 4dad818e01 Merge branch 'master' of https://github.com/spotify/backstage into lintMod 2021-01-29 14:05:27 +05:30
Debajyoti Halder 6106345e6d Update project with latest eslint rules 2021-01-29 11:55:12 +05:30
github-actions[bot] cda741034d Version Packages 2021-01-28 10:46:08 +00:00
Ben Lambert 3362a8571b Merge pull request #4250 from adamdmharvey/k8s-realign-doco
docs: Update Kubernetes section with install & configure
2021-01-26 10:37:05 +01:00
Adam Harvey 975fe1ad38 Point to main docs site 2021-01-25 14:42:33 -05:00
Jonah Back 8387849f7c move types/aws4 to devDeps 2021-01-23 17:31:07 -08:00
Jonah Back 7491b7105f Merge branch 'master' into feature/AwsIamAuthForKubernetes 2021-01-23 16:01:49 -08:00
Jonah Back 6811112282 feature: add aws iam auth translator for kubernetes 2021-01-23 16:00:18 -08:00
github-actions[bot] c5584b62c2 Version Packages 2021-01-21 13:13:05 +00:00
Adam Harvey 131a55bb7f Merge branch 'master' of github.com:backstage/backstage into support-bad-request 2021-01-14 10:47:23 -05:00
Adam Harvey 38545afbfa Add Bad Request test 2021-01-14 10:30:55 -05:00
github-actions[bot] be332e13ea Version Packages 2021-01-14 13:05:31 +00:00
Adam Harvey a1f587c861 Support HTTP 400 Bad Request 2021-01-14 01:01:37 -05:00
dependabot[bot] dea1cc3b52 chore(deps): bump @kubernetes/client-node from 0.12.2 to 0.13.2
Bumps [@kubernetes/client-node](https://github.com/kubernetes-client/javascript) from 0.12.2 to 0.13.2.
- [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.12.2...0.13.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-14 05:48:15 +00:00
Matthew Clarke 5a9a7e7c26 Kubernetes plugin: UI revamp (#3918)
* initial revamp, no error reporting

* initial error detection

* more error detection

* add microsite page

* minor fixes

* add HPA error detection

* refactor error reporting; add tests

* fix import

* add changeseet

* empty error state

* prettier yaml file

* Update plugins/kubernetes/src/components/KubernetesDrawer/KubernetesDrawer.tsx

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>

* Update plugins/kubernetes/src/components/KubernetesDrawer/KubernetesDrawer.tsx

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>

* PR feedback

* revert odd change

* make patch change

* fix test

* Apply suggestions from code review

Co-authored-by: Fredrik Adelöw <freben@gmail.com>

* prettier

* pr feedback

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-01-11 16:50:30 +00:00
github-actions[bot] 6e9f4d4a15 Version Packages 2020-12-17 10:16:33 +00:00
Patrik Oldsberg 1da7d2c657 plugins,packages: replace usages of ConfigReader.from 2020-12-15 19:04:50 +01:00
github-actions[bot] cf187484bf Version Packages 2020-12-10 11:25:39 +00:00
Adam Harvey 8b395bee26 Add standard NPM metadata 2020-12-08 13:42:23 -05:00
github-actions[bot] 01aa774d9a Version Packages 2020-12-03 15:28:22 +00:00
Moustafa Baiou bcc211a081 refactor(k8s-plugin): update to use annotation based label selector
add changeset
2020-12-01 03:28:04 -05:00
github-actions[bot] 0c0c48bcc5 Version Packages 2020-11-24 16:56:00 +00:00
blam 121af544b1 feat: added config schema for k8s plugins 2020-11-24 17:29:29 +01:00
Himanshu Mishra 05b916761d fix(kubernetes-backend): Fix Typescript error stopping backend to start 2020-11-23 21:06:44 +01:00
Moustafa Baiou 18d0fd10a0 add needed import 2020-11-23 06:18:55 -05:00
Moustafa Baiou 44ea3101a7 remove unneeded import 2020-11-23 06:18:55 -05:00
Moustafa Baiou 74102d9176 fix test after refactor 2020-11-23 06:18:55 -05:00
Moustafa Baiou 728767e3d3 cleanup 2020-11-23 06:18:55 -05:00
Moustafa Baiou 75d63ee0a0 fix test 2020-11-23 06:18:55 -05:00
Moustafa Baiou 1166fcc36e add changeset 2020-11-23 06:18:55 -05:00