upgrade to istio 1.19 (#1211)

Co-authored-by: CH3CHO <ch3cho@qq.com>
Co-authored-by: rinfx <893383980@qq.com>
This commit is contained in:
澄潭
2024-08-26 09:51:47 +08:00
committed by GitHub
parent a2c2d1d521
commit f7a419770d
401 changed files with 21171 additions and 7255 deletions

View File

@@ -622,7 +622,7 @@ func (w *watcher) DubboChildToServiceEntry(serviceEntry map[string]InterfaceConf
}
func (w *watcher) generateServiceEntry(config InterfaceConfig) *v1alpha3.ServiceEntry {
portList := make([]*v1alpha3.Port, 0)
portList := make([]*v1alpha3.ServicePort, 0)
endpoints := make([]*v1alpha3.WorkloadEntry, 0)
for _, service := range config.Endpoints {
@@ -631,7 +631,7 @@ func (w *watcher) generateServiceEntry(config InterfaceConfig) *v1alpha3.Service
protocol = common.ParseProtocol(service.Metadata[PROTOCOL])
}
portNumber, _ := strconv.Atoi(service.Port)
port := &v1alpha3.Port{
port := &v1alpha3.ServicePort{
Name: protocol.String(),
Number: uint32(portNumber),
Protocol: protocol.String(),