no longer including linkerd ports.

This commit is contained in:
Erik Brakkee 2025-01-25 12:04:35 +01:00
parent 108f21ea58
commit 56398027b7

View File

@ -115,6 +115,9 @@ func (c *Cluster) PortNumbers(application *Application) []Port {
udpPorts := make(map[int]Port)
for _, pod := range c.Pods(application) {
for _, container := range pod.Spec.Containers {
if container.Name == "linkerd-proxy" {
continue
}
for _, port := range container.Ports {
switch port.Protocol {
case "TCP":