kubemod / kubemod

Universal Kubernetes mutating operator
BSD 3-Clause "New" or "Revised" License
268 stars 14 forks source link

Better log messages #114

Open runningman84 opened 1 year ago

runningman84 commented 1 year ago

Debugging kubemod rules is difficult beause it does not tell which mod rules matched and which mod rules caused a patch.

Maybe you could add a log message like

Applying ModRule patch modrulenamespace/modrulename instead of the generic message.

vassilvk commented 1 year ago

This might make the logs quite chatty. My bigger-picture plans were to implement a KubeMod CLI for the purposes of developing/debugging KubeMod rules. Please see #97.