From 520c34c0e2351d2008e6944e40aeb95d22abf895 Mon Sep 17 00:00:00 2001 From: Uri Ziv Date: Sun, 25 Aug 2024 16:58:47 +0300 Subject: [PATCH] trial --- console/console.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/console/console.go b/console/console.go index 333ff17..e1fba62 100644 --- a/console/console.go +++ b/console/console.go @@ -58,8 +58,8 @@ func GetService(port int, namespace string) *apiv1.Service { Spec: apiv1.ServiceSpec{ Ports: []apiv1.ServicePort{ {Protocol: "TCP", - TargetPort: intstr.IntOrString{IntVal: int32(uint32(port))}, - Port: int32(uint32(port)), + TargetPort: intstr.IntOrString{IntVal: int32(uint64(port))}, + Port: int32(uint64(port)), Name: "console-port", }, }, @@ -81,7 +81,7 @@ func GetConsolePluginCR(consolePort int, basePath string, serviceNamespace strin Service: consolev1alpha1.ConsolePluginService{ Name: "ibm-odf-console-service", Namespace: serviceNamespace, - Port: int32(uint32(consolePort)), + Port: int32(uint64(consolePort)), BasePath: basePath, }, },