Closed yevgeny-shnaidman closed 5 months ago
/assign @marquiz
Should we drop
pkg/utils/utils.go
file?
We will do it in the same PR for all the irrelevant directories (pkg, controllers, build/assets)
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: marquiz, yevgeny-shnaidman
The full list of commands accepted by this bot can be found here.
The pull request process is described here
pkg utils is used for solely for getting the WATCH_NAMESPACE env variable . We don't need a separate public package just for that functionality. Moving the function into the main. In addition, since WATCH_NAMESPACEmust be set in the deployment, the operator will fail in case the variable is not defined, instead of just logging a warrning