MetalLB Version
0.14.3
Deployment method
Charts
Main CNI
calico
Kubernetes Version
1.28.6
Cluster Distribution
kubeadm/baremetal
Describe the bug
Code still references the deprecated addresspools.metallb.io CRD which was removed from the helm chart in v0.14.3. Both metallb and the k8s controller manager are logging errors:
{"level":"error","ts":"2024-01-31T20:14:32Z","logger":"cert-rotation","msg":"Webhook not found. Unable to update certificate.","name":"addresspools.metallb.io","gvk":"apiextensions.k8s.io/v1, Kind=CustomResourceDefinition","error":"CustomResourceDefinition.apiextensions.k8s.io \"addresspools.metallb.io\" not found","stacktrace":"github.com/open-policy-agent/cert-controller/pkg/rotator.(*ReconcileWH).ensureCerts\n\t/go/pkg/mod/github.com/open-policy-agent/cert-controller@v0.10.1/pkg/rotator/rotator.go:816\ngithub.com/open-policy-agent/cert-controller/pkg/rotator.(*ReconcileWH).Reconcile\n\t/go/pkg/mod/github.com/open-policy-agent/cert-controller@v0.10.1/pkg/rotator/rotator.go:785\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:119\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:316\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:227"}
W0131 20:04:49.665040 1 reflector.go:535] vendor/k8s.io/client-go/metadata/metadatainformer/informer.go:106: failed to list *v1.PartialObjectMetadata: the server could not find the requested resource
I suspect this was tested on an upgraded cluster (vs new install) which still had the addresspools.metallb.io CRD.
To Reproduce
Deploy version 0.14.3 (clean slate or remove the addresspools.metallb.io CRD) with cert rotation enabled (default).
Expected Behavior
Cert rotation works and no errors are logged.
Additional Context
Nope!
I've read and agree with the following
I've read and agree with the following
MetalLB Version
0.14.3
Deployment method
Charts
Main CNI
calico
Kubernetes Version
1.28.6
Cluster Distribution
kubeadm/baremetal
Describe the bug
Code still references the deprecated
addresspools.metallb.ioCRD which was removed from the helm chart in v0.14.3. Both metallb and the k8s controller manager are logging errors:I suspect this was tested on an upgraded cluster (vs new install) which still had the
addresspools.metallb.ioCRD.To Reproduce
Deploy version 0.14.3 (clean slate or remove the
addresspools.metallb.ioCRD) with cert rotation enabled (default).Expected Behavior
Cert rotation works and no errors are logged.
Additional Context
Nope!
I've read and agree with the following
I've read and agree with the following