mirror of
				https://github.com/kubernetes-sigs/external-dns.git
				synced 2025-10-30 18:20:59 +01:00 
			
		
		
		
	Fix ingress spec in given examples
### Description A previous PR (#1978) updated the ingress API version but the spec needed an update as well. I tested this locally by applying the yaml with a valid DNS hostname. ### Checklist - [ ] Unit tests updated - [x] End user documentation updated
This commit is contained in:
		
							parent
							
								
									ab7a96595a
								
							
						
					
					
						commit
						03ee303979
					
				| @ -88,9 +88,11 @@ spec: | ||||
|     http: &echoserver_root | ||||
|       paths: | ||||
|       - backend: | ||||
|           serviceName: echoserver | ||||
|           servicePort: 80 | ||||
|         path: / | ||||
|           service: | ||||
|             name: echoserver | ||||
|             port: | ||||
|               number: 80 | ||||
|         pathType: ImplementationSpecific | ||||
|   - host: echoserver.example.org | ||||
|     http: *echoserver_root | ||||
| ``` | ||||
| @ -123,9 +125,11 @@ spec: | ||||
|   - http: | ||||
|       paths: | ||||
|       - backend: | ||||
|           serviceName: echoserver | ||||
|           servicePort: 80 | ||||
|         path: / | ||||
|           service: | ||||
|             name: echoserver | ||||
|             port: | ||||
|               number: 80 | ||||
|         pathType: ImplementationSpecific | ||||
| ``` | ||||
| 
 | ||||
| In the above example we create a default path that works for any hostname, and | ||||
| @ -159,9 +163,11 @@ spec: | ||||
|     http: | ||||
|       paths: | ||||
|       - backend: | ||||
|           serviceName: echoserver | ||||
|           servicePort: 80 | ||||
|         path: / | ||||
|           service: | ||||
|             name: echoserver | ||||
|             port: | ||||
|               number: 80 | ||||
|         pathType: ImplementationSpecific | ||||
| ``` | ||||
| 
 | ||||
| The above Ingress object will result in the creation of an ALB with a dualstack | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user