Skip to content

Conversation

Zerpet
Copy link
Member

@Zerpet Zerpet commented Jan 3, 2025

Summary Of Changes

This move allows to remove tool dependencies from the main mod file.
This is beneficial to reduce false positives in security scanners, and
to differentiate between CVEs in the operator code or its dependencies,
vs CVEs in the dependencies of the tools used to build the operator.

By moving the tools module to internal, we ensure that nobody can import
the tools module. We had seen a few users importing this project as a Go
library, even tho we never intended this project to be used as a library
:)

Local Testing

N/A

This move allows to remove tool dependencies from the main mod file.
This is beneficial to reduce false positives in security scanners, and
to differentiate between CVEs in the operator code or its dependencies,
vs CVEs in the dependencies of the tools used to build the operator.

By moving the tools module to internal, we ensure that nobody can import
the tools module. We had seen a few users importing this project as a Go
library, even tho we never intended this project to be used as a library
:)
@Zerpet Zerpet added this to the 2.12.1 milestone Jan 3, 2025
@Zerpet Zerpet self-assigned this Jan 3, 2025
@Zerpet Zerpet requested a review from mkuratczyk January 3, 2025 17:29
@Zerpet Zerpet merged commit 37ab4d1 into main Jan 8, 2025
13 checks passed
@Zerpet Zerpet deleted the change-tools branch January 8, 2025 15:56
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