Skip to content

fix: webhook controller dropped CREATE/UPDATE operations for DeploymentPolicy validating rules#177

Merged
lockwobr merged 1 commit intomainfrom
fix-webhook-rules
Mar 10, 2026
Merged

fix: webhook controller dropped CREATE/UPDATE operations for DeploymentPolicy validating rules#177
lockwobr merged 1 commit intomainfrom
fix-webhook-rules

Conversation

@lockwobr
Copy link
Collaborator

copy() with a zero-length destination slice copies nothing — the controller was enforcing [DELETE] instead of [CREATE, UPDATE, DELETE], causing ArgoCD to flag the ValidatingWebhookConfiguration as perpetually OutOfSync.

…ntPolicy validating rules

copy() with a zero-length destination slice copies nothing — the controller
was enforcing [DELETE] instead of [CREATE, UPDATE, DELETE], causing ArgoCD
to flag the ValidatingWebhookConfiguration as perpetually OutOfSync.
@lockwobr lockwobr self-assigned this Mar 10, 2026
@lockwobr lockwobr marked this pull request as ready for review March 10, 2026 01:20
@lockwobr lockwobr merged commit 09fbff2 into main Mar 10, 2026
15 checks passed
@lockwobr lockwobr deleted the fix-webhook-rules branch March 10, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants