Change: re-enable k8s ingress by default (#4988)

This commit is contained in:
shamoon 2025-03-16 02:35:43 -07:00 committed by GitHub
parent 564dfb7ce3
commit 95507aab54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View File

@ -25,13 +25,13 @@ To configure Kubernetes gateway-api, ingress or ingressRoute service discovery,
Example settings: Example settings:
```yaml ```yaml
ingress: true # enable ingress only ingress: true # default, enable ingress only
``` ```
or or
```yaml ```yaml
ingress: true # enable ingress ingress: true # default, enable ingress
traefik: true # enable traefik ingressRoute traefik: true # enable traefik ingressRoute
gateway: true # enable gateway-api gateway: true # enable gateway-api
``` ```

View File

@ -43,7 +43,6 @@ config:
target: _blank target: _blank
kubernetes: kubernetes:
mode: cluster mode: cluster
ingress: true
docker: docker:
settings: settings:

View File

@ -8,7 +8,7 @@ const kc = getKubeConfig();
export default async function listIngress() { export default async function listIngress() {
const networking = kc.makeApiClient(NetworkingV1Api); const networking = kc.makeApiClient(NetworkingV1Api);
const { ingress } = getKubernetes(); const { ingress = true } = getKubernetes();
let ingressList = []; let ingressList = [];
if (ingress) { if (ingress) {