Commit Graph

19 Commits

Author SHA1 Message Date
Patrik Oldsberg 5ff5b1325d Merge pull request #2739 from Marvin9/feat/flexible-theme-for-page
feat: theme customization for pages
2020-10-16 12:47:05 +02:00
Marvin9 8f0608a5ed chore: refactor 2020-10-15 09:16:39 +05:30
blam 46960a61ec v0.1.1-alpha.25 2020-10-12 22:42:54 +02:00
Marvin9 6e3ba7c2c4 chore: resolve conflicts 2020-10-11 19:19:35 +05:30
Marvin9 6d68f6fec1 feat: consume theme provided by Page theme provider 2020-10-11 19:14:23 +05:30
Stefan Ålund 8d666e43bd Use MissingAnnotationEmptyState for plugins (#2824) 2020-10-09 15:11:15 +02:00
mclarke47 99b26cff87 show response status code from k8s API in UI 2020-10-08 10:26:09 +01: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
Marvin9 e2564645e5 feat: Replace old page theme props with new ones 2020-10-04 18:03:50 +05:30
Matthew Clarke 44e18975bd add better error handling (#2664) 2020-09-30 16:07:30 +01:00
Matthew Clarke d66c6a7dcb k8s add hpa and ingresses UI (#2640)
* k8s add hpa and ingresses UI

* add todo
2020-09-28 19:32:35 +01:00
Matthew Clarke 2fbca83156 Add initial kubernetes services and configmap UI support (#2635)
* add initial kubernetes services and configmap support

* revert accidental change

* missed revert

* prettier
2020-09-28 14:16:41 +01: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