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

Switch OOB plugin to new kubernetes client initialization #238

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

damyan
Copy link
Member

@damyan damyan commented Dec 23, 2024

Use kubernetes scheme for adding the scheme too, otherwise we get:

E1223 11:37:24.587887 1 event.go:442] "Could not construct reference, will not report event" err="no kind is registered for the type v1alpha1.IP in scheme \"pkg/runtime/scheme.go:100\"" object={"metadata":{"name":"2a10-afc0-e013-1001- 0000-0000-1019-0002-fedhcp","namespace":"oob","uid":"65244fd7-1d4c-4eb0-b116-7dea224a34b9","resourceVersion":"362654819","generation":1,"creationTimestamp":"2024-12-23T11:37:24Z","labels":{"ip":"2a10-afc0-e013-1001-0000-0000-1019-0002","mac": "1c34da573a20","origin":"fedhcp"},"managedFields":[{"manager":"fedhcp","operation":"Update","apiVersion":"ipam.metal.ironcore.dev/v1alpha1","time":"2024-12-23T11:37:24Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f: ip":{},"f:mac":{},"f:origin":{}}},"f:spec":{".":{},"f:ip":{},"f:subnet":{}}}}]},"spec":{"subnet":{"name":"spine-1-south"},"ip":"2a10:afc0:e013:1001::1019:2"},"status":{}} eventType="Normal" reason="Created" message="Created IPAM IP"

@github-actions github-actions bot added size/S enhancement New feature or request labels Dec 23, 2024
@damyan damyan requested a review from afritzler December 23, 2024 11:49
@damyan damyan added the bug Something isn't working label Dec 23, 2024
@damyan damyan merged commit 65ec40b into main Jan 9, 2025
11 checks passed
@damyan damyan deleted the enh/switch-oob-k8s-init branch January 9, 2025 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants