change FromString to Parse so TargetPort parses correctly
This commit is contained in:
parent
333a3ab4c2
commit
0799a538dc
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user