Skip to content

Commit

Permalink
fix(proxy): specify scope/namespace for proxy (#586)
Browse files Browse the repository at this point in the history
Signed-off-by: Smuu <18609909+Smuu@users.noreply.github.com>
  • Loading branch information
smuu authored Dec 3, 2024
1 parent 5a224ad commit ad86999
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkg/traefik/traefik.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,13 +324,15 @@ func (t *Traefik) createIngressRoute(
"kind": "Rule",
"services": []interface{}{
map[string]interface{}{
"name": serviceName,
"port": port,
"name": serviceName,
"namespace": t.K8sClient.Namespace(),
"port": port,
},
},
"middlewares": []interface{}{
map[string]interface{}{
"name": middlewareName,
"name": middlewareName,
"namespace": t.K8sClient.Namespace(),
},
},
},
Expand Down

0 comments on commit ad86999

Please sign in to comment.