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 gosec errors #3466

Merged
merged 1 commit into from
Sep 9, 2024
Merged

Fix gosec errors #3466

merged 1 commit into from
Sep 9, 2024

Conversation

zabanov-lab
Copy link
Contributor

Is there a related GitHub Issue?

No

What is this change about?

  • Use int32 for ports (Gateway API ports use that type)
  • Use int32 for timeouts, desired instances (pod healtcheck timeout is
    int32)
  • Use int64 for limits (k8s resources limits are int64

* Use `int32` for ports (Gateway API ports use that type)
* Use `int32` for timeouts, desired instances (pod healtcheck timeout is
  `int32`)
* Use `int64` for limits (k8s resources limits are `int64`

Thus we do not have to cast ints all over the place and fix gosec issues

Co-authored-by: Yusmen Zabanov <[email protected]>
@danail-branekov danail-branekov enabled auto-merge (rebase) September 9, 2024 10:11
@danail-branekov danail-branekov merged commit 12e6c64 into main Sep 9, 2024
11 checks passed
@danail-branekov danail-branekov deleted the fix-gosec-issues branch September 9, 2024 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants