Skip to content

Commit

Permalink
Fix k8s traefikingresslist detection (#2030)
Browse files Browse the repository at this point in the history
  • Loading branch information
shamoon authored Sep 19, 2023
1 parent 7d2bfa2 commit d4a3929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/config/service-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d4a3929

Please sign in to comment.