diff --git a/src/utils/kubernetes/httproute-list.js b/src/utils/kubernetes/httproute-list.js index 4518462c7..fabe22f88 100644 --- a/src/utils/kubernetes/httproute-list.js +++ b/src/utils/kubernetes/httproute-list.js @@ -14,7 +14,7 @@ export default async function listHttpRoute() { const { gateway } = getKubernetes(); let httpRouteList = []; - if (gateway === true) { + if (!!gateway) { // httproutes const getHttpRoute = async (namespace) => crd