scc-operator/pkg/controllers
Dan P. 66f321dc77
Implement new Config system (#50)
* Add new config tooling

* Adopt new Env/Flag/ConfigMap based config system across operator

- CI flag is intentionally mapped to "override" without that in the flag

* Split up Cattle/Rancher DevMode and SCC Operator's DevMode

* Make fatal config init more obvious

* fix linter

* Add more rancher-bias TODOs

* Update internal/config/resolver.go

Co-authored-by: Samuel Vasconcelos <samuel.vasconcelos@suse.com>

* add SetConfigMapData to resolver to make things more testable

* Correct wip version of flag logic and fix flag value bug

* refactor: adjust Option to use default from initial creation and remove from getter

---------

Co-authored-by: Samuel Vasconcelos <samuel.vasconcelos@suse.com>
2025-10-21 11:05:59 -04:00
..
helpers
shared
controller.go Implement new Config system (#50) 2025-10-21 11:05:59 -04:00
dispatcher.go
indexer.go
offline.go
online.go
reconcilers.go
repos.go
resolver.go Implement new Config system (#50) 2025-10-21 11:05:59 -04:00
resources.go Implement new Config system (#50) 2025-10-21 11:05:59 -04:00
resources_test.go
util.go