Fixes to enable FluxCD drift detection for monitoring

closes: #1815 (closed)

This MR is to correct the fields which are declared incorrectly in the prometheus spec causing rancher-monitoring-prometheus fail when helm-controller is comparing diff with the dry-run on enabling drift detection.

For the time-being, drift detection and correction has been disabled for monitoring in !2445 (merged). After this MR is merged, I will enable it as then the deployment will no longer fail at this stage.

Also, refer the comment thread: !2445 (comment 2072872357)

Edited by Ishita Mittal

Merge request reports

Loading