This commit is contained in:
shamoon
2025-02-11 06:50:44 -08:00
parent f075317eff
commit d0f7520a3d
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ export default async function listHttpRoute() {
const { gateway } = getKubernetes();
let httpRouteList = [];
if (!!gateway) {
if (!gateway) {
// httproutes
const getHttpRoute = async (namespace) =>
crd

View File

@@ -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)

View File

@@ -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);