FailedChanges

Summary

  1. “oc expose svc” should use service targetPort number (commit: 51581f2) (details)
Commit 51581f2228f567a7f6eaabd2dd0e0107f70094af by pcameron
“oc expose svc” should use service targetPort number
The upstream generator in 'oc expose' creates the route.TargetPort when
no port is set. It incorrectly selects the service.Port instead of the
needed service TargetPort. This change forces a port to be set before
invoking the upstream generator.
bug 1431781 https://bugzilla.redhat.com/show_bug.cgi?id=1431781
Signed-off-by: Phil Cameron <pcameron@redhat.com>
(commit: 51581f2)
The file was modifiedpkg/cmd/cli/cmd/create/route.go (diff)
The file was modifiedtest/cmd/basicresources.sh (diff)
The file was modifiedpkg/cmd/cli/cmd/expose.go (diff)
The file was modifiedpkg/cmd/util/route.go (diff)