Skip to content

Commit

Permalink
fix: create svc not selector (#2112)
Browse files Browse the repository at this point in the history
Signed-off-by: 张启航 <[email protected]>
  • Loading branch information
ZhangSetSail authored Dec 21, 2024
1 parent bbc505a commit 1f309f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions worker/appm/conversion/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,9 @@ func (a *AppServiceBuild) generateOuterDomain(as *v1.AppService, port *model.Ten
},
},
Type: corev1.ServiceTypeNodePort,
Selector: map[string]string{
"service_alias": as.ServiceAlias,
},
}
outerSVC = &corev1.Service{
ObjectMeta: metav1.ObjectMeta{
Expand Down

0 comments on commit 1f309f2

Please sign in to comment.