Commit Graph

50 Commits

Author SHA1 Message Date
github-actions[bot] 51b6cf465d Version Packages 2021-04-08 11:32:56 +00:00
github-actions[bot] 844da89090 Version Packages 2021-03-25 17:46:13 +00: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
github-actions[bot] 718eea4f08 Version Packages 2021-03-18 12:31:44 +00:00
mclarke 62bd701335 fix accidental dependency update
Signed-off-by: mclarke <mclarke@spotify.com>
2021-03-11 16:51:40 +00:00
mclarke b16a480275 add kubernetes custom hook tests
Signed-off-by: mclarke <mclarke@spotify.com>
2021-03-11 14:44:10 +00: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
dependabot[bot] 63887ea84d chore(deps-dev): bump @types/node from 12.12.58 to 14.14.32
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.58 to 14.14.32.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-08 13:19:08 +01:00
github-actions[bot] ff2ab4fade Version Packages 2021-03-04 13:11:10 +00:00
dependabot[bot] bcbff6d76f chore(deps): bump @testing-library/react from 10.4.3 to 11.2.5
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.4.3 to 11.2.5.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v10.4.3...v11.2.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-25 09:56:31 +01:00
github-actions[bot] 4ae0467c2f Version Packages 2021-02-23 10:31:40 +01:00
github-actions[bot] 4188c2ccb4 Version Packages 2021-02-18 13:23:19 +00:00
github-actions[bot] aa49ca2284 Version Packages 2021-02-11 10:15:47 +00:00
Patrik Oldsberg f036c89875 Merge branch 'master' into rugvip/moreports 2021-02-04 19:43:32 +01:00
github-actions[bot] 6794967d20 Version Packages 2021-02-04 13:02:30 +00:00
Patrik Oldsberg 64b9efac2e kubernets: migrate to new composability API 2021-02-02 23:51:30 +01:00
github-actions[bot] cda741034d Version Packages 2021-01-28 10:46:08 +00:00
github-actions[bot] c5584b62c2 Version Packages 2021-01-21 13:13:05 +00:00
github-actions[bot] 3bb5113a92 Version Packages 2021-01-14 15:32:34 +00:00
github-actions[bot] be332e13ea Version Packages 2021-01-14 13:05:31 +00: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] 28d7f319f4 Version Packages 2021-01-07 10:31:20 +00:00
github-actions[bot] a1ebbdeee0 Version Packages 2020-12-29 10:59:38 +00:00
github-actions[bot] c3c04658f2 Version Packages 2020-12-22 12:14:20 +00:00
github-actions[bot] 6e9f4d4a15 Version Packages 2020-12-17 10:16:33 +00: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
Patrik Oldsberg b08351ebb4 plugins: keep plugin package.json in sync 2020-11-27 14:15:08 +01: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
github-actions[bot] bc0f47b7b7 Version Packages 2020-11-19 15:13:57 +00:00
github-actions[bot] 76a8099029 Version Packages 2020-11-12 10:52:23 +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
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 f258c5e3ff chore(kuberenetes): removing node-fetch and jest-fetch-mock as dependencies 2020-10-09 13:28:24 +02:00
blam 813504018e chore: update deps 2020-10-08 21:58:24 +02: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
Matthew Clarke eb4c704674 kubernetes: deployment pod table (#2618)
* deployment pod table

* prettier manifest file

* pr feedback
2020-09-25 16:25:25 +01:00
Matthew Clarke b16e164815 K8s add cluster lookup (#2571)
* Kubernetes plugins boilerplate

* pr feedback; check for k8s annotation

* temp

* fix config

* add example local setup

* dice rolelr

* rever yarn lock update

* forgotten prettier

* prettier again

* master lock

* update lock with k8s deps

* prettier

* router tests

* internal error

* fix package.json

* PR feedback

* more pr feedback

* rename component file

* kubernetes fetcher tests

* fix test

* option constructor
2020-09-24 16:30:48 +01:00
blam f77e21ea8d chore(diff): updating plugin diff for new k8s plugin 2020-09-24 11:46:52 +02:00
blam 6c55d38348 v0.1.1-alpha.23 2020-09-23 16:40:49 +02:00
Matthew Clarke e3c99d72f1 Kubernetes plugins boilerplate (#2559)
* Kubernetes plugins boilerplate

* pr feedback; check for k8s annotation
2020-09-22 15:47:27 +01:00