Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: restore Gateway API generation (issue #1427). #1431

Merged
merged 8 commits into from
Dec 13, 2024
Prev Previous commit
Next Next commit
fix: remove nolint directive for service port assignment in createIng…
…ressPaths
battlebyte committed Dec 13, 2024
commit 4255dc859111db4acf3c3c596d9fffc49dd5476a
2 changes: 1 addition & 1 deletion kong2kic/route.go
Original file line number Diff line number Diff line change
@@ -107,7 +107,7 @@ func createIngressPaths(
if *servicePort > 65535 || *servicePort < 0 {
log.Fatalf("Port %d is not within the valid range. Please provide a port between 0 and 65535.\n", *servicePort)
}
backend.Service.Port.Number = int32(*servicePort) //nolint:gosec
backend.Service.Port.Number = int32(*servicePort)
}
paths = append(paths, k8snetv1.HTTPIngressPath{
Path: sCopy,