mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-04-25 02:30:49 +00:00
change FromString to Parse so TargetPort parses correctly
This commit is contained in:
@@ -385,7 +385,7 @@ func (c *impersonatorConfigController) ensureLoadBalancerIsStarted(ctx context.C
|
||||
Type: v1.ServiceTypeLoadBalancer,
|
||||
Ports: []v1.ServicePort{
|
||||
{
|
||||
TargetPort: intstr.FromString(impersonationProxyPort),
|
||||
TargetPort: intstr.Parse(impersonationProxyPort),
|
||||
Port: defaultHTTPSPort,
|
||||
Protocol: v1.ProtocolTCP,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user