Commit Graph

9035 Commits

Author SHA1 Message Date
Fredrik Adelöw a370706a18 Merge pull request #9045 from kim5566/k8s/use-default-kubeconfig
Kubernetes plugin:  Loading default Kube configuration
2022-01-20 13:40:19 +01:00
github-actions[bot] 8b18d054f3 Version Packages 2022-01-20 10:33:31 +00:00
Fredrik Adelöw 4918be78b0 Merge pull request #8769 from backstage/freben/techdocs-clients
Some more usage of the `FetchApi`
2022-01-20 11:25:56 +01:00
Patrik Oldsberg 0577f29a13 Merge pull request #8931 from backstage/rugvip/entityrr
catalog-react: deprecate catalogRouteRef and deduplicate entityRouteRef
2022-01-20 11:11:21 +01:00
Fredrik Adelöw 6be95e308f Merge pull request #9048 from backstage/revert-8987-dependabot/npm_and_yarn/helmet-5.0.1
Revert "build(deps): bump helmet from 4.4.1 to 5.0.1"
2022-01-20 11:00:39 +01:00
Patrik Oldsberg 1fb1555145 Merge pull request #9043 from backstage/rugvip/full-refal-panic
auth-backend: make sure userEntityRef is always a full entity ref
2022-01-20 11:00:18 +01:00
Fredrik Adelöw fb565073ec implement injectIdentityAuth
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-20 10:25:22 +01:00
Fredrik Adelöw 19ea047412 use a one-argument constructor instead of setters
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-20 10:25:22 +01:00
Fredrik Adelöw 6bf7826258 add and use MockFetchApi
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-20 10:25:20 +01:00
Fredrik Adelöw aecfe4f403 same for the scaffolder
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-20 10:23:39 +01:00
Fredrik Adelöw 88a0a4ee6a Make the techdocs APIs use the FetchApi
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-20 10:23:39 +01:00
Fredrik Adelöw 795e13be49 Merge pull request #8972 from backstage/catalog-permission-integration/unregister-entity
Disable unregister entity button in catalog if unauthorized
2022-01-20 10:23:15 +01:00
Fredrik Adelöw 72c51e8483 Merge pull request #9046 from kim5566/k8s/google-service-account-authprovider
Kubernetes plugin: Add a Google Service Account auth provider
2022-01-20 10:17:15 +01:00
Fredrik Adelöw a8e6265109 Revert "build(deps): bump helmet from 4.4.1 to 5.0.1"
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-20 10:02:55 +01:00
Patrik Oldsberg f8496730ab auth-backend: make sure userEntityRef is always a full entity ref
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-20 10:01:34 +01:00
Ben Lambert 452afde031 Merge pull request #9038 from backstage/blam/scaffolder-secrets
scaffolder: Support supplying secrets at Task Creation
2022-01-20 09:28:37 +01:00
Fredrik Adelöw 444175b7a4 Merge pull request #8987 from backstage/dependabot/npm_and_yarn/helmet-5.0.1
build(deps): bump helmet from 4.4.1 to 5.0.1
2022-01-20 09:13:35 +01:00
blam 7e76e7dc12 chore: adjusting the types a little bit and regenerating api-docs
Signed-off-by: blam <ben@blam.sh>
2022-01-20 09:02:46 +01:00
kim5566 8cd1d9033d add new googleServiceAccount authProvider
Signed-off-by: kim5566 <28945404+kim5566@users.noreply.github.com>
2022-01-20 13:55:52 +11:00
kim5566 120c133e3b if serviceAccountToken not provided use default
Signed-off-by: kim5566 <28945404+kim5566@users.noreply.github.com>
2022-01-20 09:45:09 +11:00
blam 783c435e46 api-docs: regenerate reports for scaffolder and changes
Signed-off-by: blam <ben@blam.sh>
2022-01-19 18:38:10 +01:00
blam 8181b34c89 chore: set the secrets type as TaskSecrets
Signed-off-by: blam <ben@blam.sh>
2022-01-19 18:20:19 +01:00
blam 2d4ef2b78e chore: secrets are removed when claiming the task
Signed-off-by: blam <ben@blam.sh>
2022-01-19 18:13:32 +01:00
Fredrik Adelöw ce5edcbc05 Merge pull request #8973 from benlangfeld/patch-2
Bump @asyncapi/react-component for CVE
2022-01-19 18:07:03 +01:00
blam 128a489ba0 chore: delete the secrets when claiming the task so we don't store anything locally
Signed-off-by: blam <ben@blam.sh>
2022-01-19 17:18:30 +01:00
blam d19c88a9e4 chore: moving the catalog register to use backstageToken instead from the secrets
Signed-off-by: blam <ben@blam.sh>
2022-01-19 17:13:59 +01:00
blam f999b4063a chore: deprecating the token that's passed through to the context and using ctx.secrets.backstageToken instead
Signed-off-by: blam <ben@blam.sh>
2022-01-19 17:11:45 +01:00
blam c3a28a46fc chore: deprecating the token field and renaming to backstageToken as token is far too generic
Signed-off-by: blam <ben@blam.sh>
2022-01-19 16:43:45 +01:00
blam 8100abfde2 feat: adding the option to pass secrets from the frontend from the ScaffolderApiClient
Signed-off-by: blam <ben@blam.sh>
2022-01-19 16:43:12 +01:00
Patrik Oldsberg 3d87019269 catalog-react: route ref deprecations + deduplication and docs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-19 16:37:08 +01:00
Patrik Oldsberg 8a6950b822 bazaar: stop using catalogRouteRef
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-19 16:37:08 +01:00
Patrik Oldsberg 1285c2fe60 org: switched catalog index route to use an external route ref
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-19 16:37:07 +01:00
Ben Langfeld 0c0d8a47e7 Bump @asyncapi/react-component for CVE
[CVE-2022-21680](https://github.com/advisories/GHSA-rrrm-qjm4-v8hf) and [CVE-2022-21681](https://github.com/advisories/GHSA-5v2h-r2cx-5xgj)

See https://github.com/asyncapi/asyncapi-react/pull/522

Signed-off-by: Ben Langfeld <blangfeld@powerhrg.com>
2022-01-19 12:30:51 -03:00
elonj 8143d941b8 ids will be name
Signed-off-by: elonj <elonj@spotify.com>
2022-01-19 10:04:51 -05:00
elonj b7c1bb21ad fixed GithubAuth tests
Signed-off-by: elonj <elonj@spotify.com>
2022-01-19 10:04:41 -05:00
elonj d0ad9ebe22 auth providers will return entity ref as "sub" value
Signed-off-by: elonj <elonj@spotify.com>
2022-01-19 10:04:18 -05:00
Joon Park 6ba478138d Refactor useEntityPermission
Signed-off-by: Joon Park <joonp@spotify.com>
2022-01-19 14:37:21 +00:00
Fredrik Adelöw 835b2da52a Merge pull request #8967 from djamaile/master
chore(catalog): export RelatedEntitiesCard component
2022-01-19 14:59:57 +01:00
Fredrik Adelöw 3a5eba9464 fixup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-19 14:06:29 +01:00
Ben Lambert 2e903d91af Merge pull request #9025 from backstage/blam/fix-todo-plugin-readme
todos: fix typo in README.md
2022-01-19 12:53:47 +01:00
djamaile 440c534dd8 chore: change exported component name
Signed-off-by: djamaile <rdjamaile@gmail.com>
2022-01-19 12:34:15 +01:00
Fredrik Adelöw 94c0026640 Merge pull request #9022 from mufaddal7/fix/newrelic-dashboard
Fix/newrelic dashboard
2022-01-19 12:12:49 +01:00
Fredrik Adelöw 99f675b5aa Merge pull request #8995 from backstage/dependabot/npm_and_yarn/google-cloud/firestore-5.0.2
build(deps): bump @google-cloud/firestore from 4.15.1 to 5.0.2
2022-01-19 12:10:25 +01:00
Fredrik Adelöw cc33f8d8cb Merge pull request #8782 from akz08/reroute-register-api
Reroute register api
2022-01-19 11:39:37 +01:00
blam 4d6b58d5b6 fix: readme typo
Signed-off-by: blam <ben@blam.sh>
2022-01-19 11:39:26 +01:00
Eric Peterson 1f65b3752e Merge pull request #9001 from backstage/validate-search-query-string
search-backend: validate query string
2022-01-19 10:10:49 +01:00
Fredrik Adelöw 5754f2d200 Merge pull request #8455 from Sarabadu/master
[RFC] LayoutProvider and focusContent
2022-01-19 09:32:16 +01:00
mufaddal motiwala 69883ebcc0 render single page dashboards
Signed-off-by: mufaddal motiwala <mufaddalmm.52@gmail.com>
2022-01-19 12:50:30 +05:30
Kamil Zainal 027bc50cc5 Rename registerComponent to registerApi to better communicate intent
Signed-off-by: Kamil Zainal <gh@akza.dev>
2022-01-18 18:12:36 +00:00
Patrik Oldsberg a724d38208 Merge pull request #9000 from backstage/rugvip/noignore
remove usage of @ts-ignore
2022-01-18 18:46:28 +01:00