mirror of
				https://github.com/karl0ss/homepage.git
				synced 2025-11-04 00:10:57 +00:00 
			
		
		
		
	Change: re-enable k8s ingress by default (#4988)
This commit is contained in:
		
							parent
							
								
									564dfb7ce3
								
							
						
					
					
						commit
						95507aab54
					
				@ -25,13 +25,13 @@ To configure Kubernetes gateway-api, ingress or ingressRoute service discovery,
 | 
			
		||||
Example settings:
 | 
			
		||||
 | 
			
		||||
```yaml
 | 
			
		||||
ingress: true # enable ingress only
 | 
			
		||||
ingress: true # default, enable ingress only
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
or
 | 
			
		||||
 | 
			
		||||
```yaml
 | 
			
		||||
ingress: true # enable ingress
 | 
			
		||||
ingress: true # default, enable ingress
 | 
			
		||||
traefik: true # enable traefik ingressRoute
 | 
			
		||||
gateway: true # enable gateway-api
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
@ -43,7 +43,6 @@ config:
 | 
			
		||||
        target: _blank
 | 
			
		||||
  kubernetes:
 | 
			
		||||
    mode: cluster
 | 
			
		||||
    ingress: true
 | 
			
		||||
  docker:
 | 
			
		||||
  settings:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -8,7 +8,7 @@ const kc = getKubeConfig();
 | 
			
		||||
 | 
			
		||||
export default async function listIngress() {
 | 
			
		||||
  const networking = kc.makeApiClient(NetworkingV1Api);
 | 
			
		||||
  const { ingress } = getKubernetes();
 | 
			
		||||
  const { ingress = true } = getKubernetes();
 | 
			
		||||
  let ingressList = [];
 | 
			
		||||
 | 
			
		||||
  if (ingress) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user