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
[X] Commits are signed with Developer Certificate of Origin (DCO)
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