Kubernetes: add option to fetch additional objectTypes which are not present in DEFAULT_OBJECTS (#28150)

* Fixed lack of secrets

Signed-off-by: Florian Fl Bauer <florian.fl.bauer@deutschebahn.com>

* add tests

Signed-off-by: Florian Fl Bauer <florian.fl.bauer@deutschebahn.com>

* remove log

Signed-off-by: Florian Fl Bauer <florian.fl.bauer@deutschebahn.com>

---------

Signed-off-by: Florian Fl Bauer <florian.fl.bauer@deutschebahn.com>
This commit is contained in:
Florian Bauer
2025-01-17 14:15:39 +01:00
committed by GitHub
parent a5cd0a268f
commit ac0e1acf78
9 changed files with 130 additions and 10 deletions
+2 -1
View File
@@ -186,7 +186,8 @@ export type KubernetesObjectTypes =
| 'ingresses'
| 'customresources'
| 'statefulsets'
| 'daemonsets';
| 'daemonsets'
| 'secrets';
// If updating this list, also make sure to update
// `objectTypes` and `apiVersionOverrides` in config.d.ts on @backstage/plugin-kubernetes-backend!