Commit 57f9f19
committed
Refactor: remove DefaultsConfigReconciler
The DefaultsConfigReconciler maintained config-hash annotations on
workloads with kagenti.io/type that were not managed by an AgentRuntime
CR. With the new ValidatingAdmissionPolicy enforcing that the label can
only be set via an AgentRuntime, no unmanaged workloads can exist.
The reconciler was effectively a no-op and is now removed along with
its tests and the ComputeDefaultsOnlyHash helper.
Signed-off-by: Daniels Nagornuks <dnagornu@redhat.com>
Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com>1 parent a5dca32 commit 57f9f19
3 files changed
Lines changed: 0 additions & 1002 deletions
File tree
- kagenti-operator
- cmd
- internal/webhook/injector
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
781 | | - | |
782 | 773 | | |
783 | 774 | | |
784 | 775 | | |
| |||
Lines changed: 0 additions & 300 deletions
This file was deleted.
0 commit comments