kedacore / keda-olm-operator

Operator for deploying KEDA Controller on OperatorHub.io/OLM
Apache License 2.0
31 stars 22 forks source link

Reconcile changes to audit policy #240

Closed joelsmith closed 3 months ago

joelsmith commented 3 months ago

Any changes to the audit policy in the kedacontroller object are not compared to the configmap which is supposed to be derived from it. This means that creating an audit policy the first time works fine, but changing it doesn't (without manual intervention, such as deleting the configmap so it can be re-created with the new values). This change compares the current and expected values, and forces an update if they differ.

Checklist

jkyros commented 3 months ago

Sounds like this will restart the pod too, so we know the change will get picked up. /lgtm