mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 13:42:02 +00:00
Rename Service.ContainerPort to TargetPort in v1b3
Fix all callers and examples. Part of multi-port service cleanup.
This commit is contained in:
@@ -307,8 +307,8 @@ var _ = Describe("Pods", func() {
|
||||
},
|
||||
},
|
||||
Spec: api.ServiceSpec{
|
||||
Port: 8765,
|
||||
ContainerPort: util.NewIntOrStringFromInt(8080),
|
||||
Port: 8765,
|
||||
TargetPort: util.NewIntOrStringFromInt(8080),
|
||||
Selector: map[string]string{
|
||||
"name": serverName,
|
||||
},
|
||||
|
Reference in New Issue
Block a user