Marcus Eide
bc551b5f46
Use config schema inline instead
...
Signed-off-by: Marcus Eide <eide@spotify.com >
2021-05-07 15:39:39 +02:00
Marcus Eide
7ee8ad08fd
Fix tests
...
Signed-off-by: Marcus Eide <eide@spotify.com >
2021-05-07 15:25:25 +02:00
Marcus Eide
1abb1d1e7b
Add support for skipTLSVerify when using the GkeClusterLocator
...
Signed-off-by: Marcus Eide <eide@spotify.com >
2021-05-07 15:24:13 +02:00
Juan Lulkin
e6715553b3
kubernetes-backend: Use imports directly from common
...
Signed-off-by: Juan Lulkin <jmaiz@spotify.com >
2021-04-29 17:34:17 +02:00
Juan Lulkin
37dc8d6e9c
kubernetes-backend: Adds skipTLSVerify to ClusterDetails
...
Signed-off-by: Juan Lulkin <jmaiz@spotify.com >
2021-04-29 17:34:17 +02:00
Juan Lulkin
99930d194c
kubernetes-common: Exports types in a way that pleases the transpiler
...
Signed-off-by: Juan Lulkin <jmaiz@spotify.com >
2021-04-29 14:12:32 +02:00
Juan Lulkin
219313b29d
kubernetes-backend: Moves backend specific types back from common
...
Signed-off-by: Juan Lulkin <jmaiz@spotify.com >
2021-04-29 14:12:32 +02:00
Juan Lulkin
1cf63d00df
plugin-kubernetes-common: Moves packages/kuberntes-common to plugins as per ADR11
...
Signed-off-by: Juan Lulkin <jmaiz@spotify.com >
2021-04-29 14:12:32 +02:00
Juan Lulkin
1f790d756f
kubernetes-backend: Updates kube backend to reexport types from common
...
Signed-off-by: Juan Lulkin <jmaiz@spotify.com >
2021-04-29 14:07:43 +02:00
Travis Truman
b58eb099f7
Responding to review feedback
...
Signed-off-by: Travis Truman <trumant@gmail.com >
2021-04-16 08:44:04 -04:00
Travis Truman
67d5ad38c0
Merge branch 'master' into k8s-backend-skipTLSVerify-configurable
...
Signed-off-by: Travis Truman <trumant@gmail.com >
2021-04-15 09:30:05 -04:00
Oliver Sand
7fd46f26dc
Use string TypeScript type instead of String
...
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com >
2021-04-14 14:07:07 +02:00
Travis Truman
c42cd1daaf
Kubernetes client TLS verification is now configurable
...
Verification now defaults to true, where previously it defaulted to false
Signed-off-by: Travis Truman <trumant@gmail.com >
2021-04-13 12:56:52 -04:00
shoeb
81ea05c33c
updated entityname to get kuernetes-id from annotations or fallback
...
Signed-off-by: shoeb <shoebsd31@gmail.com >
2021-03-29 19:16:07 +02:00
shoeb
731759ac74
appended entity.metadata.name
...
Signed-off-by: shoeb <shoebsd31@gmail.com >
2021-03-29 19:16:07 +02:00
shoeb
bb714e9246
executed prettier
...
Signed-off-by: shoeb <shoebsd31@gmail.com >
2021-03-29 19:16:06 +02:00
shoeb
2267722ae1
#5051 entity name updated
...
Signed-off-by: shoeb <shoebsd31@gmail.com >
2021-03-29 19:16:06 +02:00
Jonah Back
e0ecfc5eeb
update error message to be the one sent from AWS sdk
...
Signed-off-by: Jonah Back <jonah@jonahback.com >
2021-03-25 22:12:59 -07:00
Jonah Back
60e463c8d4
improve credential loading for AWS IAM translator
...
Signed-off-by: Jonah Back <jonah@jonahback.com >
2021-03-24 22:12:07 -07:00
nliesenfeld
bb848ac5e8
Don't list the cluster if there are no resources deployed there
...
Signed-off-by: nliesenfeld <nliesenfeld@spotify.com >
2021-03-12 10:32:06 -05: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
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
Jonah Back
8d4f5ee0ac
Remove incorrect comment
2021-02-27 12:13:11 -08: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
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
Jonah Back
6811112282
feature: add aws iam auth translator for kubernetes
2021-01-23 16:00:18 -08:00
Adam Harvey
38545afbfa
Add Bad Request test
2021-01-14 10:30:55 -05:00
Adam Harvey
a1f587c861
Support HTTP 400 Bad Request
2021-01-14 01:01:37 -05:00
Patrik Oldsberg
1da7d2c657
plugins,packages: replace usages of ConfigReader.from
2020-12-15 19:04:50 +01:00
Moustafa Baiou
bcc211a081
refactor(k8s-plugin): update to use annotation based label selector
...
add changeset
2020-12-01 03:28:04 -05: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
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