Commit Graph

105 Commits

Author SHA1 Message Date
kim5566 8cd1d9033d add new googleServiceAccount authProvider
Signed-off-by: kim5566 <28945404+kim5566@users.noreply.github.com>
2022-01-20 13:55:52 +11:00
Patrik Oldsberg 59a9309536 remove usage of @ts-ignore
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-18 11:19:01 +01:00
Lorenzo Orsatti a67ec8527f make AWS session token optional
Signed-off-by: Lorenzo Orsatti <49567430+lorsatti@users.noreply.github.com>
2022-01-05 03:13:26 +01:00
Morgan Martinet 669e73b87b change dashboardParameters signature after code review
Signed-off-by: Morgan Martinet <morgan.martinet@montreal.ca>
2021-12-27 22:40:46 -05:00
Morgan Martinet 7ac0bd2c66 implement dashboard link formatter for GKE
Signed-off-by: Morgan Martinet <morgan.martinet@montreal.ca>
2021-12-27 00:43:43 -05:00
Matthew Clarke c010632f88 kubernetes-plugin: integrate with top method from kubernetes client library (#8248)
* kubernetes-plugin: integrate with top method from kubernetes client library

Signed-off-by: mclarke <mclarke@spotify.com>

* fix existing tests

Signed-off-by: mclarke <mclarke@spotify.com>

* prettier

Signed-off-by: mclarke <mclarke@spotify.com>

* add fetcher test

Signed-off-by: mclarke <mclarke@spotify.com>

* update api report

Signed-off-by: mclarke <mclarke@spotify.com>

* fix fe tests

Signed-off-by: mclarke <mclarke@spotify.com>

* fe tests

Signed-off-by: mclarke <mclarke@spotify.com>

* changeset

Signed-off-by: mclarke <mclarke@spotify.com>

* add skip metrics lookup flag

Signed-off-by: mclarke <mclarke@spotify.com>

* add skip metrics lookup to gke locator and docs

Signed-off-by: mclarke <mclarke@spotify.com>

* fix tests

Signed-off-by: mclarke <mclarke@spotify.com>

* minor change

Signed-off-by: mclarke <mclarke@spotify.com>

* missed prettier

Signed-off-by: mclarke <mclarke@spotify.com>

* missed file

Signed-off-by: mclarke <mclarke@spotify.com>

* more details to changeset

Signed-off-by: mclarke <mclarke@spotify.com>
2021-12-02 23:10:48 +00:00
Patrik Oldsberg 4d35309170 Merge pull request #8284 from ccodreanu/cronjobs_batchv1beta1
Request CronJobs with older apiGroup
2021-12-01 10:57:14 +01:00
Andrew Tran 4dab6ffaad update changeset, fix pr nits
Signed-off-by: Andrew Tran <atran@brex.com>
2021-11-30 16:04:39 -06:00
Catalin Codreanu f6087fc8f8 Request CronJobs with older apiGroup
Signed-off-by: Catalin Codreanu <catalin.codreanu@onegini.com>
2021-11-30 16:53:30 +01:00
Andrew Tran bb6c03001d api version overrides
Signed-off-by: Andrew Tran <atran@brex.com>
2021-11-29 09:49:16 -06:00
Andrew Tran 361aad1a0f add cronjobs and jobs to k8s backend
Signed-off-by: Andrew Tran <atran@brex.com>
2021-11-19 17:05:24 -06:00
Fredrik Adelöw afe864b872 get rid of config loading here too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-09 10:35:13 +01:00
Matthew Clarke b61c50a12f fix k8s crd regression (#7728)
Signed-off-by: mclarke47 <matthewclarke47@gmail.com>
2021-10-21 14:21:35 +01:00
Ben Lambert b45020a548 Merge pull request #7555 from dirathea/plugins-k8s-caData-support
Plugins k8s ca data support
2021-10-21 11:35:30 +02:00
Aldira Putra Raharja edf89c179e Add TODO on GKE to pass caData into the object
Signed-off-by: Aldira Putra Raharja <dira.thea@gmail.com>
2021-10-20 09:56:15 +07:00
Patrik Oldsberg 36e67d2f24 more strict error type checking in most packages and backend plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-17 15:09:05 +02:00
Morgan Martinet 5ac5afe7cc remove unused type KubernetesFactory
Signed-off-by: Morgan Martinet <morgan@mmm-experts.com>
2021-10-12 10:11:07 -04:00
Morgan Martinet a982e166c5 Enable customization of services used by the kubernetes backend plugin
Signed-off-by: Morgan Martinet <morgan@mmm-experts.com>
2021-10-12 00:59:04 -04:00
Aldira Putra Raharja bb8cea4a75 Add caData support for kubernetes config
Signed-off-by: Aldira Putra Raharja <dira.thea@gmail.com>
2021-10-11 21:51:01 +07:00
Matthew Clarke 89bcf90b66 refactor kubernetes fetcher (#7504)
* refactor kubernetes fetcher

Signed-off-by: mclarke47 <matthewclarke47@gmail.com>

* typo

Signed-off-by: mclarke47 <matthewclarke47@gmail.com>

* tsc errors

Signed-off-by: mclarke47 <matthewclarke47@gmail.com>

* Create unlucky-laws-doubt.md

Signed-off-by: mclarke47 <matthewclarke47@gmail.com>

* missed prettier

Signed-off-by: mclarke47 <matthewclarke47@gmail.com>

* api report

Signed-off-by: mclarke47 <matthewclarke47@gmail.com>

* fix tests

Signed-off-by: mclarke47 <matthewclarke47@gmail.com>
2021-10-11 15:38:37 +01:00
Fredrik Adelöw 0492cff964 Merge pull request #6782 from livetocode/feature/k8s-dashboard-links
provide access to the Kubernetes dashboard when viewing a specific resource
2021-09-20 14:17:30 +02:00
Patrik Oldsberg 8142a8ecb2 packages,plugins: add package documentation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-14 18:47:53 +02:00
Morgan Martinet a65206d5a4 minor changes after code review
Signed-off-by: Morgan Martinet <morgan.martinet@montreal.ca>
2021-09-05 20:02:07 -04:00
Morgan Martinet 06cc986113 fix documentation errors
Signed-off-by: Morgan Martinet <morgan.martinet@montreal.ca>
2021-08-29 19:32:22 -04:00
Morgan Martinet abf7c46404 refactor code in order to support multiple dashboard link formatters
Signed-off-by: Morgan Martinet <morgan.martinet@montreal.ca>
2021-08-29 19:07:34 -04:00
Morgan Martinet c80f53a4b5 minor refactorings after code review
Signed-off-by: Morgan Martinet <morgan@mmm-experts.com>
2021-08-26 09:50:38 -04:00
Morgan Martinet 891d2bec18 fix failing unit tests in kubernetes-backend
Signed-off-by: Morgan Martinet <morgan@mmm-experts.com>
2021-08-26 09:50:37 -04:00
Morgan Martinet 7a0c334707 feat(kubernetes): provide access to the Kubernetes dashboard when viewing a specific resource
Signed-off-by: Morgan Martinet <morgan@mmm-experts.com>
2021-08-26 09:50:37 -04:00
Brian Fletcher a8b41f32a3 fixes existing changes and adds 1 new test for k8
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-08-20 13:33:28 +01:00
Brian Fletcher 22fc579fe5 Retrieve the externalId from the config
My previous change to enable the external id, had missed the part
that actually reads the externalId from the config. This change
is the final piece, all going well.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-08-19 17:19:10 +01:00
Fredrik Adelöw 9a180af86e Merge pull request #6756 from backstage/dependabot/npm_and_yarn/prettier-2.3.2
chore(deps-dev): bump prettier from 2.2.1 to 2.3.2
2021-08-09 14:04:37 +02:00
Fredrik Adelöw 923491eece run prettier formatting
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-09 11:54:38 +02:00
Brian Fletcher b08ea0d2ec add ability to specify an external id for assumed role for k8
From the AWS documentation.

A cross-account role is usually set up to trust everyone in an account.
Therefore, the administrator of the trusting account might send an external
ID to the administrator of the trusted account. That way, only someone with
the ID can assume the role, rather than everyone in the account.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-08-06 17:34:48 +01:00
Miklos Kiss 7b46caff47 use object as params
Signed-off-by: Miklos Kiss <miklos.kiss@prezi.com>
2021-07-30 12:09:45 +02:00
Miklos Kiss 07410d1e9b make KubernetesFanOutHandler params an object
Signed-off-by: Miklos Kiss <miklos.kiss@prezi.com>
2021-07-28 16:00:54 +02:00
Miklos Kiss 638a376f53 use the correct prettier config
Signed-off-by: Miklos Kiss <miklos.kiss@prezi.com>
2021-07-23 10:03:30 +02:00
Miklos Kiss 8cf1918ad1 Make objectTypes configurable from app-config.yaml
Signed-off-by: Miklos Kiss <miklos.kiss@prezi.com>
2021-07-23 00:48:25 +02:00
Nicolas Arnold 7e84b1bd9f Making changes backwards compatible by keeping the ClusterDetails object as an accepted type.
Signed-off-by: Nicolas Arnold <nic@roadie.io>
2021-07-20 14:20:06 +01:00
Nicolas Arnold 65a4d89831 Refactoring the valid credentials method
Signed-off-by: Nicolas Arnold <nic@roadie.io>
2021-07-20 09:15:03 +01:00
Nicolas Arnold 76fbdbc322 Modifying changesets and explicitly returning a promise for the AWS Creds
This changes modifies the changeset to only include a patch (as per comments above).

I have also changed the flow of retrieving the AWS creds. Previously, they were being returned after they were "resolved".
Now we await and resolve a promise to guarantee that the credentials have been loaded.

Signed-off-by: Nicolas Arnold <nic@roadie.io>
2021-07-19 18:07:06 +01:00
Nicolas Arnold ec98274a7e Creating a Cluster details object per k8s provider
Signed-off-by: Nicolas Arnold <nic@roadie.io>
2021-07-19 15:17:25 +01:00
Nicolas Arnold 6d59d17a7f Add functionality to the kubernetes plugin that allows users to assume role
This change adds a new field to the kubernetes plugin configuration that allows a user to configure an assumed role so that they can access other kubernetes cluster.

Signed-off-by: Nicolas Arnold <nic@roadie.io>
2021-07-19 15:17:25 +01:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
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