mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
eslint
This commit is contained in:
@@ -12,7 +12,7 @@ export default async function listHttpRoute() {
|
||||
const { gateway } = getKubernetes();
|
||||
let httpRouteList = [];
|
||||
|
||||
if (!!gateway) {
|
||||
if (!gateway) {
|
||||
// httproutes
|
||||
const getHttpRoute = async (namespace) =>
|
||||
crd
|
||||
|
||||
@@ -11,7 +11,7 @@ export default async function listIngress() {
|
||||
const { ingress } = getKubernetes();
|
||||
let ingressList = [];
|
||||
|
||||
if (!!ingress) {
|
||||
if (!ingress) {
|
||||
const ingressData = await networking
|
||||
.listIngressForAllNamespaces(null, null, null, null)
|
||||
.then((response) => response.body)
|
||||
|
||||
@@ -10,7 +10,7 @@ export default async function listTraefikIngress() {
|
||||
const { traefik } = getKubernetes();
|
||||
const traefikList = [];
|
||||
|
||||
if (!!traefik) {
|
||||
if (!traefik) {
|
||||
const crd = kc.makeApiClient(CustomObjectsApi);
|
||||
const traefikContainoExists = await checkCRD("ingressroutes.traefik.containo.us", kc, logger);
|
||||
const traefikExists = await checkCRD("ingressroutes.traefik.io", kc, logger);
|
||||
|
||||
Reference in New Issue
Block a user