Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add controller logic #2

Merged
merged 7 commits into from
Apr 26, 2024
Merged

Add controller logic #2

merged 7 commits into from
Apr 26, 2024

Conversation

maiqueb
Copy link
Collaborator

@maiqueb maiqueb commented Apr 15, 2024

No description provided.

Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
We are not deploying a webhook, so this can be removed.

Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
@maiqueb maiqueb force-pushed the add-controller-logic branch 2 times, most recently from 71b12de to 0f382d7 Compare April 15, 2024 12:18
Adds the base of the KubeVirt VM controller that creates the IPAMClaims
for the VMs.

It reads the NAD configuration, and for the NADs having the persistent
ips feature enabled, it creates the corresponding requested IPAMClaim.

Follow-up commits will handle more advanced use-cases, like hotplug, and
so forth.

Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
This commit ensure that an existing IPAMClaim for a VM acually belongs
to the VM being reconciled (and not for a different VM with the same
name). It relies on the owner reference UID to ensure it.

Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
@maiqueb maiqueb merged commit 7d665c1 into main Apr 26, 2024
1 check passed
@maiqueb maiqueb deleted the add-controller-logic branch April 26, 2024 15:20
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.

1 participant