Describe the bug
The make command within the kubernetes-power-manager repository triggers a panic error during the installation of controller-gen when using Go version 1.22.0. This issue prevents the successful installation of controller-gen and subsequent CRD installation steps required by the Kubernetes Power Manager.
Attempt to set up the Power Manager using./scripts/power_manager/setup_power_manager.sh as described in the Power Manager Setup Guide
Encounter the error during the process.
Expected behavior
The controller-gen tool installs without errors, allowing for the successful execution of subsequent CRD installation steps as part of the Kubernetes Power Manager setup.
Describe the bug The make command within the kubernetes-power-manager repository triggers a panic error during the installation of controller-gen when using Go version 1.22.0. This issue prevents the successful installation of controller-gen and subsequent CRD installation steps required by the Kubernetes Power Manager.
To Reproduce Steps to reproduce the behavior.
./scripts/power_manager/setup_power_manager.sh
as described in the Power Manager Setup GuideExpected behavior The controller-gen tool installs without errors, allowing for the successful execution of subsequent CRD installation steps as part of the Kubernetes Power Manager setup.
Logs
Notes