Commit Graph

57 Commits

Author SHA1 Message Date
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
Moustafa Baiou 4639d20720 modify approach to post entire entity to k8s backend 2020-11-23 06:16:57 -05:00
Moustafa Baiou 61a552fac6 fix type checks 2020-11-23 06:16:57 -05:00
Moustafa Baiou beaa0a82db fix tests, types and cleanup 2020-11-23 06:16:57 -05:00
Moustafa Baiou e2085293a6 feat(kubernetes): update k8s-backend plugin to use label selectors
update plugin to use label selectors when querying backend
2020-11-23 06:16:57 -05:00
github-actions[bot] bc0f47b7b7 Version Packages 2020-11-19 15:13:57 +00:00
github-actions[bot] 715bb76fb5 Version Packages 2020-11-03 20:50:42 +00:00
Patrik Oldsberg 833a652d05 v0.1.1 2020-10-28 10:22:09 +01:00
Patrik Oldsberg 754109ee61 v0.1.1-alpha.26 2020-10-27 12:00:01 +01:00
Patrik Oldsberg bc9f536545 Merge pull request #2994 from spotify/rugvip/conflagrate
config-loader: switch to using --config options to load in config
2020-10-22 18:01:21 +02:00
Patrik Oldsberg c2ea3cd26a docs: updated to reflect new --config flags 2020-10-22 10:52:07 +02:00
blam 101978963d Merge branch 'master' of github.com:spotify/backstage into migrate-to-msw
* 'master' of github.com:spotify/backstage: (139 commits)
  Cleanup
  Update PinButton.test.tsx
  feat: update github insights plugin version (#2973)
  Ignore IntelliJ *.iml files (#2971)
  chore(deps): bump rollup-plugin-dts from 1.4.11 to 1.4.13
  fix the plugin card on plugins page
  align 'Add to Marketplace' button on plugins page
  fix the PluginGrid on mobiles sizes
  use getBy query instead of queryBy when asserting for elements present in document (#2951)
  Update PinButton.tsx
  Add test case for Progress component (#2953)
  fix the styling of footer copy on mobile
  add changeset
  handle the case where no entities are available to show
  core-api: work around issue with ApiRef export const declarations
  core-api: move utility api system implementation into apis/system
  Update docs regarding npm config ignore-scripts flag
  Another try
  Fix Core Features configuration id (#2948)
  Fix test?
  ...
2020-10-19 23:57:40 +02:00
Matthew Clarke 0ede39fd08 split service locator and cluster locators (#2900)
* split service locator and cluster locators

* fix test
2020-10-14 15:46:11 +01:00
blam e44cb85b22 Merge branch 'master' of github.com:spotify/backstage into migrate-to-msw
* 'master' of github.com:spotify/backstage: (66 commits)
  chore: fix lerna linting
  v0.1.1-alpha.25
  Add Code Insights plugin to sample app and marketplace (#2833)
  Improve main CI build status badge in README (#2866)
  Update roadmap: Design System 🚢 (#2858)
  github/codecov: switch to informational mode
  github/workflows: use the tip of master as the base for comparing PR code coverage
  make saml provider path from globalConfig (#2855)
  fix(catalog-backend): limit search value lengths
  Update project Copyright (#2852)
  fix(catalog-backend): actually use modified entity output (default namespace was broken)
  remove unnecessary center keyword
  Move card header bg to up contrast, fix #2558
  Update name of env authentication env vars
  Fix feedback from dtuite
  Remove chart testing workflow for now
  Only lint charts on Pull Requests
  Move the k8s deployment docs to its own helm deployment page
  Remove line in initdb script that creates backend db
  Use app-config.development.yaml to provide configuration instead of local
  ...
2020-10-13 03:56:13 +02:00
blam 46960a61ec v0.1.1-alpha.25 2020-10-12 22:42:54 +02:00
blam b33353dd39 Merge branch 'master' of github.com:spotify/backstage into migrate-to-msw
* 'master' of github.com:spotify/backstage: (110 commits)
  chore(catalog-backend): removing redudant classes and some functions
  chore(deps-dev): bump @types/webpack from 4.41.21 to 4.41.22 (#2765)
  move codecov.yml to .github
  feat(catalog-backend): add batch concurrency
  create-app: remove build step
  cli: simplify jest transform ignore regex
  feat(catalog-backend): introduce batching, speed up reading and writing of large datasets
  Techdocs: add Azure DevOps prepare support (#2748)
  feat(techdocs-header): Show breadcrumbs on docs page (#2786)
  changesets: add entry for create-app template location fix
  create-app: revert to github location type for example templates
  fix: make catalog filter work again
  Use new url scheme for techdocs
  feat: remove LocationProcessor.processEntity
  Add Dockerfile for helm chart
  feat: use the new UrlReader in the CodeOwnersProcessor
  feat: use new UrlReader in PlaceholderProcessor
  feat: remove the backstage.io/definition-at-location annotation
  Update loud-lamps-visit.md
  feat(proxy-backend): limit the forwarded http headers to a safe set
  ...
2020-10-09 14:48:32 +02:00
blam 54ef1eea7e chore(kubernetes-backend): removing node-fetch and jest-fetch-mock 2020-10-09 13:30:49 +02:00
Matthew Clarke eaa5275ac2 update kubernetes readmes (#2781) 2020-10-07 15:49:49 +01:00
James Wen 108ce37949 Allow for Kubernetes cluster authentication via google auth (#2691)
* Allow for Kubernetes cluster authentication via google auth

- For the kubernetes and kubernetes-backend plugins
  - The kubernetes (front-end) plugin uses the googleAuthApi and goes
    through oauth flow to fetch a Google auth token for the current user
    and pass that in a request to the kubernetes-backend plugin, which
    uses this token as the service account token (and hence as the
    authentication token for making K8s API requests).
- Related to https://github.com/spotify/backstage/issues/2552

* Use KubernetesAuthProvider and KubernetesAuthTranslator interfaces for K8s auth

- Implementations of KubernetesAuthProvider decorate the bodies of requests (for
  Kubernetes resources) sent from the kubernetes plugin (frontend) to the
  kubernetes-backend plugin (backend) with whatever information is
  needed for K8s authentication
- Implementations of KubernetesAuthTranslator take the contents of these request
  bodies sent from the kubernetes plugin (frontend) to the kubernetes-backend plugin
  (backend) and use specific values in the bodies to properly set up tokens for K8s auth
- Start with KubernetesAuthProvider + KubernetesAuthTranslator
  implementations for 'serviceAccount' and 'google' as auth providers
- Implementation of what was proposed at https://github.com/spotify/backstage/issues/2552#issuecomment-702545382
- Load in and prepare KubernetesAuthProvider implementations at plugin
  startup time via KubernetesAuthProviders API (that essentially stores
  or wraps these KubernetesAuthProvider instances)
- Related to https://github.com/spotify/backstage/issues/2552
2020-10-07 15:21:40 +01:00
Patrik Oldsberg 46b71700ee v0.1.1-alpha.24 2020-10-05 15:45:33 +02:00