UNCLASSIFIED - NO CUI

Skip to content

Fix case-sensitive value for driftDetection ignore

General MR

Summary

fix case-sensitive value for driftDetection ignore.

This fixes the issue where the CronJob threw a driftDetection warning/correction after firing.

Prior to the fix, manually editing the CronJob/neuvector-cert-upgrader-pod would cause the warning and the CronJob would get reverted -- CronJob should be ignored per our overrides...but the kind: value is case-sensitive.

With this fix, the CronJob/neuvector-cert-upgrader-pod update is ignored as expected, and no warning is thrown.

Relevant logs/screenshots

Prior to fix:

$ kubectl -n flux-system logs helm-controller-5cd55644dc-49r27 | grep -i drift | grep -i neu
{"level":"info","ts":"2025-06-09T16:59:34.836Z","msg":"running 'correct cluster drift' action with timeout of 10m0s","controller":"helmrelease","controllerGroup":"helm.toolkit.fluxcd.io","controllerKind":"HelmRelease","HelmRelease":{"name":"neuvector","namespace":"bigbang"},"namespace":"bigbang","name":"neuvector","reconcileID":"9e8de4df-1a22-4c70-864f-203287910e3e"}

With fix:

$ kubectl -n flux-system logs helm-controller-5cd55644dc-qpvfn | grep -i drift | grep -i neu

Linked Issue

n/a

Upgrade Notices

n/a

Edited by Michael Martin

Merge request reports

Loading