mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 22:28:48 +00:00
Fix k8s traefikingresslist detection (#2030)
This commit is contained in:
parent
7d2bfa2d84
commit
d4a39299c5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue