Fix k8s traefikingresslist detection (#2030)

pull/2032/head v0.6.35
shamoon 1 year ago committed by GitHub
parent 7d2bfa2d84
commit d4a39299c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -222,7 +222,7 @@ export async function servicesFromKubernetes() {
const traefikIngressList = [...traefikIngressListContaino?.items ?? [], ...traefikIngressListIo?.items ?? []];
if (traefikIngressList.length > 0) {
const traefikServices = traefikIngressList.items.filter(
const traefikServices = traefikIngressList.filter(
(ingress) => ingress.metadata.annotations && ingress.metadata.annotations[`${ANNOTATION_BASE}/href`]
);
ingressList.items.push(...traefikServices);

Loading…
Cancel
Save