Skip to content

fix: move managed resource VAP out of CRDinstaller#1202

Merged
nwnt merged 11 commits into
Azure:mainfrom
nwnt:vap-lifecycle-management
Oct 2, 2025
Merged

fix: move managed resource VAP out of CRDinstaller#1202
nwnt merged 11 commits into
Azure:mainfrom
nwnt:vap-lifecycle-management

Conversation

@nwnt

@nwnt nwnt commented Sep 19, 2025

Copy link
Copy Markdown
Contributor

Description of your changes

Move the managed resource VAP and its binding installation out of CRD installer. They are now installed by the hub and member agents. For hub, they are installed after the hub agent starts and never removed. For member, they are installed during member join and removed during member leave.

Fixes # N/A

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Unit tests and E2E tests.

Special notes for your reviewer

@nwnt nwnt changed the title Vap lifecycle management fix: move managed resource VAP out of CRDinstaller Sep 19, 2025
Comment thread cmd/hubagent/main.go
Comment thread pkg/webhook/managedresource/createordelete.go Outdated
Comment thread pkg/webhook/managedresource/createordelete.go Outdated
Comment thread pkg/webhook/managedresource/createordelete.go Outdated
Comment thread pkg/webhook/managedresource/createordelete.go Outdated
@nwnt
nwnt force-pushed the vap-lifecycle-management branch 2 times, most recently from 88d7c79 to ccf584e Compare September 29, 2025 21:52
Nont added 3 commits September 29, 2025 16:52
Signed-off-by: Nont <nont@duck.com>
Signed-off-by: Nont <nont@duck.com>
Signed-off-by: Nont <nont@duck.com>
@nwnt
nwnt force-pushed the vap-lifecycle-management branch 2 times, most recently from 47ed11d to 129bf0e Compare September 29, 2025 22:29
Signed-off-by: Nont <nont@duck.com>
@nwnt
nwnt force-pushed the vap-lifecycle-management branch from 129bf0e to 323249f Compare September 29, 2025 22:38
Signed-off-by: Nont <nont@duck.com>
Comment thread pkg/webhook/managedresource/validatingadmissionpolicy.go Outdated
Comment thread pkg/webhook/managedresource/validatingadmissionpolicy.go Outdated
Comment thread pkg/webhook/managedresource/validatingadmissionpolicy.go Outdated
Comment thread pkg/webhook/managedresource/validatingadmissionpolicy.go Outdated
Signed-off-by: Nont <nont@duck.com>
@nwnt
nwnt force-pushed the vap-lifecycle-management branch from 0e8458c to 6166175 Compare September 30, 2025 00:35
Nont added 2 commits September 29, 2025 19:44
Signed-off-by: Nont <nont@duck.com>
Signed-off-by: Nont <nont@duck.com>
Comment thread pkg/webhook/managedresource/createordelete.go Outdated
Nont added 2 commits October 2, 2025 09:56
Signed-off-by: Nont <nont@duck.com>
Comment thread pkg/webhook/managedresource/createordelete_test.go Outdated
Comment thread pkg/webhook/managedresource/createordelete_test.go
Comment thread test/e2e/managed_resource_vap_test.go Outdated
Signed-off-by: Nont <nont@duck.com>
@nwnt
nwnt merged commit 2bf8667 into Azure:main Oct 2, 2025
17 of 19 checks passed
Comment thread pkg/webhook/managedresource/createordelete.go
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.

4 participants