Commit 0688746
authored
fix(k8s): correct Gateway API configuration for Traefik (#48)
- Enable kubernetesGateway provider in Traefik configuration
- Update Gateway to use 'traefik' GatewayClass (auto-created by Traefik)
- Use correct entryPoint ports (8000 for HTTP, 8443 for HTTPS)
- Remove custom GatewayClass (Traefik creates its own)
The Gateway API now works correctly with the K3s development environment.
Test with: curl -H "Host: test-app.localhost" http://localhost:8080
Co-authored-by: rafaelrsantosti <11065120+rafaelrsantosti@users.noreply.github.com>1 parent c7c22bb commit 0688746
2 files changed
Lines changed: 7 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 2 | | |
10 | 3 | | |
11 | 4 | | |
12 | 5 | | |
13 | 6 | | |
14 | | - | |
| 7 | + | |
15 | 8 | | |
16 | | - | |
| 9 | + | |
17 | 10 | | |
18 | | - | |
| 11 | + | |
19 | 12 | | |
20 | 13 | | |
21 | 14 | | |
22 | | - | |
| 15 | + | |
23 | 16 | | |
24 | | - | |
| 17 | + | |
25 | 18 | | |
26 | 19 | | |
27 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
0 commit comments