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

[BUG] modified controller_manager_config is not updated #927

Open
1 task
ashnamehrotra opened this issue Dec 12, 2023 · 0 comments
Open
1 task

[BUG] modified controller_manager_config is not updated #927

ashnamehrotra opened this issue Dec 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ashnamehrotra
Copy link
Contributor

Version of Eraser

No response

Expected Behavior

When we first get the controller_manager_config in main.go (https://github.com/eraser-dev/eraser/blob/main/main.go#L181), we get the unversioned and modified value of the configuration, but don't modify the actual file, which is what is mounted to the trivy scanner. This can create discrepancies between what is in the variable and the actual file. We do the same thing in the update function: https://github.com/eraser-dev/eraser/blob/main/api/unversioned/config/config.go#L50.

Actual Behavior

No response

Steps To Reproduce

No response

Are you willing to submit PRs to contribute to this bug fix?

  • Yes, I am willing to implement it.
@ashnamehrotra ashnamehrotra added the bug Something isn't working label Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant