eraser icon indicating copy to clipboard operation
eraser copied to clipboard

[BUG] modified controller_manager_config is not updated

Open ashnamehrotra opened this issue 1 year ago • 0 comments

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 avatar Dec 12 '23 17:12 ashnamehrotra