Skip to content

Commit 436027e

Browse files
committed
fix: always migrate to http-route regardless of ingress-mode configuration
1 parent 5829655 commit 436027e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

migrations/ingress_to_httproute.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ func (m *ingressToHTTPRouteMigration) Run(ctx context.Context) error {
6666
gatewayName := fromctx.GatewayNameFromCtx(ctx)
6767
gatewayNamespace := fromctx.GatewayNamespaceFromCtx(ctx)
6868

69-
if gatewayName == "" || gatewayNamespace == "" {
70-
return nil
71-
}
72-
7369
labelSelector := fmt.Sprintf("%s=true", builder.AkashManagedLabelName)
7470

7571
ingresses, err := kc.NetworkingV1().Ingresses(metav1.NamespaceAll).List(ctx, metav1.ListOptions{

0 commit comments

Comments
 (0)