Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentluce committed Sep 10, 2024
1 parent d7f1c98 commit 7c8c177
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kontrol-service/engine/flow/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,8 @@ func getGateway(ingresses []*resolved.Ingress, namespace string) *istioclient.Ga

// We need to return a gateway as part of the cluster resources so we return a dummy one
// if there are no ingresses defined. This can happen when the tenant does not have a base
// cluster topology: no initial deploy or the topologies have been deleted.
// cluster topology: no initial deploy or the topologies have been deleted. This gateway allows
// us to communicate the namespace to the kardinal manager helping the resources to be cleaned up.
ingressId := "dummy"
if len(ingresses) > 0 {
ingressId = ingresses[0].IngressID
Expand Down

0 comments on commit 7c8c177

Please sign in to comment.