Skip to content

Commit

Permalink
Disable logger development mode to avoid panicking (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssyno authored Oct 22, 2024
1 parent 1daef31 commit e0f200f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added the `policymanifest_controller`.
- Added the `policymanifest_controller`.

### Changed

- Disabled logger development mode to avoid panicking
- Changed the functions in `utils.go`
- Changed the `policyexception_controller` and `clusterpolicy_controller` to use `policy_api`.
- Disable PSPs and CRD install job.
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func main() {
"Enable leader election for controller manager. "+
"Enabling this will ensure there is only one active controller manager.")
opts := zap.Options{
Development: true,
Development: false,
}
flag.BoolVar(&backgroundMode, "background-mode", false,
"Enable PolicyException background mode. If true, failing resources have a status of 'skip' in reports, instead of 'fail'. Defaults to false.",
Expand Down

0 comments on commit e0f200f

Please sign in to comment.