chore: update to go 1.24.4 and bump dependencies

k8s dependencies to v0.33.2

chore: upgrade tools versions to latest available

chore: update-generated

chore: update custom-metrics-apiserver to current master

chore: remove deprecated code

Signed-off-by: Jayapriya Pai <janantha@redhat.com>
This commit is contained in:
Jayapriya Pai 2025-05-17 11:04:51 +05:30
parent 01919d0ef1
commit 1b9e052008
No known key found for this signature in database
GPG key ID: BDE02C05CA465F3C
7 changed files with 957 additions and 510 deletions

View file

@ -17,6 +17,7 @@ limitations under the License.
package main
import (
"context"
"crypto/tls"
"crypto/x509"
"fmt"
@ -379,7 +380,7 @@ func main() {
server.GenericAPIServer.SecureServingInfo.DisableHTTP2 = cmd.DisableHTTP2
// run the server
if err := cmd.Run(stopCh); err != nil {
if err := cmd.Run(context.Background()); err != nil {
klog.Fatalf("unable to run custom metrics adapter: %v", err)
}
}