mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-05 21:47:48 +01:00
Update service-helpers.js
This commit is contained in:
@@ -189,7 +189,7 @@ export async function servicesFromKubernetes() {
|
|||||||
|
|
||||||
const traefikIngressListContaino = await crd
|
const traefikIngressListContaino = await crd
|
||||||
.listClusterCustomObject("traefik.containo.us", "v1alpha1", "ingressroutes")
|
.listClusterCustomObject("traefik.containo.us", "v1alpha1", "ingressroutes")
|
||||||
.then((response) => response.body ?? [])
|
.then((response) => response.body)
|
||||||
.catch(async (error) => {
|
.catch(async (error) => {
|
||||||
if (traefikContainoExists) {
|
if (traefikContainoExists) {
|
||||||
logger.error(
|
logger.error(
|
||||||
@@ -205,7 +205,7 @@ export async function servicesFromKubernetes() {
|
|||||||
|
|
||||||
const traefikIngressListIo = await crd
|
const traefikIngressListIo = await crd
|
||||||
.listClusterCustomObject("traefik.io", "v1alpha1", "ingressroutes")
|
.listClusterCustomObject("traefik.io", "v1alpha1", "ingressroutes")
|
||||||
.then((response) => response.body ?? [])
|
.then((response) => response.body)
|
||||||
.catch(async (error) => {
|
.catch(async (error) => {
|
||||||
if (traefikExists) {
|
if (traefikExists) {
|
||||||
logger.error(
|
logger.error(
|
||||||
|
|||||||
Reference in New Issue
Block a user