From c4388af9a3cc5c7d741a64a3b6d07681c82085e5 Mon Sep 17 00:00:00 2001 From: Aleksei Sviridkin Date: Fri, 13 Nov 2026 01:16:24 +0300 Subject: [PATCH 01/10] test(make): run the pkg and cmd Go tests in go-unit-tests go-unit-tests ran a hand-picked list of packages, so the apiserver serializer and fuzz round-trip tests, the generated applyconfiguration and openapi suites, the apis packages and the controller, operator and observability-proxy commands never ran in CI. Those are the tests a Kubernetes library bump can break. The backport-batch suite stays out: it drives real git repositories for minutes and keeps its own target. The apps API surface that apiserver libraries shape gets its own tests: server-side apply, content negotiation, Table output on watch, the served OpenAPI v2 and v3 documents and building the server without etcd. They record today's answers, including two that look wrong: applies from different field managers never conflict because the storage keeps no managedFields, and protobuf is refused with 406 even when the client offers JSON as a fallback. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin --- Makefile | 10 +- pkg/cmd/server/apiserver_surface_test.go | 350 +++++++++++++++++++++++ pkg/cmd/server/start_config_test.go | 92 ++++++ 3 files changed, 445 insertions(+), 7 deletions(-) create mode 100644 pkg/cmd/server/apiserver_surface_test.go create mode 100644 pkg/cmd/server/start_config_test.go diff --git a/Makefile b/Makefile index aac1d6617..764775058 100644 --- a/Makefile +++ b/Makefile @@ -139,14 +139,10 @@ rd-presets-check: migrations-target-check: hack/check-migrations-target.sh -# Go tests of the cozystack-api surface and of the standalone packages and -# commands listed here, whose tests need no cluster. Kept narrow -# intentionally - running `go test ./...` pulls in generated code round-trip -# suites whose behavior depends on tool versions outside this repo's control -# (kubebuilder, openapi-gen, etc.) and is better exercised from their -# generator workflows. +# ./internal/... runs in test-controllers; ./test/... and cmd/backport-batch +# run in targets of their own. go-unit-tests: - go test ./pkg/registry/... ./pkg/config/... ./pkg/cmd/server/... ./pkg/lineage/... ./pkg/ovnstatus/... ./pkg/reservation/... ./cmd/cozypkg/... ./cmd/check-readiness/... + go test -count=1 ./pkg/... $(patsubst %,./%/...,$(filter-out cmd/backport-batch,$(wildcard cmd/*))) # The nested Go modules (image sources and the published API types) are # outside ./... of the root module, so no other target reaches their tests. diff --git a/pkg/cmd/server/apiserver_surface_test.go b/pkg/cmd/server/apiserver_surface_test.go new file mode 100644 index 000000000..1124e181f --- /dev/null +++ b/pkg/cmd/server/apiserver_surface_test.go @@ -0,0 +1,350 @@ +/* +Copyright 2026 The Cozystack Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package server_test + +import ( + "bufio" + "context" + "encoding/json" + "io" + "net/http" + "net/http/httptest" + "slices" + "testing" + "time" + + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/client-go/dynamic" + restclient "k8s.io/client-go/rest" + + appsv1alpha1 "github.com/cozystack/cozystack/pkg/apis/apps/v1alpha1" + "github.com/cozystack/cozystack/pkg/config" +) + +const ( + appsDefPrefix = "com.github.cozystack.cozystack.pkg.apis.apps.v1alpha1." + redisPath = "/apis/apps.cozystack.io/v1alpha1/namespaces/tenant-a/redises" + redisItemPath = "/apis/apps.cozystack.io/v1alpha1/namespaces/{namespace}/redises/{name}" +) + +func redisAPI(t *testing.T, ts *httptest.Server) dynamic.ResourceInterface { + t.Helper() + return dynamic.NewForConfigOrDie(&restclient.Config{Host: ts.URL}).Resource(schema.GroupVersionResource{ + Group: appsv1alpha1.GroupName, Version: "v1alpha1", Resource: "redises", + }).Namespace("tenant-a") +} + +func redisObj(replicas int64) *unstructured.Unstructured { + return &unstructured.Unstructured{Object: map[string]any{ + "apiVersion": appsv1alpha1.SchemeGroupVersion.String(), + "kind": "Redis", + "metadata": map[string]any{"name": "app", "namespace": "tenant-a"}, + "spec": map[string]any{"replicas": replicas}, + }} +} + +func getWithAccept(t *testing.T, url, accept string) (*http.Response, []byte) { + t.Helper() + req, err := http.NewRequest(http.MethodGet, url, nil) + if err != nil { + t.Fatal(err) + } + if accept != "" { + req.Header.Set("Accept", accept) + } + resp, err := http.DefaultClient.Do(req) + if err != nil { + t.Fatalf("GET %s: %v", url, err) + } + body, err := io.ReadAll(resp.Body) + _ = resp.Body.Close() + if err != nil { + t.Fatalf("GET %s: read body: %v", url, err) + } + return resp, body +} + +// The application storage keeps no managedFields of its own: the object is +// rebuilt from the HelmRelease on every read. Server-side apply therefore +// sees no prior owner and never reports a conflict between field managers, +// and the last apply wins. +func TestAppsAPIServerSideApplyTracksNoFieldOwners(t *testing.T) { + ts, _ := startAppsServer(t, &config.ResourceConfig{Resources: []config.Resource{redisConfig}}) + api := redisAPI(t, ts) + ctx := context.Background() + + if _, err := api.Create(ctx, redisObj(0), metav1.CreateOptions{FieldManager: "creator"}); err != nil { + t.Fatalf("create: %v", err) + } + if _, err := api.Apply(ctx, "app", redisObj(1), metav1.ApplyOptions{FieldManager: "manager-a"}); err != nil { + t.Fatalf("apply from manager-a: %v", err) + } + if _, err := api.Apply(ctx, "app", redisObj(2), metav1.ApplyOptions{FieldManager: "manager-b"}); err != nil { + t.Fatalf("non-forced apply from manager-b over manager-a's field: %v", err) + } + + got, err := api.Get(ctx, "app", metav1.GetOptions{}) + if err != nil { + t.Fatalf("get: %v", err) + } + if r, _, _ := unstructured.NestedInt64(got.Object, "spec", "replicas"); r != 2 { + t.Errorf("spec.replicas = %d, want 2 from the last apply", r) + } + if mf := got.GetManagedFields(); len(mf) != 0 { + t.Errorf("managedFields = %+v, want none", mf) + } +} + +// Only JSON and YAML are served. CBOR is refused with 406 and a client that +// lists JSON after it gets JSON. Protobuf is negotiated before the encoder +// finds out that Application has no protobuf form, so the JSON fallback is +// never reached and the client gets 406 as well. +func TestAppsAPIContentNegotiation(t *testing.T) { + ts, _ := startAppsServer(t, &config.ResourceConfig{Resources: []config.Resource{redisConfig}}) + if _, err := redisAPI(t, ts).Create(context.Background(), redisObj(1), metav1.CreateOptions{}); err != nil { + t.Fatalf("create: %v", err) + } + + for _, tc := range []struct { + accept, wantType string + wantStatus int + }{ + {"application/json", "application/json", http.StatusOK}, + {"application/yaml", "application/yaml", http.StatusOK}, + {"application/cbor", "", http.StatusNotAcceptable}, + {"application/vnd.kubernetes.protobuf", "", http.StatusNotAcceptable}, + {"application/cbor, application/json;q=0.9", "application/json", http.StatusOK}, + {"application/vnd.kubernetes.protobuf, application/json;q=0.9", "", http.StatusNotAcceptable}, + } { + t.Run(tc.accept, func(t *testing.T) { + resp, body := getWithAccept(t, ts.URL+redisPath+"/app", tc.accept) + if resp.StatusCode != tc.wantStatus { + t.Fatalf("status = %d, want %d, body %q", resp.StatusCode, tc.wantStatus, body) + } + if tc.wantType != "" && resp.Header.Get("Content-Type") != tc.wantType { + t.Errorf("Content-Type = %q, want %q", resp.Header.Get("Content-Type"), tc.wantType) + } + }) + } +} + +// kubectl get --watch asks for Table output; every event must carry a Table +// with the row of the changed object. +func TestAppsAPIWatchAsTable(t *testing.T) { + ts, _ := startAppsServer(t, &config.ResourceConfig{Resources: []config.Resource{redisConfig}}) + api := redisAPI(t, ts) + + ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) + defer cancel() + req, err := http.NewRequestWithContext(ctx, http.MethodGet, ts.URL+redisPath+"?watch=true", nil) + if err != nil { + t.Fatal(err) + } + req.Header.Set("Accept", "application/json;as=Table;v=v1;g=meta.k8s.io") + resp, err := http.DefaultClient.Do(req) + if err != nil { + t.Fatalf("watch: %v", err) + } + defer func() { _ = resp.Body.Close() }() + if resp.StatusCode != http.StatusOK { + t.Fatalf("watch: status %d", resp.StatusCode) + } + + if _, err := api.Create(context.Background(), redisObj(1), metav1.CreateOptions{}); err != nil { + t.Fatalf("create: %v", err) + } + + sc := bufio.NewScanner(resp.Body) + sc.Buffer(nil, 1<<20) + if !sc.Scan() { + t.Fatalf("watch: no event: %v", sc.Err()) + } + var ev struct { + Type string `json:"type"` + Object struct { + Kind string `json:"kind"` + APIVersion string `json:"apiVersion"` + ColumnDefinitions []struct { + Name string `json:"name"` + } `json:"columnDefinitions"` + Rows []struct { + Cells []any `json:"cells"` + } `json:"rows"` + } `json:"object"` + } + if err := json.Unmarshal(sc.Bytes(), &ev); err != nil { + t.Fatalf("decode %q: %v", sc.Bytes(), err) + } + if ev.Type != "ADDED" || ev.Object.Kind != "Table" || ev.Object.APIVersion != "meta.k8s.io/v1" { + t.Fatalf("event = %s %s %s, want ADDED meta.k8s.io/v1 Table", ev.Type, ev.Object.APIVersion, ev.Object.Kind) + } + if len(ev.Object.Rows) != 1 || len(ev.Object.Rows[0].Cells) == 0 || ev.Object.Rows[0].Cells[0] != "app" { + t.Fatalf("rows = %+v, want one row for app", ev.Object.Rows) + } + if len(ev.Object.ColumnDefinitions) == 0 || ev.Object.ColumnDefinitions[0].Name != "NAME" { + t.Errorf("columnDefinitions = %+v, want NAME first", ev.Object.ColumnDefinitions) + } +} + +type openAPISchema struct { + Ref string `json:"$ref"` + Type any `json:"type"` + Properties map[string]openAPISchema `json:"properties"` + Items *openAPISchema `json:"items"` + AnyOf []openAPISchema `json:"anyOf"` + PreserveUnknown bool `json:"x-kubernetes-preserve-unknown-fields"` + IntOrString bool `json:"x-kubernetes-int-or-string"` + GroupVersionKind []map[string]string `json:"x-kubernetes-group-version-kind"` + AdditionalProperties any `json:"additionalProperties"` +} + +var openAPIKinds = &config.ResourceConfig{Resources: []config.Resource{ + { + Application: config.ApplicationConfig{ + Kind: "Postgres", Singular: "postgres", Plural: "postgreses", + OpenAPISchema: `{"type":"object","properties":{"replicas":{"type":"integer"},"size":{"anyOf":[{"type":"integer"},{"type":"string"}]}}}`, + }, + Release: config.ReleaseConfig{Prefix: "postgres-"}, + }, + redisConfig, +}} + +// checkKindDefinitions asserts what the OpenAPI post-processors in openapi.go +// make of the shared Application schemas: one object, list and status +// definition per kind with its own GVK, list items pointing at the kind, the +// kind's spec schema published open, and the base Application definitions +// gone. +func checkKindDefinitions(t *testing.T, defs map[string]openAPISchema, refPrefix string) { + t.Helper() + for _, base := range []string{"Application", "ApplicationList", "ApplicationStatus"} { + if _, ok := defs[appsDefPrefix+base]; ok { + t.Errorf("base definition %s still published", base) + } + } + for _, kind := range []string{"Postgres", "Redis"} { + obj, ok := defs[appsDefPrefix+kind] + if !ok { + t.Errorf("%s: no definition", kind) + continue + } + if len(obj.GroupVersionKind) != 1 || obj.GroupVersionKind[0]["kind"] != kind || obj.GroupVersionKind[0]["group"] != appsv1alpha1.GroupName { + t.Errorf("%s: gvk = %v", kind, obj.GroupVersionKind) + } + if !obj.Properties["spec"].PreserveUnknown { + t.Errorf("%s: spec is not published open: %+v", kind, obj.Properties["spec"]) + } + if ref := obj.Properties["status"].Ref; ref != refPrefix+appsDefPrefix+kind+"Status" { + t.Errorf("%s: status $ref = %q", kind, ref) + } + if _, ok := defs[appsDefPrefix+kind+"Status"]; !ok { + t.Errorf("%s: no status definition", kind) + } + list, ok := defs[appsDefPrefix+kind+"List"] + if !ok { + t.Errorf("%s: no list definition", kind) + continue + } + if len(list.GroupVersionKind) != 1 || list.GroupVersionKind[0]["kind"] != kind+"List" { + t.Errorf("%sList: gvk = %v", kind, list.GroupVersionKind) + } + if items := list.Properties["items"].Items; items == nil || items.Ref != refPrefix+appsDefPrefix+kind { + t.Errorf("%sList: items = %+v", kind, items) + } + } + if _, ok := defs[appsDefPrefix+"Postgres"].Properties["spec"].Properties["replicas"]; !ok { + t.Errorf("Postgres spec lost the declared replicas property") + } +} + +func TestAppsAPIOpenAPIV2(t *testing.T) { + ts, _ := startAppsServer(t, openAPIKinds) + resp, body := getWithAccept(t, ts.URL+"/openapi/v2", "application/json") + if resp.StatusCode != http.StatusOK { + t.Fatalf("status %d: %s", resp.StatusCode, body) + } + var doc struct { + Definitions map[string]openAPISchema `json:"definitions"` + Paths map[string]map[string]json.RawMessage `json:"paths"` + } + if err := json.Unmarshal(body, &doc); err != nil { + t.Fatal(err) + } + checkKindDefinitions(t, doc.Definitions, "#/definitions/") + + size := doc.Definitions[appsDefPrefix+"Postgres"].Properties["spec"].Properties["size"] + if len(size.AnyOf) != 0 || !size.IntOrString || size.Type != "string" { + t.Errorf("v2 int-or-string anyOf not flattened: %+v", size) + } + + raw, ok := doc.Paths[redisItemPath]["patch"] + if !ok { + t.Fatal("no PATCH operation for a redis") + } + var patch struct { + Consumes []string `json:"consumes"` + } + if err := json.Unmarshal(raw, &patch); err != nil { + t.Fatal(err) + } + if slices.Contains(patch.Consumes, "application/strategic-merge-patch+json") || !slices.Contains(patch.Consumes, "application/merge-patch+json") { + t.Errorf("PATCH consumes = %v, want merge-patch without strategic-merge-patch", patch.Consumes) + } +} + +func TestAppsAPIOpenAPIV3(t *testing.T) { + ts, _ := startAppsServer(t, openAPIKinds) + resp, body := getWithAccept(t, ts.URL+"/openapi/v3/apis/apps.cozystack.io/v1alpha1", "application/json") + if resp.StatusCode != http.StatusOK { + t.Fatalf("status %d: %s", resp.StatusCode, body) + } + var doc struct { + Components struct { + Schemas map[string]openAPISchema `json:"schemas"` + } `json:"components"` + Paths map[string]map[string]json.RawMessage `json:"paths"` + } + if err := json.Unmarshal(body, &doc); err != nil { + t.Fatal(err) + } + checkKindDefinitions(t, doc.Components.Schemas, "#/components/schemas/") + + if size := doc.Components.Schemas[appsDefPrefix+"Postgres"].Properties["spec"].Properties["size"]; len(size.AnyOf) != 2 { + t.Errorf("v3 must keep the int-or-string anyOf: %+v", size) + } + + raw, ok := doc.Paths[redisItemPath]["patch"] + if !ok { + t.Fatal("no PATCH operation for a redis") + } + var patch struct { + RequestBody struct { + Content map[string]any `json:"content"` + } `json:"requestBody"` + } + if err := json.Unmarshal(raw, &patch); err != nil { + t.Fatal(err) + } + var types []string + for ct := range patch.RequestBody.Content { + types = append(types, ct) + } + if slices.Contains(types, "application/strategic-merge-patch+json") || !slices.Contains(types, "application/merge-patch+json") { + t.Errorf("PATCH request body types = %v, want merge-patch without strategic-merge-patch", types) + } +} diff --git a/pkg/cmd/server/start_config_test.go b/pkg/cmd/server/start_config_test.go new file mode 100644 index 000000000..e9090c14d --- /dev/null +++ b/pkg/cmd/server/start_config_test.go @@ -0,0 +1,92 @@ +/* +Copyright 2026 The Cozystack Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package server + +import ( + "net" + "os" + "path/filepath" + "testing" + + genericapiserver "k8s.io/apiserver/pkg/server" + + "github.com/cozystack/cozystack/pkg/config" +) + +// The server runs without etcd: every resource is backed by the Kubernetes +// API. Validate and Config must accept the recommended options with Etcd left +// nil, and the result must build the generic server. +func TestCozyServerOptions_ConfigBuildsServerWithoutEtcd(t *testing.T) { + t.Setenv("KUBERNETES_SERVICE_HOST", "") + dir := t.TempDir() + kubeconfig := filepath.Join(dir, "kubeconfig") + // Nothing listens on this address. The authentication config lookup does + // dial it, gets refused, and TolerateInClusterLookupFailure lets it go on. + if err := os.WriteFile(kubeconfig, []byte(`apiVersion: v1 +kind: Config +clusters: +- name: c + cluster: {server: "https://127.0.0.1:1"} +users: +- name: u + user: {token: t} +contexts: +- name: c + context: {cluster: c, user: u} +current-context: c +`), 0o600); err != nil { + t.Fatal(err) + } + t.Setenv("KUBECONFIG", kubeconfig) + + o := NewCozyServerOptions(nil, nil) + if o.RecommendedOptions.Etcd != nil { + t.Fatal("NewCozyServerOptions must leave Etcd nil") + } + o.ResourceConfig = &config.ResourceConfig{Resources: []config.Resource{{ + Application: config.ApplicationConfig{Kind: "Redis", Singular: "redis", Plural: "redises"}, + Release: config.ReleaseConfig{Prefix: "redis-"}, + }}} + ro := o.RecommendedOptions + ro.CoreAPI.CoreAPIKubeconfigPath = kubeconfig + ro.Authentication.RemoteKubeConfigFile = kubeconfig + ro.Authentication.TolerateInClusterLookupFailure = true + ro.Authorization.RemoteKubeConfigFile = kubeconfig + ro.SecureServing.ServerCert.CertDirectory = dir + ln, err := net.Listen("tcp", "127.0.0.1:0") + if err != nil { + t.Fatal(err) + } + t.Cleanup(func() { _ = ln.Close() }) + ro.SecureServing.Listener = ln + + if err := o.Validate(nil); err != nil { + t.Fatalf("Validate: %v", err) + } + cfg, err := o.Config() + if err != nil { + t.Fatalf("Config: %v", err) + } + if cfg.GenericConfig.RESTOptionsGetter != nil { + t.Errorf("RESTOptionsGetter = %T, want none without etcd", cfg.GenericConfig.RESTOptionsGetter) + } + // The cozystack server itself needs a live cluster to build its storage; + // the generic server it embeds does not. + if _, err := cfg.GenericConfig.Complete().New("cozystack-api-test", genericapiserver.NewEmptyDelegate()); err != nil { + t.Fatalf("New: %v", err) + } +} From 3cd2778ac01f562208e279d93e20c7aee1f8eaad Mon Sep 17 00:00:00 2001 From: Aleksei Sviridkin Date: Fri, 13 Nov 2026 01:16:25 +0300 Subject: [PATCH 02/10] fix(kubeovn-webhook): reject an admission review that carries no request A body without a request field dereferenced a nil pointer. net/http recovers the panic, so the caller saw a dropped connection instead of a 400, and every such call logged a stack trace. The namespace lookup becomes a package variable so the tests can stand in for the cluster. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin --- .../images/kubeovn-webhook/admission.go | 6 +- .../images/kubeovn-webhook/admission_test.go | 184 ++++++++++++++++++ 2 files changed, 189 insertions(+), 1 deletion(-) create mode 100644 packages/system/kubeovn-webhook/images/kubeovn-webhook/admission_test.go diff --git a/packages/system/kubeovn-webhook/images/kubeovn-webhook/admission.go b/packages/system/kubeovn-webhook/images/kubeovn-webhook/admission.go index ad97a69c3..4996e9458 100644 --- a/packages/system/kubeovn-webhook/images/kubeovn-webhook/admission.go +++ b/packages/system/kubeovn-webhook/images/kubeovn-webhook/admission.go @@ -36,6 +36,10 @@ func HandleMutatePods(w http.ResponseWriter, r *http.Request) { http.Error(w, "could not unmarshal request", http.StatusBadRequest) return } + if admissionReviewReq.Request == nil { + http.Error(w, "admission review has no request", http.StatusBadRequest) + return + } admissionReviewResp := admissionv1.AdmissionReview{ TypeMeta: admissionReviewReq.TypeMeta, @@ -132,7 +136,7 @@ func HandleMutatePods(w http.ResponseWriter, r *http.Request) { writeResponse(w, admissionReviewResp) } -func getNamespaceAnnotations(namespace string) (map[string]string, error) { +var getNamespaceAnnotations = func(namespace string) (map[string]string, error) { config, err := rest.InClusterConfig() if err != nil { return nil, err diff --git a/packages/system/kubeovn-webhook/images/kubeovn-webhook/admission_test.go b/packages/system/kubeovn-webhook/images/kubeovn-webhook/admission_test.go new file mode 100644 index 000000000..71a47e0a0 --- /dev/null +++ b/packages/system/kubeovn-webhook/images/kubeovn-webhook/admission_test.go @@ -0,0 +1,184 @@ +package main + +import ( + "encoding/json" + "errors" + "maps" + "net/http" + "net/http/httptest" + "strings" + "testing" + + admissionv1 "k8s.io/api/admission/v1" + corev1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/types" +) + +type patchOp struct { + Op string `json:"op"` + Path string `json:"path"` + Value map[string]string `json:"value"` +} + +// withNamespace stubs the namespace lookup and the global flags for one test. +func withNamespace(t *testing.T, annotations map[string]string, err error, routes string, portSecurity bool) { + t.Helper() + get, r, ps := getNamespaceAnnotations, RoutesGlobal, PortSecurityGlobal + getNamespaceAnnotations = func(string) (map[string]string, error) { return annotations, err } + RoutesGlobal, PortSecurityGlobal = routes, portSecurity + t.Cleanup(func() { getNamespaceAnnotations, RoutesGlobal, PortSecurityGlobal = get, r, ps }) +} + +func review(t *testing.T, op admissionv1.Operation, kind string, podAnnotations map[string]string) []byte { + t.Helper() + pod, err := json.Marshal(corev1.Pod{ObjectMeta: metav1.ObjectMeta{Name: "p", Namespace: "ns", Annotations: podAnnotations}}) + if err != nil { + t.Fatal(err) + } + body, err := json.Marshal(admissionv1.AdmissionReview{ + TypeMeta: metav1.TypeMeta{APIVersion: "admission.k8s.io/v1", Kind: "AdmissionReview"}, + Request: &admissionv1.AdmissionRequest{ + UID: types.UID("req-uid"), + Kind: metav1.GroupVersionKind{Version: "v1", Kind: kind}, + Operation: op, + Namespace: "ns", + Object: runtime.RawExtension{Raw: pod}, + }, + }) + if err != nil { + t.Fatal(err) + } + return body +} + +func mutate(t *testing.T, body []byte) (*httptest.ResponseRecorder, admissionv1.AdmissionReview) { + t.Helper() + rec := httptest.NewRecorder() + HandleMutatePods(rec, httptest.NewRequest(http.MethodPost, "/mutate-pods", strings.NewReader(string(body)))) + var out admissionv1.AdmissionReview + if rec.Code == http.StatusOK { + if err := json.Unmarshal(rec.Body.Bytes(), &out); err != nil { + t.Fatalf("decode response %q: %v", rec.Body.String(), err) + } + } + return rec, out +} + +func patchOf(t *testing.T, resp *admissionv1.AdmissionResponse) []patchOp { + t.Helper() + if resp == nil { + t.Fatal("no response") + } + if !resp.Allowed { + t.Fatalf("pod not allowed: %+v", resp.Result) + } + if resp.Patch == nil { + return nil + } + if resp.PatchType == nil || *resp.PatchType != admissionv1.PatchTypeJSONPatch { + t.Fatalf("patchType = %v, want JSONPatch", resp.PatchType) + } + var ops []patchOp + if err := json.Unmarshal(resp.Patch, &ops); err != nil { + t.Fatalf("decode patch %q: %v", resp.Patch, err) + } + return ops +} + +func TestMutatePodsAddsAnnotationsFromNamespace(t *testing.T) { + withNamespace(t, map[string]string{AnnotationRoutes: "ns-routes", AnnotationPortSecurity: "false"}, nil, "global-routes", true) + rec, out := mutate(t, review(t, admissionv1.Create, "Pod", nil)) + if rec.Code != http.StatusOK { + t.Fatalf("status %d", rec.Code) + } + if out.APIVersion != "admission.k8s.io/v1" || out.Kind != "AdmissionReview" { + t.Errorf("response TypeMeta = %+v", out.TypeMeta) + } + if out.Response.UID != "req-uid" { + t.Errorf("UID = %q, want the request UID", out.Response.UID) + } + ops := patchOf(t, out.Response) + want := map[string]string{AnnotationRoutes: "ns-routes", AnnotationPortSecurity: "false"} + if len(ops) != 1 || ops[0].Op != "add" || ops[0].Path != "/metadata/annotations" || !maps.Equal(ops[0].Value, want) { + t.Fatalf("patch = %+v, want one add of %v at /metadata/annotations", ops, want) + } +} + +func TestMutatePodsFallsBackToGlobalFlags(t *testing.T) { + withNamespace(t, nil, nil, "global-routes", true) + _, out := mutate(t, review(t, admissionv1.Create, "Pod", map[string]string{"keep": "me"})) + ops := patchOf(t, out.Response) + want := map[string]string{"keep": "me", AnnotationRoutes: "global-routes", AnnotationPortSecurity: "true"} + if len(ops) != 1 || ops[0].Op != "replace" || ops[0].Path != "/metadata/annotations" || !maps.Equal(ops[0].Value, want) { + t.Fatalf("patch = %+v, want one replace with %v", ops, want) + } +} + +func TestMutatePodsKeepsPodAnnotations(t *testing.T) { + withNamespace(t, map[string]string{AnnotationRoutes: "ns-routes", AnnotationPortSecurity: "true"}, nil, "", false) + _, out := mutate(t, review(t, admissionv1.Create, "Pod", map[string]string{AnnotationRoutes: "pod-routes", AnnotationPortSecurity: "false"})) + if ops := patchOf(t, out.Response); ops != nil { + t.Fatalf("patch = %+v, want none when the pod sets both annotations", ops) + } +} + +func TestMutatePodsKeepsPodRoutesWhileAddingPortSecurity(t *testing.T) { + withNamespace(t, map[string]string{AnnotationRoutes: "ns-routes", AnnotationPortSecurity: "true"}, nil, "", false) + _, out := mutate(t, review(t, admissionv1.Create, "Pod", map[string]string{AnnotationRoutes: "pod-routes"})) + ops := patchOf(t, out.Response) + want := map[string]string{AnnotationRoutes: "pod-routes", AnnotationPortSecurity: "true"} + if len(ops) != 1 || !maps.Equal(ops[0].Value, want) { + t.Fatalf("patch = %+v, want annotations %v", ops, want) + } +} + +func TestMutatePodsNothingToAdd(t *testing.T) { + withNamespace(t, map[string]string{}, nil, "", false) + _, out := mutate(t, review(t, admissionv1.Create, "Pod", nil)) + if ops := patchOf(t, out.Response); ops != nil { + t.Fatalf("patch = %+v, want none", ops) + } +} + +func TestMutatePodsPassesThroughOtherRequests(t *testing.T) { + withNamespace(t, map[string]string{AnnotationRoutes: "ns-routes"}, nil, "global-routes", true) + for _, tc := range []struct { + op admissionv1.Operation + kind string + }{ + {admissionv1.Update, "Pod"}, + {admissionv1.Create, "Deployment"}, + } { + _, out := mutate(t, review(t, tc.op, tc.kind, nil)) + if ops := patchOf(t, out.Response); ops != nil { + t.Errorf("%s %s: patch = %+v, want none", tc.op, tc.kind, ops) + } + if out.Response.UID != "req-uid" { + t.Errorf("%s %s: UID = %q", tc.op, tc.kind, out.Response.UID) + } + } +} + +func TestMutatePodsAllowsWhenNamespaceLookupFails(t *testing.T) { + withNamespace(t, nil, errors.New("forbidden"), "global-routes", true) + _, out := mutate(t, review(t, admissionv1.Create, "Pod", nil)) + if ops := patchOf(t, out.Response); ops != nil { + t.Fatalf("patch = %+v, want none when the namespace cannot be read", ops) + } +} + +func TestMutatePodsRejectsMalformedBody(t *testing.T) { + rec, _ := mutate(t, []byte("not json")) + if rec.Code != http.StatusBadRequest { + t.Fatalf("status %d, want 400", rec.Code) + } +} + +func TestMutatePodsRejectsReviewWithoutRequest(t *testing.T) { + rec, _ := mutate(t, []byte(`{"apiVersion":"admission.k8s.io/v1","kind":"AdmissionReview"}`)) + if rec.Code != http.StatusBadRequest { + t.Fatalf("status %d, want 400", rec.Code) + } +} From 29fb27461eec69eadbaa270faafa9cefa6e3fef9 Mon Sep 17 00:00:00 2001 From: Aleksei Sviridkin Date: Fri, 13 Nov 2026 01:16:25 +0300 Subject: [PATCH 03/10] fix(dashboard): refresh the token proxy session cookie securecookie encodes sessions with gob, so the issued and expires times come back as int64. The refresh looked for a float64, found none and never fired, so --cookie-refresh=1h, which the chart sets, did nothing. The times are now read in either form. A refreshed cookie keeps the token's expiry: it gets a new issued time and a fresh securecookie timestamp, never a longer life than the token inside it. Encoding a session fails when it outgrows securecookie's maximum length, which a large token can reach. Sign-in set an empty cookie in that case, and the refresh, now that it runs, would have replaced a working cookie with an empty one. Sign-in now shows an error instead, and a refresh that cannot encode leaves the current cookie in place. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin --- .../dashboard/images/token-proxy/main.go | 140 +++++++++------- .../images/token-proxy/session_test.go | 158 ++++++++++++++++++ 2 files changed, 242 insertions(+), 56 deletions(-) create mode 100644 packages/system/dashboard/images/token-proxy/session_test.go diff --git a/packages/system/dashboard/images/token-proxy/main.go b/packages/system/dashboard/images/token-proxy/main.go index caae63ec7..a583ff3e3 100644 --- a/packages/system/dashboard/images/token-proxy/main.go +++ b/packages/system/dashboard/images/token-proxy/main.go @@ -429,6 +429,75 @@ func encodeSession(sc *securecookie.SecureCookie, token string, exp, issued int6 return token, nil } +// decodeSession reads the token and session out of a cookie value. Without a +// cookie secret the value is the bare token. +func decodeSession(sc *securecookie.SecureCookie, value string, now time.Time) (string, map[string]any, error) { + if sc == nil { + return value, map[string]any{ + "expires": now.Add(24 * time.Hour).Unix(), + "issued": now.Unix(), + }, nil + } + var sess map[string]any + if err := sc.Decode(cookieName, value, &sess); err != nil { + return "", nil, err + } + token, _ := sess["access_token"].(string) + return token, sess, nil +} + +// sessionCookie builds the cookie that carries a session until the token +// expires. +func sessionCookie(sc *securecookie.SecureCookie, token string, exp, issued int64) (*http.Cookie, error) { + enc, err := encodeSession(sc, token, exp, issued) + if err != nil { + return nil, err + } + return &http.Cookie{ + Name: cookieName, + Value: enc, + Path: "/", + Expires: time.Unix(exp, 0), + Secure: cookieSecure, + HttpOnly: true, + SameSite: http.SameSiteLaxMode, + }, nil +} + +// refreshedCookie re-issues the session cookie once it is older than refresh, +// keeping the token's expiry. It returns nil when no refresh is due. +func refreshedCookie(sc *securecookie.SecureCookie, token string, sess map[string]any, refresh time.Duration, now time.Time) *http.Cookie { + if refresh <= 0 { + return nil + } + issued, ok := unixSeconds(sess["issued"]) + if !ok || now.Sub(time.Unix(issued, 0)) <= refresh { + return nil + } + expires, ok := unixSeconds(sess["expires"]) + if !ok { + return nil + } + c, err := sessionCookie(sc, token, expires, now.Unix()) + if err != nil { + log.Printf("session refresh skipped: %v", err) + return nil + } + return c +} + +// unixSeconds reads a session time. The default gob encoding of securecookie +// returns the int64 it was given; its JSON encoder would return a float64. +func unixSeconds(v any) (int64, bool) { + switch n := v.(type) { + case int64: + return n, true + case float64: + return int64(n), true + } + return 0, false +} + /* ----------------------------- main ------------------------------------- */ func main() { @@ -498,16 +567,13 @@ func main() { if expTime, ok := verifiedToken.Expiration(); ok && !expTime.IsZero() { exp = expTime.Unix() } - session, _ := encodeSession(sc, token, exp, time.Now().Unix()) - http.SetCookie(w, &http.Cookie{ - Name: cookieName, - Value: session, - Path: "/", - Expires: time.Unix(exp, 0), - Secure: cookieSecure, - HttpOnly: true, - SameSite: http.SameSiteLaxMode, - }) + c, err := sessionCookie(sc, token, exp, time.Now().Unix()) + if err != nil { + log.Printf("session cookie: %v", err) + _ = loginTmpl.Execute(w, newLoginData(signIn, "Could not store the session", brandingConfigPath)) + return + } + http.SetCookie(w, c) http.Redirect(w, r, "/", http.StatusSeeOther) } }) @@ -534,20 +600,10 @@ func main() { http.Error(w, "unauthorized", http.StatusUnauthorized) return } - var token string - var sess map[string]any - if sc != nil { - if err := sc.Decode(cookieName, c.Value, &sess); err != nil { - http.Error(w, "unauthorized", http.StatusUnauthorized) - return - } - token, _ = sess["access_token"].(string) - } else { - token = c.Value - sess = map[string]any{ - "expires": time.Now().Add(24 * time.Hour).Unix(), - "issued": time.Now().Unix(), - } + token, sess, err := decodeSession(sc, c.Value, time.Now()) + if err != nil { + http.Error(w, "unauthorized", http.StatusUnauthorized) + return } // Re-verify the token to ensure it's still valid @@ -608,42 +664,14 @@ func main() { http.Redirect(w, r, signIn, http.StatusFound) return } - var token string - var sess map[string]any - if sc != nil { - if err := sc.Decode(cookieName, c.Value, &sess); err != nil { - http.Redirect(w, r, signIn, http.StatusFound) - return - } - token, _ = sess["access_token"].(string) - } else { - token = c.Value - sess = map[string]any{ - "expires": time.Now().Add(24 * time.Hour).Unix(), - "issued": time.Now().Unix(), - } - } - if token == "" { + token, sess, err := decodeSession(sc, c.Value, time.Now()) + if err != nil || token == "" { http.Redirect(w, r, signIn, http.StatusFound) return } - // cookie refresh - if cookieRefresh > 0 { - if issued, ok := sess["issued"].(float64); ok { - if time.Since(time.Unix(int64(issued), 0)) > cookieRefresh { - enc, _ := encodeSession(sc, token, int64(sess["expires"].(float64)), time.Now().Unix()) - http.SetCookie(w, &http.Cookie{ - Name: cookieName, - Value: enc, - Path: "/", - Expires: time.Unix(int64(sess["expires"].(float64)), 0), - Secure: cookieSecure, - HttpOnly: true, - SameSite: http.SameSiteLaxMode, - }) - } - } + if rc := refreshedCookie(sc, token, sess, cookieRefresh, time.Now()); rc != nil { + http.SetCookie(w, rc) } r.Header.Set("Authorization", "Bearer "+token) diff --git a/packages/system/dashboard/images/token-proxy/session_test.go b/packages/system/dashboard/images/token-proxy/session_test.go new file mode 100644 index 000000000..803449116 --- /dev/null +++ b/packages/system/dashboard/images/token-proxy/session_test.go @@ -0,0 +1,158 @@ +package main + +import ( + "net/http" + "strings" + "testing" + "time" + + "github.com/gorilla/securecookie" +) + +func testCodec() *securecookie.SecureCookie { + return securecookie.New([]byte("0123456789abcdef0123456789abcdef"), nil) +} + +// The handlers read the session back with sc.Decode; the field types they +// get decide whether their type assertions hold. +func TestEncodeSessionRoundTrip(t *testing.T) { + sc := testCodec() + enc, err := encodeSession(sc, "tok", 2000, 1000) + if err != nil { + t.Fatal(err) + } + var sess map[string]any + if err := sc.Decode(cookieName, enc, &sess); err != nil { + t.Fatalf("decode: %v", err) + } + if sess["access_token"] != "tok" { + t.Errorf("access_token = %v", sess["access_token"]) + } + if sess["expires"] != int64(2000) || sess["issued"] != int64(1000) { + t.Errorf("expires, issued = %#v, %#v; want int64 2000, 1000", sess["expires"], sess["issued"]) + } +} + +func TestEncodeSessionWithoutSecretIsTheBareToken(t *testing.T) { + enc, err := encodeSession(nil, "tok", 2000, 1000) + if err != nil || enc != "tok" { + t.Fatalf("encodeSession(nil) = %q, %v; want the token", enc, err) + } +} + +func TestSessionCookieRejectsTampering(t *testing.T) { + sc := testCodec() + enc, err := encodeSession(sc, "tok", 2000, 1000) + if err != nil { + t.Fatal(err) + } + b := []byte(enc) + b[len(b)/2] ^= 1 + var sess map[string]any + if err := sc.Decode(cookieName, string(b), &sess); err == nil { + t.Fatalf("tampered cookie decoded: %v", sess) + } + other := securecookie.New([]byte("fedcba9876543210fedcba9876543210"), nil) + if err := other.Decode(cookieName, enc, &sess); err == nil { + t.Fatal("cookie signed with another secret decoded") + } +} + +func TestSessionCookieRejectsExpiredTimestamp(t *testing.T) { + enc, err := encodeSession(testCodec(), "tok", 2000, 1000) + if err != nil { + t.Fatal(err) + } + // A negative max age makes every timestamp too old. + var sess map[string]any + if err := testCodec().MaxAge(-1).Decode(cookieName, enc, &sess); err == nil { + t.Fatal("expired cookie decoded") + } +} + +func TestDecodeSessionWithoutSecretTakesTheBareToken(t *testing.T) { + now := time.Unix(5000, 0) + token, sess, err := decodeSession(nil, "tok", now) + if err != nil || token != "tok" { + t.Fatalf("decodeSession(nil) = %q, %v", token, err) + } + if sess["issued"] != now.Unix() || sess["expires"] != now.Add(24*time.Hour).Unix() { + t.Errorf("session = %v", sess) + } +} + +func TestDecodeSessionRejectsForgedCookie(t *testing.T) { + if _, _, err := decodeSession(testCodec(), "tok", time.Now()); err == nil { + t.Fatal("a bare token decoded as a signed session") + } +} + +func signedSession(t *testing.T, sc *securecookie.SecureCookie, expires, issued time.Time) (string, map[string]any) { + t.Helper() + enc, err := encodeSession(sc, "tok", expires.Unix(), issued.Unix()) + if err != nil { + t.Fatal(err) + } + token, sess, err := decodeSession(sc, enc, issued) + if err != nil || token != "tok" { + t.Fatalf("decodeSession = %q, %v", token, err) + } + return token, sess +} + +// A refreshed cookie gets a new issued time and keeps the token's expiry, so +// refreshing never lets the cookie outlive the token. +func TestRefreshedCookieReissuesASignedSessionUntilTokenExpiry(t *testing.T) { + sc := testCodec() + now := time.Now() + expires := now.Add(time.Hour) + token, sess := signedSession(t, sc, expires, now.Add(-2*time.Hour)) + + c := refreshedCookie(sc, token, sess, time.Hour, now) + if c == nil { + t.Fatal("refreshedCookie = nil for a session older than the refresh interval") + } + if c.Expires.Unix() != expires.Unix() { + t.Errorf("cookie Expires = %v, want the token expiry %v", c.Expires, expires) + } + if c.Name != cookieName || c.Path != "/" || !c.HttpOnly || c.SameSite != http.SameSiteLaxMode { + t.Errorf("cookie = %+v, want %s on / HttpOnly SameSite=Lax", c, cookieName) + } + _, got, err := decodeSession(sc, c.Value, now) + if err != nil { + t.Fatalf("decode refreshed cookie: %v", err) + } + if got["issued"] != now.Unix() || got["expires"] != expires.Unix() { + t.Errorf("refreshed session = %v, want issued %d and expires %d", got, now.Unix(), expires.Unix()) + } +} + +func TestRefreshedCookieWaitsForTheInterval(t *testing.T) { + sc := testCodec() + now := time.Now() + token, sess := signedSession(t, sc, now.Add(time.Hour), now.Add(-30*time.Minute)) + if c := refreshedCookie(sc, token, sess, time.Hour, now); c != nil { + t.Errorf("refreshed a session younger than the interval: %+v", c) + } + token, sess = signedSession(t, sc, now.Add(time.Hour), now.Add(-2*time.Hour)) + if c := refreshedCookie(sc, token, sess, 0, now); c != nil { + t.Errorf("refreshed with refresh disabled: %+v", c) + } +} + +// securecookie refuses a value longer than its MaxLength, which a large token +// reaches; no half-written cookie may come out of that. +func TestSessionCookieReportsAnEncodingFailure(t *testing.T) { + sc := testCodec().MaxLength(64) + if c, err := sessionCookie(sc, strings.Repeat("t", 512), time.Now().Add(time.Hour).Unix(), time.Now().Unix()); err == nil { + t.Fatalf("sessionCookie = %+v, want an error", c) + } +} + +func TestRefreshedCookieSkipsASessionItCannotEncode(t *testing.T) { + now := time.Now() + token, sess := signedSession(t, testCodec(), now.Add(time.Hour), now.Add(-2*time.Hour)) + if c := refreshedCookie(testCodec().MaxLength(64), token, sess, time.Hour, now); c != nil { + t.Fatalf("refreshedCookie = %+v, want nil when the session cannot be encoded", c) + } +} From 9cd2d3ac0f92bed773a166a0befab60efddb8741 Mon Sep 17 00:00:00 2001 From: Aleksei Sviridkin Date: Fri, 13 Nov 2026 01:16:25 +0300 Subject: [PATCH 04/10] test(ci): smoke-test the tools that built images take from their base The CSI, LINSTOR, multus, Harbor and redis-backup images call tools at runtime that their base images or build stages install: mkfs and mount.nfs, drbd, lvm and zfs, the CNI plugins, nginx and trivy under a fixed uid, redis 8. A base or tool bump that drops one still builds, and only fails once the image runs in a cluster. The kubevirt CSI node plugin and its sidecars run inside tenant VMs on whatever vCPU they are given, so their filesystem tools, libc and Go entrypoints must not require more than x86-64-v2. C objects declare that level in a GNU property note and Go binaries in their GOAMD64 build setting; a file that records neither fails the check. Each PR build job runs the checks against the images it pushed, found by diffing the tree's image references before and after the build. Fork PRs are skipped because their images are not in a registry yet, and the unit lane runs no container. A change to kubevirt-csi-node alone, where the node sidecar tags live, now runs the kubevirt CSI build too, and the check fails when either sidecar is missing or the reference file cannot be read. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin --- .github/workflows/pull-requests.yaml | 14 +++ docs/agents/image-refs.md | 1 + hack/build-matrix.sh | 10 ++ hack/build-matrix_test.bats | 16 +++ hack/image-smoke.bats | 160 +++++++++++++++++++++++++++ hack/lib/image-refs.sh | 5 +- 6 files changed, 204 insertions(+), 2 deletions(-) create mode 100644 hack/image-smoke.bats diff --git a/.github/workflows/pull-requests.yaml b/.github/workflows/pull-requests.yaml index 92379083c..11d01dc15 100644 --- a/.github/workflows/pull-requests.yaml +++ b/.github/workflows/pull-requests.yaml @@ -482,6 +482,8 @@ jobs: buildkitd-config: hack/buildkitd.toml env: DOCKER_CONFIG: ${{ runner.temp }}/.docker + - name: Record image references before the build + run: sh -c '. hack/lib/image-refs.sh; collect_image_refs packages' | sort -u > "$RUNNER_TEMP/image-refs-before" - name: Build ${{ matrix.pkg }} run: | mkdir -p _out/oci @@ -511,6 +513,18 @@ jobs: # against the package dir — the archive would land in /_out/oci and # miss the repo-root _out/oci the upload reads. OCI_EXPORT_DIR: ${{ github.event.pull_request.head.repo.fork && format('{0}/_out/oci', github.workspace) || '' }} + # Fork PR images exist only as OCI archives at this point, so there is + # nothing to pull. + - name: Smoke-test the images this job built + if: ${{ !github.event.pull_request.head.repo.fork }} + env: + DOCKER_CONFIG: ${{ runner.temp }}/.docker + COZYTEST_TRACE: '0' + run: | + sh -c '. hack/lib/image-refs.sh; collect_image_refs packages' | sort -u > "$RUNNER_TEMP/image-refs-after" + comm -13 "$RUNNER_TEMP/image-refs-before" "$RUNNER_TEMP/image-refs-after" > "$RUNNER_TEMP/image-refs-built" + cat "$RUNNER_TEMP/image-refs-built" + IMAGE_SMOKE_REFS_FILE="$RUNNER_TEMP/image-refs-built" hack/cozytest.sh hack/image-smoke.bats - name: Capture digest patch fragment id: frag env: diff --git a/docs/agents/image-refs.md b/docs/agents/image-refs.md index 191bc62c2..9dec7b155 100644 --- a/docs/agents/image-refs.md +++ b/docs/agents/image-refs.md @@ -62,6 +62,7 @@ If a package stamps a reference somewhere the two globs do not cover, add that f | `hack/stitch-multiarch.sh` | all three shapes | join each amd64 image and its `-arm64` twin into one index, each side an image or, built with `SBOM=1`, an index of the image and its attestation that the result keeps, repin the tree on it, then fail if any old digest survives | | `hack/retention-packages.sh` | all three shapes, in the published nightly tree | name the GHCR packages the retention workflow prunes (those linked to another repository are then skipped); a ref it cannot see is a package whose nightlies are never pruned | | `hack/verify-multiarch.sh` | all three shapes, first- and third-party | fail a release unless every pinned image is an index with `linux/amd64` and `linux/arm64`, attestation entries not counted, bar the repositories in `hack/multiarch-allowlist` | +| PR build job, image smoke step | all three shapes | list the references a package build stamped, by diffing the tree before and after it, for `hack/image-smoke.bats` to run | `hack/multiarch-allowlist` is the only bypass for that gate, and it is for images that cannot exist for arm64, not for images nobody has rebuilt yet. An entry is a repository with no tag or digest, so bumping an allowed image needs no edit, and it must carry a reason after `#` on the same line: the script refuses an entry without one. Allowed refs are still printed, under their own "allowed single-arch" heading, and in tree mode an entry that matches no ref that failed the check is reported as stale without changing the exit status, so it gets removed once the image is multi-arch or gone. `--refs-file` reports no stale entries, since a list of pulled images omits everything the run did not pull. diff --git a/hack/build-matrix.sh b/hack/build-matrix.sh index d15267631..4c9e29ec3 100755 --- a/hack/build-matrix.sh +++ b/hack/build-matrix.sh @@ -96,4 +96,14 @@ if grep -qE '^packages/system/seaweedfs/' "$CHANGED"; then esac fi +# the kubevirt-csi-node sidecars run on tenant vCPUs and are ISA-checked by +# hack/image-smoke.bats in the job that builds kubevirt-csi-driver, so a +# kubevirt-csi-node-only diff must still run the kubernetes build. +if grep -qE '^packages/system/kubevirt-csi-node/' "$CHANGED"; then + case " $selected " in + *" packages/apps/kubernetes "*) : ;; + *) selected="$selected packages/apps/kubernetes" ;; + esac +fi + emit_json "$selected" diff --git a/hack/build-matrix_test.bats b/hack/build-matrix_test.bats index c11f2707f..05673ec25 100644 --- a/hack/build-matrix_test.bats +++ b/hack/build-matrix_test.bats @@ -139,6 +139,22 @@ load test_helper rm -f "$tmp" } +@test "kubevirt-csi-node change fans out to the kubernetes build" { + tmp=$(mktemp) + echo "packages/system/kubevirt-csi-node/templates/deploy.yaml" > "$tmp" + out=$(hack/build-matrix.sh "$tmp") + [ "$out" = '["packages/apps/kubernetes"]' ] + rm -f "$tmp" +} + +@test "kubevirt-csi-node change does not duplicate an already-selected kubernetes build" { + tmp=$(mktemp) + printf 'packages/system/kubevirt-csi-node/templates/deploy.yaml\npackages/apps/kubernetes/values.yaml\n' > "$tmp" + out=$(hack/build-matrix.sh "$tmp") + [ "$out" = '["packages/apps/kubernetes"]' ] + rm -f "$tmp" +} + @test "cozy-lib change forces the full matrix" { tmp=$(mktemp) echo "packages/library/cozy-lib/templates/_helpers.tpl" > "$tmp" diff --git a/hack/image-smoke.bats b/hack/image-smoke.bats new file mode 100644 index 000000000..d496ebf73 --- /dev/null +++ b/hack/image-smoke.bats @@ -0,0 +1,160 @@ +#!/usr/bin/env bats +# ----------------------------------------------------------------------------- +# Smoke checks for images whose runtime depends on tools their base image or a +# build stage installs: a base or tool bump can drop a package or change its +# major version with nothing failing at build time. +# +# IMAGE_SMOKE_REFS_FILE names a file with one image reference per line, the +# images built by the current CI job. A test whose image is not listed passes +# without running, so the unit lane, which builds nothing, runs no containers. +# +# Run with: IMAGE_SMOKE_REFS_FILE= hack/cozytest.sh hack/image-smoke.bats +# ----------------------------------------------------------------------------- + +load test_helper + +# Prints the first listed reference whose repository is named $1. +smoke_ref() { + [ -n "${IMAGE_SMOKE_REFS_FILE:-}" ] || return 0 + # The pipeline takes head's status, so a grep that cannot read the file + # would look like an image the job did not build. + [ -r "$IMAGE_SMOKE_REFS_FILE" ] || { echo "$IMAGE_SMOKE_REFS_FILE: cannot read the refs file" >&2; return 1; } + grep -E "/$1([:@]|\$)" "$IMAGE_SMOKE_REFS_FILE" | head -n 1 +} + +smoke_run() { + docker run --rm --network none --entrypoint sh "$1" -c "$2" +} + +# readelf and go come from the golang builder the CSI image already pins, since +# the checked images carry neither. It is pulled through mirror.gcr.io, as the +# image builds pull docker.io: anonymous Docker Hub pulls hit its rate limit. +READELF_IMAGE=$(sed -n 's|^ARG builder_image=docker.io/|mirror.gcr.io/|p' "$PWD/packages/apps/kubernetes/images/kubevirt-csi-driver/Dockerfile") + +# Fails when any of the given files, copied out of image $1, requires an x86 +# ISA level above x86-64-v2: a C object through its GNU property note, a Go +# binary through the GOAMD64 it was built with, which leaves no note. glibc +# refuses to load such an object on an older CPU and a Go binary dies at start, +# so the container is scheduled and every exec of it fails. v2 is the floor the +# AlmaLinux 9 userland already sets. A path prefixed with ? is skipped when the +# image does not have it. +isa_baseline() { + isa_img=$1 + shift + isa_dir=$(mktemp -d "${TMPDIR:-/tmp}/image-smoke-isa.XXXXXX") + isa_cid=$(docker create "$isa_img" true) || { rm -rf "$isa_dir"; return 1; } + isa_rc=0 + for isa_f in "$@"; do + case "$isa_f" in + \?*) docker cp -L "$isa_cid:${isa_f#?}" "$isa_dir/$(basename "$isa_f")" 2>/dev/null || true ;; + *) docker cp -L "$isa_cid:$isa_f" "$isa_dir/$(basename "$isa_f")" || isa_rc=1 ;; + esac + done + docker rm "$isa_cid" >/dev/null + isa_out= + if [ "$isa_rc" -eq 0 ]; then + # A file that yields neither line was not judged at all, so it fails too. + isa_out=$(docker run --rm --network none -v "$isa_dir:/x:ro" --entrypoint sh "$READELF_IMAGE" \ + -c 'command -v readelf >/dev/null && command -v go >/dev/null || exit 1 + for f in /x/*; do + l=$(readelf -n "$f" | sed -n "s|.*x86 ISA needed: *|$f: |p" + go version -m "$f" 2>/dev/null | sed -n "s|.*GOAMD64=|$f: GOAMD64=|p") + [ -n "$l" ] || { echo "$f: no ISA level recorded"; exit 1; } + echo "$l" + done') || isa_rc=1 + fi + rm -rf "$isa_dir" + printf '%s\n' "$isa_out" + [ "$isa_rc" -eq 0 ] || return 1 + if printf '%s\n' "$isa_out" | grep -E 'x86-64-v[34]|GOAMD64=v[34]'; then + return 1 + fi +} + +@test "a refs file that cannot be read fails the lookup instead of skipping" { + if IMAGE_SMOKE_REFS_FILE=/nonexistent/image-refs smoke_ref kubevirt-csi-driver; then + echo "FAIL: smoke_ref succeeded on a missing refs file" >&2 + false + fi +} + +@test "kubevirt-csi-driver carries the filesystem and NFS tools" { + ref=$(smoke_ref kubevirt-csi-driver) + [ -n "$ref" ] || return 0 + smoke_run "$ref" 'mkfs.ext4 -V && mkfs.xfs -V && mount.nfs -V' +} + +# The node service runs inside tenant VMs, whose vCPUs may not offer +# x86-64-v3. +@test "kubevirt-csi-driver runs its filesystem tools without x86-64-v3" { + ref=$(smoke_ref kubevirt-csi-driver) + [ -n "$ref" ] || return 0 + paths=$(smoke_run "$ref" 'for b in mkfs.ext4 mkfs.xfs fsck.ext4 blkid mount umount; do p=$(command -v "$b") || { echo "$b: not found" >&2; exit 1; }; readlink -f "$p"; done; readlink -f /usr/lib64/libc.so.6') + [ "$(docker image inspect --format '{{.Architecture}}' "$ref")" = amd64 ] || return 0 + # shellcheck disable=SC2086 + isa_baseline "$ref" $paths +} + +# The CSI sidecars run beside the driver in the same pods, so they are checked +# in its job; hack/build-matrix.sh runs that job for a kubevirt-csi-node change +# too. The node sidecars are required by name in the node manifest: a +# reference the grep stops matching there would otherwise go unchecked. +@test "the KubeVirt CSI sidecars run without x86-64-v3" { + ref=$(smoke_ref kubevirt-csi-driver) + [ -n "$ref" ] || return 0 + sidecars=$(grep -ohE 'registry\.k8s\.io/sig-storage/[^"[:space:]]+' \ + "$PWD/packages/apps/kubernetes/templates/csi/deploy.yaml" \ + "$PWD/packages/system/kubevirt-csi-node/templates/deploy.yaml" | sort -u) + for want in csi-node-driver-registrar livenessprobe; do + grep -qE "registry\.k8s\.io/sig-storage/$want:" "$PWD/packages/system/kubevirt-csi-node/templates/deploy.yaml" \ + || { echo "$want: no reference found in kubevirt-csi-node" >&2; return 1; } + done + for sidecar in $sidecars; do + docker pull -q --platform linux/amd64 "$sidecar" >/dev/null + entry=$(docker image inspect --format '{{index .Config.Entrypoint 0}}' "$sidecar") + isa_baseline "$sidecar" "$entry" '?/lib/x86_64-linux-gnu/libc.so.6' '?/usr/lib64/libc.so.6' + done +} + +@test "linstor-csi carries the filesystem and NFS tools and an mtab link" { + ref=$(smoke_ref linstor-csi) + [ -n "$ref" ] || return 0 + smoke_run "$ref" 'mkfs.ext4 -V && mkfs.xfs -V && mount.nfs -V && test -L /etc/mtab' +} + +@test "piraeus-server carries drbd, lvm, zfs, java and the linstor client" { + ref=$(smoke_ref piraeus-server) + [ -n "$ref" ] || return 0 + # zfs and zpool exit non-zero without the kernel module, so only presence is checked. + smoke_run "$ref" 'drbdadm --version && command -v lvm && command -v zfs && command -v zpool && java -version && linstor --version' +} + +@test "multus-cni starts and ships the CNI plugins" { + ref=$(smoke_ref multus-cni) + [ -n "$ref" ] || return 0 + smoke_run "$ref" '/usr/src/multus-cni/bin/multus-daemon --help >/dev/null 2>&1 && for p in bridge host-local macvlan portmap tuning; do test -x /cni-plugins/$p || exit 1; done' +} + +@test "harbor nginx-photon runs nginx as uid 10000" { + ref=$(smoke_ref nginx-photon) + [ -n "$ref" ] || return 0 + smoke_run "$ref" 'nginx -v && test "$(id -u nginx)" = 10000' +} + +@test "harbor trivy-adapter-photon carries rpm and trivy for scanner uid 10000" { + ref=$(smoke_ref trivy-adapter-photon) + [ -n "$ref" ] || return 0 + smoke_run "$ref" 'rpm --version && trivy --version && test "$(id -u scanner)" = 10000' +} + +@test "harbor-core runs as harbor uid 10000" { + ref=$(smoke_ref harbor-core) + [ -n "$ref" ] || return 0 + smoke_run "$ref" 'test "$(id -u harbor)" = 10000 && test -x /harbor/harbor_core' +} + +@test "redis-backup carries redis 8 or newer and curl" { + ref=$(smoke_ref redis-backup) + [ -n "$ref" ] || return 0 + smoke_run "$ref" 'major=$(redis-server --version | sed -n "s/^Redis server v=\([0-9]*\)\..*/\1/p") && test "${major:-0}" -ge 8 && curl --version' +} diff --git a/hack/lib/image-refs.sh b/hack/lib/image-refs.sh index 791067f05..4b8732388 100644 --- a/hack/lib/image-refs.sh +++ b/hack/lib/image-refs.sh @@ -3,8 +3,9 @@ # # Sourced by hack/promote-rewrite-tags.sh, hack/promote-retag.sh, # hack/nightly-mirror.sh, hack/verify-promoted-packages.sh, -# hack/stitch-multiarch.sh, hack/verify-multiarch.sh and -# hack/retention-packages.sh. It exists because the +# hack/stitch-multiarch.sh, hack/verify-multiarch.sh, +# hack/retention-packages.sh and the image-reference record and smoke steps +# of the PR build job. It exists because the # first three call sites each grew their own idea of where a ref can live, and # drifted: promote-retag and nightly-mirror scanned only the depth-2 # values.yaml, while the promote workflow's tag rewrite scanned those plus From b66905052bcd6d2a65a0dadf9aaf2206d6f7a3eb Mon Sep 17 00:00:00 2001 From: Aleksei Sviridkin Date: Fri, 13 Nov 2026 06:46:21 +0300 Subject: [PATCH 05/10] chore(renovate): hold the updates known to break Renovate should not keep proposing updates that are known not to work. A rule holds each such dependency and names the reason in its description: the cel-go releases its repository no longer tags, kube-openapi's move to structured-merge-diff v7 and that v7 itself, the Flux API modules running ahead of the installed CRDs, the controller-runtime admission API on jsonpatch v2, the jwk.Cache that jwx v4 removed, the CDI API upstream csi-driver no longer compiles against, the node 18 engine outline-server declares, the x86-64-v3 floor of AlmaLinux 10, the Flux CLI version the flux action has to install, the one-minor skew kubectl allows against the management cluster, and the uutils date of Ubuntu 26.04, which slows the e2e sandbox install by about ten minutes. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin --- .github/renovate.json | 95 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 94 insertions(+), 1 deletion(-) diff --git a/.github/renovate.json b/.github/renovate.json index f36beeb6b..be2a0c81e 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -61,6 +61,61 @@ "matchManagers": ["gomod"], "matchPackageNames": ["sigs.k8s.io/controller-runtime", "k8s.io/**"] }, + { + "description": "cel-go moved to cel.dev/cel-go, and the github.com/google/cel-go repository has no tags past v0.30.0. proxy.golang.org still serves v0.31.0 and v0.32.0 from its cache, but a build that resolves modules from the repository (GOPROXY=direct, or an Athens or Artifactory proxy that fetches from VCS) fails on them, and v0.32.0 declares the module path cel.dev/cel-go, which k8s.io/apiserver does not import. The rule can go once nothing in the module graph requires github.com/google/cel-go.", + "matchManagers": ["gomod"], + "matchPackageNames": ["github.com/google/cel-go"], + "allowedVersions": "<0.31.0" + }, + { + "description": "The newest kube-openapi commits require structured-merge-diff v7, and k8s.io/apimachinery v0.37 does not compile against it (pkg/util/managedfields/internal/typeconverter.go hands v7 schema types to v6). Renovate does not raise kube-openapi; each module keeps the commit its dependencies require, and it moves with the Kubernetes libraries.", + "matchManagers": ["gomod"], + "matchPackageNames": ["k8s.io/kube-openapi"], + "enabled": false + }, + { + "description": "Renovate offers a dependency's patch and minor update as one update to the newest minor unless they are split, so the Flux hold below would also drop the patch releases it means to let through.", + "matchManagers": ["gomod"], + "matchPackageNames": ["github.com/fluxcd/**"], + "separateMinorPatch": true + }, + { + "description": "structured-merge-diff v7 is a new module path that k8s.io/apimachinery v0.37 does not compile against: its managedfields package hands v7 schema types to v6 (pkg/util/managedfields/internal/typeconverter.go). It moves when the Kubernetes libraries do.", + "matchManagers": ["gomod"], + "matchPackageNames": ["sigs.k8s.io/structured-merge-diff/**"], + "matchUpdateTypes": ["major"], + "enabled": false + }, + { + "description": "The Flux API modules describe the CRDs of the Flux release the platform installs (internal/fluxinstall), so they stay on that release line; patches still arrive. A newer minor would let the operator and the apps API write fields the installed controllers do not know. They move together with the Flux release.", + "matchManagers": ["gomod"], + "matchPackageNames": ["github.com/fluxcd/**"], + "matchUpdateTypes": ["major", "minor"], + "enabled": false + }, + { + "description": "controller-runtime's admission.Patched takes gomodules.xyz/jsonpatch/v2 operations, so the flux-shard-operator webhook cannot build its patch with v3 types. The major moves when controller-runtime does.", + "matchManagers": ["gomod"], + "matchPackageNames": ["gomodules.xyz/jsonpatch/**"], + "matchUpdateTypes": ["major"], + "enabled": false + }, + { + "description": "jwx v4 removes jwk.Cache, on which the token proxy's JWKS refresh and readiness are built, so the major needs that code rewritten rather than an import path bump.", + "matchManagers": ["gomod"], + "matchFileNames": ["packages/system/dashboard/images/token-proxy/**"], + "matchPackageNames": ["github.com/lestrrat-go/jwx/**"], + "matchUpdateTypes": ["major"], + "enabled": false + }, + { + "description": "Upstream kubevirt csi-driver builds against kubevirt.io/api v1.2 and CDI API v1.59; with a newer CDI API its controller no longer compiles (it passes ResourceRequirements where the newer DataVolume type wants VolumeResourceRequirements). Both follow upstream csi-driver.", + "matchManagers": ["gomod"], + "matchFileNames": ["packages/apps/kubernetes/images/kubevirt-csi-driver/**"], + "matchPackageNames": ["kubevirt.io/api", "kubevirt.io/containerized-data-importer-api"], + "matchUpdateTypes": ["major", "minor"], + "enabled": false + }, { "description": "Never bump the Go toolchain directive. go.mod is generated and the toolchain is pinned deliberately; raising it needs a matching setup-go and a codegen run, which is out of scope for an automated dependency bump.", "matchManagers": ["gomod"], @@ -80,7 +135,7 @@ "schedule": ["before 6am on monday"] }, { - "description": "The Harbor rebuilds reproduce one upstream release, so their build bases follow upstream's Makefile at that tag (GOBUILDIMAGE, NODEBUILDIMAGE) rather than the newest image. A golang tag bump builds Harbor with a toolchain upstream never shipped it with, and a node major breaks the Angular portal build. Tag bumps are disabled here; digest refreshes of the same tag still arrive through the digest group above. Move the tags by hand with HARBOR_VERSION.", + "description": "The Harbor rebuilds reproduce one upstream release, and their Dockerfiles assert that the Go and node versions they build with equal GOBUILDIMAGE and NODEBUILDIMAGE in upstream's Makefile at that tag, so a tag that moves either version fails the build. Digest refreshes of the same tag still arrive through the digest group above; move the tags with HARBOR_VERSION.", "matchManagers": ["dockerfile"], "matchFileNames": ["packages/system/harbor/images/**"], "matchUpdateTypes": ["major", "minor", "patch"], @@ -118,6 +173,44 @@ "matchManagers": ["gomod"], "matchPackageNames": ["kubevirt.io/csi-driver"], "enabled": false + }, + { + "description": "The flux action's tag has to equal the Flux CLI version it installs, which follows the Flux release the platform runs: hack/verify-promoted-packages.sh restates that CLI's excludeOCI set, and hack/ci-tool-installs-contract.bats fails when the two differ. The action moves together with the Flux release.", + "matchManagers": ["github-actions"], + "matchPackageNames": ["fluxcd/flux2"], + "matchUpdateTypes": ["major", "minor", "patch"], + "enabled": false + }, + { + "description": "AlmaLinux 10 builds its amd64 userland for x86-64-v3 (AVX2). The kubevirt CSI node service runs mkfs, blkid, fsck and mount from this image inside tenant VMs, and on a vCPU without x86-64-v3 each of them exits at startup while the pod looks healthy; the same CPU floor broke the driver's sidecars before. The image stays on AlmaLinux 9.", + "matchManagers": ["dockerfile"], + "matchFileNames": ["packages/apps/kubernetes/images/kubevirt-csi-driver/**"], + "matchPackageNames": ["almalinux", "docker.io/library/almalinux"], + "matchUpdateTypes": ["major"], + "enabled": false + }, + { + "description": "Ubuntu 26.04 ships uutils coreutils, whose date costs about four times as much per call as GNU date. hack/cozytest.sh forks date for every traced line, so on 26.04 the install phase of the e2e sandbox takes about ten minutes longer and the full suite no longer fits its job budget. The sandbox stays on Ubuntu 24.04 until the harness stops forking per line.", + "matchManagers": ["dockerfile"], + "matchFileNames": ["packages/core/testing/images/e2e-sandbox/**"], + "matchPackageNames": ["ubuntu"], + "matchUpdateTypes": ["major"], + "enabled": false + }, + { + "description": "outline-server declares engines node 18.x, and npm ci in the shadowbox build fails with EBADENGINE on any other node major. The node tag moves when outline-server raises its engine.", + "matchManagers": ["dockerfile"], + "matchFileNames": ["packages/apps/vpn/images/shadowbox/**"], + "matchPackageNames": ["node"], + "matchUpdateTypes": ["major"], + "enabled": false + }, + { + "description": "The cleanup hooks (post-delete, and kafka's pre-delete) run clastix/kubectl against the management cluster, and kubectl supports one minor of skew with the API server. The tag stays on a minor the supported management cluster versions accept; digest refreshes of that tag still arrive.", + "matchManagers": ["custom.regex"], + "matchPackageNames": ["docker.io/clastix/kubectl"], + "matchUpdateTypes": ["major", "minor"], + "enabled": false } ] } From a7e0a6e1870bdb58375cbd0e11f36bf7d1e3200b Mon Sep 17 00:00:00 2001 From: Aleksei Sviridkin Date: Fri, 13 Nov 2026 06:46:22 +0300 Subject: [PATCH 06/10] ci(workflows): move GitHub Actions to their Node 24 majors Most of the official actions move one or more majors, onto the Node 24 runtime. The inputs these workflows pass are still accepted, and the contract tests that pin the checkout and App token commits follow. Since checkout v6 the persisted token lives in a separate config file, so unsetting the extra header in .git/config no longer removes it. The release job's checkout stops persisting credentials, so its staging branch push goes out with the App token, and a contract test guards that setting. The flux action stays on v2.8.6, whose tag has to equal the Flux CLI version it installs. A self-hosted runner needs v2.327.1 or newer for the Node 24 checkout, which the Proxmox workflow now states next to its runs-on. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin --- .github/workflows/api-review-gate-fork.yaml | 10 +-- .github/workflows/api-review-gate.yaml | 8 +-- .github/workflows/backport-batch.yaml | 6 +- .github/workflows/build-arm64-nightly.yaml | 6 +- .github/workflows/build-main.yaml | 6 +- .github/workflows/build-release.yaml | 6 +- .github/workflows/changelog-generate.yaml | 10 +-- .github/workflows/changelog-rc.yaml | 10 +-- .github/workflows/codegen-drift.yml | 4 +- .github/workflows/codeql.yml | 8 +-- .github/workflows/cut-prerelease.yaml | 8 +-- .github/workflows/e2e-fork.yaml | 18 +++--- .github/workflows/e2e-isp-hosted.yaml | 4 +- .github/workflows/e2e-proxmox.yaml | 5 +- .github/workflows/e2e-tag.yaml | 10 +-- .github/workflows/issue-triage.yaml | 2 +- .github/workflows/labels.yaml | 6 +- .github/workflows/nightly.yaml | 10 +-- .github/workflows/pr-labeler.yaml | 8 +-- .github/workflows/pr-size.yaml | 2 +- .github/workflows/pre-commit.yml | 8 +-- .github/workflows/promote-rc.yaml | 26 ++++---- .github/workflows/pull-requests-release.yaml | 12 ++-- .github/workflows/pull-requests.yaml | 66 ++++++++++---------- .github/workflows/retention.yaml | 4 +- .github/workflows/scorecard.yml | 6 +- .github/workflows/stale.yaml | 2 +- .github/workflows/tags.yaml | 62 +++++++++--------- .github/workflows/ui-test.yaml | 6 +- .github/workflows/update-releasenotes.yaml | 4 +- .github/workflows/zizmor.yml | 2 +- hack/backport-batch-scheduled.bats | 2 +- hack/backport-batch-verify-job.bats | 2 +- hack/promote-gate-contract.bats | 15 +++++ 34 files changed, 190 insertions(+), 174 deletions(-) diff --git a/.github/workflows/api-review-gate-fork.yaml b/.github/workflows/api-review-gate-fork.yaml index 30611f07e..2e1884e56 100644 --- a/.github/workflows/api-review-gate-fork.yaml +++ b/.github/workflows/api-review-gate-fork.yaml @@ -96,7 +96,7 @@ jobs: steps: - name: Resolve fork PR and claim "API Review Gate" id: r - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: HEAD_SHA: ${{ github.event.workflow_run.head_sha }} with: @@ -170,7 +170,7 @@ jobs: GOPROXY: "https://proxy.golang.org|direct" steps: - name: Checkout default branch - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 persist-credentials: false @@ -178,7 +178,7 @@ jobs: # From the default branch's go.mod, and with no cache: a cache saved here # would be keyed in the default branch's scope. - name: Set up Go - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 + uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version-file: go.mod cache: false @@ -246,7 +246,7 @@ jobs: statuses: write steps: - name: Checkout the gate workflow - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: sparse-checkout: .github/workflows/api-review-gate.yaml sparse-checkout-cone-mode: false @@ -266,7 +266,7 @@ jobs: echo "owners=${owners}" >> "$GITHUB_OUTPUT" - name: Report "API Review Gate" commit status - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: API_OWNERS: ${{ steps.owners.outputs.owners }} HEAD_SHA: ${{ github.event.workflow_run.head_sha }} diff --git a/.github/workflows/api-review-gate.yaml b/.github/workflows/api-review-gate.yaml index 7e670a7c9..cb03a0955 100644 --- a/.github/workflows/api-review-gate.yaml +++ b/.github/workflows/api-review-gate.yaml @@ -98,7 +98,7 @@ jobs: GOPROXY: "https://proxy.golang.org|direct" steps: - name: Checkout head - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 @@ -109,7 +109,7 @@ jobs: persist-credentials: false - name: Set up Go - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 + uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version-file: go.mod cache: true @@ -247,7 +247,7 @@ jobs: statuses: write steps: - name: Report pending "API Review Gate" commit status - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: HEAD_SHA: ${{ github.event.pull_request.head.sha }} RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} @@ -293,7 +293,7 @@ jobs: statuses: write steps: - name: Report "API Review Gate" commit status - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GATE_RESULT: ${{ needs.api-review-gate.result }} SIZEABLE: ${{ needs.api-review-gate.outputs.sizeable }} diff --git a/.github/workflows/backport-batch.yaml b/.github/workflows/backport-batch.yaml index 8196c7468..bbb773560 100644 --- a/.github/workflows/backport-batch.yaml +++ b/.github/workflows/backport-batch.yaml @@ -61,13 +61,13 @@ jobs: fi - name: Checkout - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 persist-credentials: false - name: Set up Go - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 + uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version-file: go.mod cache: false @@ -77,7 +77,7 @@ jobs: - name: Generate GitHub App token id: app-token - uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ secrets.COZYSTACK_CI_APP_ID }} private-key: ${{ secrets.COZYSTACK_CI_PRIVATE_KEY }} diff --git a/.github/workflows/build-arm64-nightly.yaml b/.github/workflows/build-arm64-nightly.yaml index 781e192d5..c9b4bd2fe 100644 --- a/.github/workflows/build-arm64-nightly.yaml +++ b/.github/workflows/build-arm64-nightly.yaml @@ -43,7 +43,7 @@ jobs: fi - name: Checkout code - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 fetch-tags: true @@ -67,7 +67,7 @@ jobs: fi - name: Login to OCIR - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: username: ${{ secrets.OCIR_USER }} password: ${{ secrets.OCIR_TOKEN }} @@ -80,7 +80,7 @@ jobs: # limited. - name: Set up Buildx (docker-container driver, docker.io mirror) id: buildx - uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 with: driver: docker-container buildkitd-config: hack/buildkitd.toml diff --git a/.github/workflows/build-main.yaml b/.github/workflows/build-main.yaml index 7de6c53f5..885d58a09 100644 --- a/.github/workflows/build-main.yaml +++ b/.github/workflows/build-main.yaml @@ -54,7 +54,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 fetch-tags: true @@ -111,7 +111,7 @@ jobs: fi - name: Login to OCIR - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: username: ${{ secrets.OCIR_USER }} password: ${{ secrets.OCIR_TOKEN }} @@ -124,7 +124,7 @@ jobs: # isolated buildkit so it never contends with PR builds on the shared one. - name: Set up Buildx (docker-container driver) id: buildx - uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 with: driver: docker-container env: diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 27ad5db73..24025b81d 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -97,7 +97,7 @@ jobs: echo "Building line '$REF_NAME'." - name: Checkout code - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 fetch-tags: true @@ -120,7 +120,7 @@ jobs: fi - name: Login to OCIR - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: username: ${{ secrets.OCIR_USER }} password: ${{ secrets.OCIR_TOKEN }} @@ -132,7 +132,7 @@ jobs: # with PR builds on the shared embedded builder. - name: Set up Buildx (docker-container driver) id: buildx - uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 with: driver: docker-container env: diff --git a/.github/workflows/changelog-generate.yaml b/.github/workflows/changelog-generate.yaml index ff67b4f7e..3deb971f4 100644 --- a/.github/workflows/changelog-generate.yaml +++ b/.github/workflows/changelog-generate.yaml @@ -79,7 +79,7 @@ jobs: # prompt's instructions. The caller owns every write. - name: Generate read-only GitHub App token id: app-token-read - uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ secrets.COZYSTACK_CI_APP_ID }} private-key: ${{ secrets.COZYSTACK_CI_PRIVATE_KEY }} @@ -131,7 +131,7 @@ jobs: # upper bound" a property of the checkout rather than an instruction the # prompt has to talk the agent into honouring. - name: Checkout rc tag - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ steps.parse.outputs.rc_tag }} fetch-depth: 0 @@ -147,7 +147,7 @@ jobs: # actions/checkout rather than by shelling out to the repo's own tooling. # Gitignored, so the caller's `git add -A` never stages it. - name: Checkout release tooling from the dispatch ref - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ github.ref_name }} path: .release-tooling @@ -216,7 +216,7 @@ jobs: - name: Setup Node.js if: steps.check_changelog.outputs.exists == 'false' - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 22 @@ -273,7 +273,7 @@ jobs: # promote-rc's open-pr and changelog-rc's commit job download. - name: Upload changelog artifact if: steps.changelog_status.outputs.present == 'true' - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: changelog-v${{ steps.parse.outputs.stable_version }} path: docs/changelogs/v${{ steps.parse.outputs.stable_version }}.md diff --git a/.github/workflows/changelog-rc.yaml b/.github/workflows/changelog-rc.yaml index d7fc28a92..c3830da0b 100644 --- a/.github/workflows/changelog-rc.yaml +++ b/.github/workflows/changelog-rc.yaml @@ -67,7 +67,7 @@ jobs: # parse-rc-tag.sh lives in the tree, so overlay the dispatch ref's hack/ # before calling it. Gitignored; nothing in this job commits. - name: Checkout release tooling from the dispatch ref - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ github.ref_name }} path: .release-tooling @@ -165,7 +165,7 @@ jobs: - name: Generate GitHub App token id: app-token - uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ secrets.COZYSTACK_CI_APP_ID }} private-key: ${{ secrets.COZYSTACK_CI_PRIVATE_KEY }} @@ -177,7 +177,7 @@ jobs: # parse job (before generation), so it is not re-checked here — a checkout # failure for a branch deleted in the meantime is a rare, self-evident race. - name: Checkout rc staging branch - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ needs.parse.outputs.rc_branch }} fetch-depth: 0 @@ -188,7 +188,7 @@ jobs: # hack/validate-changelog.sh. Overlay the current tooling from the dispatch # ref, exactly as promote-rc and changelog-generate do. Gitignored. - name: Checkout release tooling from the dispatch ref - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ github.ref_name }} path: .release-tooling @@ -198,7 +198,7 @@ jobs: persist-credentials: false - name: Download changelog artifact - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: changelog-v${{ needs.parse.outputs.stable_version }} path: docs/changelogs diff --git a/.github/workflows/codegen-drift.yml b/.github/workflows/codegen-drift.yml index 773a758f7..e3eb42472 100644 --- a/.github/workflows/codegen-drift.yml +++ b/.github/workflows/codegen-drift.yml @@ -39,10 +39,10 @@ jobs: contents: read steps: - name: Checkout code - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set up Go - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 + uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version-file: go.mod cache: true diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 85b05a66e..b8790956c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -56,18 +56,18 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Set up Go - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 + uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version-file: go.mod cache: false - name: Initialize CodeQL - uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2 + uses: github/codeql-action/init@24c54180a607b1449ed407dd24f251e4e9147c8d # v4.38.3 with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} @@ -93,6 +93,6 @@ jobs: done - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2 + uses: github/codeql-action/analyze@24c54180a607b1449ed407dd24f251e4e9147c8d # v4.38.3 with: category: "/language:${{ matrix.language }}" diff --git a/.github/workflows/cut-prerelease.yaml b/.github/workflows/cut-prerelease.yaml index bfd159d94..488c11a1a 100644 --- a/.github/workflows/cut-prerelease.yaml +++ b/.github/workflows/cut-prerelease.yaml @@ -72,7 +72,7 @@ jobs: id: parse env: TAG: ${{ inputs.tag }} - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const tag = process.env.TAG.trim(); @@ -128,7 +128,7 @@ jobs: - name: Generate GitHub App token id: app-token - uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ secrets.COZYSTACK_CI_APP_ID }} private-key: ${{ secrets.COZYSTACK_CI_PRIVATE_KEY }} @@ -142,7 +142,7 @@ jobs: # changes or the job is reached by another path. Reads permission via the # app token (fails the step if the API errors — fail closed). - name: Require write access - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ steps.app-token.outputs.token }} script: | @@ -168,7 +168,7 @@ jobs: # credential (persist-credentials, default on) so the bare push below is # app-authenticated, and to resolve HEAD. One ref, shallow, no tags. - name: Check out the dispatched branch - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 1 token: ${{ steps.app-token.outputs.token }} diff --git a/.github/workflows/e2e-fork.yaml b/.github/workflows/e2e-fork.yaml index 03c568395..5fb5bbd71 100644 --- a/.github/workflows/e2e-fork.yaml +++ b/.github/workflows/e2e-fork.yaml @@ -95,7 +95,7 @@ jobs: # pull-requests.yaml's e2e-report and docs/agents/e2e-testing.md §10. - name: Resolve fork PR and post "E2E Tests" status id: r - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: HEAD_SHA: ${{ github.event.workflow_run.head_sha }} RUN_ID: ${{ github.event.workflow_run.id }} @@ -366,7 +366,7 @@ jobs: # The base repo's own merge ref — safe to fetch, not fork-controlled code # execution. pr.patch is applied as DATA below; nothing from the tree runs. - name: Checkout PR merge ref - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: refs/pull/${{ needs.resolve.outputs.pr_number }}/merge fetch-depth: 0 @@ -387,7 +387,7 @@ jobs: got="$(git rev-parse HEAD^2)" [ "$got" = "$EXPECTED_SHA" ] || { echo "::error::merge ref moved: HEAD^2=$got != resolved $EXPECTED_SHA"; exit 1; } - name: Download pr.patch - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: pr-patch path: _out/assets @@ -396,7 +396,7 @@ jobs: - name: Apply pr.patch (reconstruct digest-pinned tree) run: git apply --3way _out/assets/pr.patch - name: Download OCI image archives - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: pattern: pr-oci-* merge-multiple: true @@ -565,7 +565,7 @@ jobs: SANDBOX_NAME: cozy-e2e-sandbox-fork-${{ github.run_id }} steps: - name: Checkout PR merge ref - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: refs/pull/${{ needs.resolve.outputs.pr_number }}/merge fetch-depth: 0 @@ -593,7 +593,7 @@ jobs: rm -f "$yq_bin" fi - name: Download pr.patch - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: pr-patch path: _out/assets @@ -762,7 +762,7 @@ jobs: _out/chainsaw-report.xml || true - name: Upload chainsaw report if: always() - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: chainsaw-report path: _out/chainsaw-report.xml @@ -773,7 +773,7 @@ jobs: make -C packages/core/testing SANDBOX_NAME=$SANDBOX_NAME collect-report || true - name: Upload cozyreport.tgz if: always() - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: cozyreport path: _out/cozyreport.tgz @@ -801,7 +801,7 @@ jobs: statuses: write steps: - name: Report "E2E Tests" commit status - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: PUBLISH_RESULT: ${{ needs.publish.result }} E2E_RESULT: ${{ needs.e2e.result }} diff --git a/.github/workflows/e2e-isp-hosted.yaml b/.github/workflows/e2e-isp-hosted.yaml index 9d17e4508..bd34ddbb7 100644 --- a/.github/workflows/e2e-isp-hosted.yaml +++ b/.github/workflows/e2e-isp-hosted.yaml @@ -81,7 +81,7 @@ jobs: echo "Installing nightly ${rev:-}, packages ${digest}" - name: Checkout code - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 1 persist-credentials: false @@ -174,7 +174,7 @@ jobs: - name: Upload cozyreport.tgz if: always() - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: cozyreport-isp-hosted path: _out/cozyreport.tgz diff --git a/.github/workflows/e2e-proxmox.yaml b/.github/workflows/e2e-proxmox.yaml index 21515016d..2834b5591 100644 --- a/.github/workflows/e2e-proxmox.yaml +++ b/.github/workflows/e2e-proxmox.yaml @@ -36,7 +36,8 @@ jobs: # The job needs a self-hosted runner carrying the `proxmox` label. On a # repository without one a scheduled run would sit in the queue until GitHub # cancels it, so the schedule fires only where the stand is declared; - # manual dispatch always runs. + # manual dispatch always runs. The runner must be v2.327.1 or newer, the + # minimum the checkout README names for its node24 runtime. if: github.event_name == 'workflow_dispatch' || vars.PROXMOX_NIGHTLY == 'true' runs-on: [self-hosted, proxmox] timeout-minutes: 90 @@ -51,7 +52,7 @@ jobs: COZY_KEEP_TENANT: ${{ inputs.keep_tenant == true }} steps: - name: Checkout - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false diff --git a/.github/workflows/e2e-tag.yaml b/.github/workflows/e2e-tag.yaml index d9bba8559..96d8eee36 100644 --- a/.github/workflows/e2e-tag.yaml +++ b/.github/workflows/e2e-tag.yaml @@ -63,7 +63,7 @@ jobs: steps: - name: Validate tag and resolve release id: resolve - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: TAG: ${{ inputs.tag }} with: @@ -145,7 +145,7 @@ jobs: # The resolved ref is the digest-pinned staging branch for a prerelease, # or the stable tag's pinned merge tree. - name: Checkout resolved release tree - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ needs.resolve.outputs.tree_ref }} fetch-depth: 1 @@ -283,7 +283,7 @@ jobs: - name: Upload chainsaw report if: always() - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: chainsaw-report-${{ inputs.tag }} path: /tmp/${{ env.SANDBOX_NAME }}/_out/chainsaw-report.xml @@ -328,7 +328,7 @@ jobs: - name: Upload cozyreport.tgz if: always() - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: cozyreport-${{ inputs.tag }} path: /tmp/${{ env.SANDBOX_NAME }}/_out/cozyreport.tgz @@ -382,7 +382,7 @@ jobs: - name: Upload image list if: always() - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: image-list-${{ inputs.tag }} path: | diff --git a/.github/workflows/issue-triage.yaml b/.github/workflows/issue-triage.yaml index 95306f006..87e0806cd 100644 --- a/.github/workflows/issue-triage.yaml +++ b/.github/workflows/issue-triage.yaml @@ -65,7 +65,7 @@ jobs: issues: write steps: - name: Apply triage labels - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | // Labels applied with the workflow's GITHUB_TOKEN do not trigger diff --git a/.github/workflows/labels.yaml b/.github/workflows/labels.yaml index 5d025484e..f5789f5f2 100644 --- a/.github/workflows/labels.yaml +++ b/.github/workflows/labels.yaml @@ -27,7 +27,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Validate labels.yml schema run: | @@ -80,8 +80,8 @@ jobs: issues: write pull-requests: write steps: - - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 - - uses: EndBug/label-sync@52074158190acb45f3077f9099fea818aa43f97a # v2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: EndBug/label-sync@52074158190acb45f3077f9099fea818aa43f97a # v2.3.3 with: config-file: .github/labels.yml delete-other-labels: false diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 57cce6790..f80ef9cf1 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -130,7 +130,7 @@ jobs: echo "Resolved main build: sha=$sha version=$version packages_ref=$packages_ref" - name: Checkout source commit - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ steps.resolve.outputs.sha }} fetch-depth: 1 @@ -197,7 +197,7 @@ jobs: packages: write steps: - name: Checkout source commit - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ needs.mirror.outputs.sha }} fetch-depth: 1 @@ -256,7 +256,7 @@ jobs: packages: read steps: - name: Checkout source commit - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ needs.mirror.outputs.sha }} fetch-depth: 1 @@ -379,7 +379,7 @@ jobs: - name: Upload chainsaw report if: always() - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: chainsaw-report path: _out/chainsaw-report.xml @@ -418,7 +418,7 @@ jobs: - name: Upload cozyreport.tgz if: always() - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: cozyreport path: _out/cozyreport.tgz diff --git a/.github/workflows/pr-labeler.yaml b/.github/workflows/pr-labeler.yaml index 7aca218f7..f4c924def 100644 --- a/.github/workflows/pr-labeler.yaml +++ b/.github/workflows/pr-labeler.yaml @@ -20,7 +20,7 @@ jobs: pull-requests: write steps: - name: Apply labels from PR title - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | // Conventional Commits types accepted by Cozystack (per docs/agents/contributing.md): @@ -319,7 +319,7 @@ jobs: pull-requests: write # close the pull request with a comment steps: - name: Check out the base repository - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false sparse-checkout: hack @@ -354,13 +354,13 @@ jobs: GOPROXY: "https://proxy.golang.org|direct" steps: - name: Check out main - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: main fetch-depth: 0 persist-credentials: false - name: Set up Go - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 + uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version-file: go.mod cache: false diff --git a/.github/workflows/pr-size.yaml b/.github/workflows/pr-size.yaml index 78b8601fc..141d26bfd 100644 --- a/.github/workflows/pr-size.yaml +++ b/.github/workflows/pr-size.yaml @@ -19,7 +19,7 @@ jobs: permissions: pull-requests: write steps: - - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const pr = context.payload.pull_request; diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index c2e98276d..ffdd33f1f 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -23,13 +23,13 @@ jobs: contents: read steps: - name: Checkout code - uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 fetch-tags: true - name: Set up Python - uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4 + uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: '3.11' @@ -37,7 +37,7 @@ jobs: run: pip install pre-commit - name: Set up Go - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 + uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version-file: go.mod cache: true @@ -99,7 +99,7 @@ jobs: if: ${{ !(startsWith(github.head_ref, 'backport-batch/') && github.event.pull_request.head.repo.full_name == github.repository) }} steps: - name: Checkout head - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 diff --git a/.github/workflows/promote-rc.yaml b/.github/workflows/promote-rc.yaml index d0567018a..17113ea8f 100644 --- a/.github/workflows/promote-rc.yaml +++ b/.github/workflows/promote-rc.yaml @@ -90,7 +90,7 @@ jobs: id: parse env: RC_TAG: ${{ inputs.rc_tag }} - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const rc = process.env.RC_TAG; @@ -135,7 +135,7 @@ jobs: - name: Verify green RC E2E id: e2e-gate if: ${{ !inputs.skip_e2e_gate }} - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: RC_TAG: ${{ steps.parse.outputs.rc_tag }} with: @@ -274,7 +274,7 @@ jobs: steps: - name: Generate GitHub App token id: app-token - uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ secrets.COZYSTACK_CI_APP_ID }} private-key: ${{ secrets.COZYSTACK_CI_PRIVATE_KEY }} @@ -285,7 +285,7 @@ jobs: # Gate: the rc must exist as a (draft) release and the stable tag must NOT # exist yet. Refuse to promote twice or to an already-shipped version. - name: Validate rc is promotable - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ steps.app-token.outputs.token }} script: | @@ -394,7 +394,7 @@ jobs: # The rc's digest-vendored tree (the staging branch the rc build pushed). - name: Checkout rc staging branch - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ needs.parse.outputs.rc_branch }} fetch-depth: 0 @@ -448,7 +448,7 @@ jobs: fi - name: Login to registry (GHCR) - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} @@ -464,7 +464,7 @@ jobs: # actions/checkout rather than by shelling out to the repo's own tooling. # Gitignored, so promote's `git add -A` never stages it. - name: Checkout release tooling from the dispatch ref - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ github.ref_name }} path: .release-tooling @@ -710,7 +710,7 @@ jobs: steps: - name: Generate GitHub App token id: app-token - uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ secrets.COZYSTACK_CI_APP_ID }} private-key: ${{ secrets.COZYSTACK_CI_PRIVATE_KEY }} @@ -719,7 +719,7 @@ jobs: owner: cozystack - name: Checkout website repo - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: cozystack/website ref: main @@ -875,7 +875,7 @@ jobs: steps: - name: Generate GitHub App token id: app-token - uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ secrets.COZYSTACK_CI_APP_ID }} private-key: ${{ secrets.COZYSTACK_CI_PRIVATE_KEY }} @@ -887,7 +887,7 @@ jobs: # whether or not the changelog step ran, so it cannot rely on the # `git remote set-url` that only the conditional commit step performs. - name: Checkout stable staging branch - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ needs.promote.outputs.stable_branch }} fetch-depth: 0 @@ -905,7 +905,7 @@ jobs: # actions/checkout rather than by shelling out to the repo's own tooling. # Gitignored, so promote's `git add -A` never stages it. - name: Checkout release tooling from the dispatch ref - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ github.ref_name }} path: .release-tooling @@ -945,7 +945,7 @@ jobs: id: download if: needs.changelog.outputs.present == 'true' && steps.existing.outputs.present == 'false' continue-on-error: true - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: changelog-v${{ needs.promote.outputs.stable_version }} path: docs/changelogs diff --git a/.github/workflows/pull-requests-release.yaml b/.github/workflows/pull-requests-release.yaml index 9874544c1..03821ef68 100644 --- a/.github/workflows/pull-requests-release.yaml +++ b/.github/workflows/pull-requests-release.yaml @@ -55,7 +55,7 @@ jobs: steps: - name: Generate GitHub App token id: app-token - uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ secrets.COZYSTACK_CI_APP_ID }} private-key: ${{ secrets.COZYSTACK_CI_PRIVATE_KEY }} @@ -64,7 +64,7 @@ jobs: # Extract tag from branch name (branch = release-X.Y.Z*) - name: Extract tag from branch name id: get_tag - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const branch = context.payload.pull_request.head.ref; @@ -79,7 +79,7 @@ jobs: # Checkout repo & create / push annotated tag - name: Checkout repo - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 # Do NOT persist GITHUB_TOKEN as http.extraheader. Every tag/branch push @@ -96,7 +96,7 @@ jobs: # argument remains the merged packages tree checked out above. This keeps # the final guard independent of the release PR's executable contents. - name: Checkout release tooling from base - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ github.event.pull_request.base.sha }} path: .release-tooling @@ -236,7 +236,7 @@ jobs: # Ensure maintenance branch release-X.Y - name: Ensure maintenance branch release-X.Y - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ steps.app-token.outputs.token }} script: | @@ -308,7 +308,7 @@ jobs: # Publish draft release and ensure correct latest flag - name: Publish draft release id: publish - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ steps.app-token.outputs.token }} script: | diff --git a/.github/workflows/pull-requests.yaml b/.github/workflows/pull-requests.yaml index 11d01dc15..a2fe2102c 100644 --- a/.github/workflows/pull-requests.yaml +++ b/.github/workflows/pull-requests.yaml @@ -113,7 +113,7 @@ jobs: # still gets posted by `e2e-report`, and a run that dies before that # leaves the merge blocked either way. continue-on-error: true - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: HEAD_SHA: ${{ github.event.pull_request.head.sha }} RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} @@ -129,7 +129,7 @@ jobs: description: 'e2e in progress — this run has not reported yet', target_url: RUN_URL, }); - - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 # e2e-fork.yaml pushes a fork's images only under names the base tree @@ -240,14 +240,14 @@ jobs: # The default pull_request checkout is GitHub's prospective merge commit, # not just the head branch. That makes base-branch package drift visible. - name: Checkout prospective merge - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 # Execute the verifier from the trusted base SHA. An older rc-derived head # may not contain it, and a PR must not be able to weaken its own guard. - name: Checkout release tooling from base - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ github.event.pull_request.base.sha }} path: .release-tooling @@ -281,7 +281,7 @@ jobs: fi - name: Login to registry (GHCR) - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} @@ -320,7 +320,7 @@ jobs: !contains(github.event.pull_request.labels.*.name, 'release') steps: - name: Checkout code - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 # The module cache is restored from the key build-main.yaml writes on @@ -412,7 +412,7 @@ jobs: run: python3 hack/check-helm-document-indices.py "$(git merge-base HEAD "origin/$BASE_REF")" - name: Upload unit test report if: always() - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: bats-unit-report path: _out/test-reports/ @@ -440,7 +440,7 @@ jobs: pkg: ${{ fromJSON(needs.plan.outputs.matrix) }} steps: - name: Checkout code - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 fetch-tags: true @@ -457,7 +457,7 @@ jobs: fi - name: Login to GitHub Container Registry if: ${{ !github.event.pull_request.head.repo.fork }} - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: username: ${{ secrets.OCIR_USER }} password: ${{ secrets.OCIR_TOKEN }} @@ -476,7 +476,7 @@ jobs: # OCIR auth) so buildx forwards push/cache auth to the container builder. - name: Set up Buildx (docker-container driver, docker.io mirror) id: buildx - uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 with: driver: docker-container buildkitd-config: hack/buildkitd.toml @@ -539,7 +539,7 @@ jobs: echo "safe=${safe}" >> "$GITHUB_OUTPUT" echo "Fragment for ${PKG}:"; git --no-pager diff --stat HEAD - name: Upload patch fragment - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: pr-patch-fragment-${{ steps.frag.outputs.safe }} path: _out/fragments/${{ steps.frag.outputs.safe }}.patch @@ -548,7 +548,7 @@ jobs: # (OCI_EXPORT_DIR above). Upload them for e2e-fork.yaml to push by digest. - name: Upload OCI image archives (fork PR) if: ${{ github.event.pull_request.head.repo.fork }} - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: pr-oci-${{ steps.frag.outputs.safe }} path: _out/oci/*.oci.tar @@ -587,7 +587,7 @@ jobs: contents: read steps: - name: Checkout code - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 fetch-tags: true @@ -598,7 +598,7 @@ jobs: fi - name: Login to GitHub Container Registry if: ${{ !github.event.pull_request.head.repo.fork }} - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: username: ${{ secrets.OCIR_USER }} password: ${{ secrets.OCIR_TOKEN }} @@ -610,7 +610,7 @@ jobs: # anonymous-pull rate limit; see the build job for the full rationale. - name: Set up Buildx (docker-container driver, docker.io mirror) id: buildx - uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 with: driver: docker-container buildkitd-config: hack/buildkitd.toml @@ -638,7 +638,7 @@ jobs: git diff --binary HEAD > _out/fragments/talos.patch echo "Talos fragment:"; git --no-pager diff --stat HEAD - name: Upload Talos patch fragment - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: pr-patch-fragment-talos path: _out/fragments/talos.patch @@ -646,7 +646,7 @@ jobs: # Fork PR only: upload the Talos image OCI archive for e2e-fork.yaml. - name: Upload Talos OCI image archive (fork PR) if: ${{ github.event.pull_request.head.repo.fork }} - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: pr-oci-talos path: _out/oci/*.oci.tar @@ -677,7 +677,7 @@ jobs: contents: read steps: - name: Checkout code - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 fetch-tags: true @@ -686,7 +686,7 @@ jobs: with: version: "2.8.6" - name: Download patch fragments - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: pattern: pr-patch-fragment-* merge-multiple: true @@ -713,7 +713,7 @@ jobs: fi - name: Login to GitHub Container Registry if: ${{ !github.event.pull_request.head.repo.fork }} - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: username: ${{ secrets.OCIR_USER }} password: ${{ secrets.OCIR_TOKEN }} @@ -833,7 +833,7 @@ jobs: # anonymous-pull rate limit; see the build job for the full rationale. - name: Set up Buildx (docker-container driver, docker.io mirror) id: buildx - uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 with: driver: docker-container buildkitd-config: hack/buildkitd.toml @@ -867,7 +867,7 @@ jobs: # Fork PR only: upload the operator image OCI archive for e2e-fork.yaml. - name: Upload installer OCI image archive (fork PR) if: ${{ github.event.pull_request.head.repo.fork }} - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: pr-oci-installer path: _out/oci/*.oci.tar @@ -880,7 +880,7 @@ jobs: git diff --binary HEAD > _out/assets/pr.patch echo "Final pr.patch:"; git --no-pager diff --stat HEAD - name: Upload git diff patch - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: pr-patch path: _out/assets/pr.patch @@ -908,7 +908,7 @@ jobs: steps: - name: Generate GitHub App token id: app-token - uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ secrets.COZYSTACK_CI_APP_ID }} private-key: ${{ secrets.COZYSTACK_CI_PRIVATE_KEY }} @@ -918,7 +918,7 @@ jobs: - name: Checkout code if: contains(github.event.pull_request.labels.*.name, 'release') - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 fetch-tags: true @@ -926,7 +926,7 @@ jobs: - name: Extract tag from PR branch (release PR) if: contains(github.event.pull_request.labels.*.name, 'release') id: get_tag - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const branch = context.payload.pull_request.head.ref; @@ -945,7 +945,7 @@ jobs: # asset's presence is still checked in e2e-tag.yaml and promote-rc.yaml. - name: Verify draft release exists (release PR) if: contains(github.event.pull_request.labels.*.name, 'release') - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ steps.app-token.outputs.token }} script: | @@ -1034,7 +1034,7 @@ jobs: # fetch-depth: 0 is required by the "Select E2E tests" step so that # `git diff origin/${BASE_REF}...HEAD` can resolve the base ref. - name: Checkout code - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 @@ -1043,7 +1043,7 @@ jobs: # lane consumes no nocloud asset and waits on no Talos build. - name: Download PR patch if: "!contains(github.event.pull_request.labels.*.name, 'release')" - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: pr-patch path: _out/assets @@ -1264,7 +1264,7 @@ jobs: - name: Upload chainsaw report if: always() - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: chainsaw-report path: _out/chainsaw-report.xml @@ -1317,7 +1317,7 @@ jobs: - name: Upload cozyreport.tgz if: always() - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: cozyreport path: _out/cozyreport.tgz @@ -1329,7 +1329,7 @@ jobs: - name: Upload image list if: always() - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: image-list path: _out/images.txt @@ -1453,7 +1453,7 @@ jobs: statuses: write steps: - name: Report "E2E Tests" commit status - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: PLAN_RESULT: ${{ needs.plan.result }} CODE: ${{ needs.plan.outputs.code }} diff --git a/.github/workflows/retention.yaml b/.github/workflows/retention.yaml index 23aba46bb..9b6a50565 100644 --- a/.github/workflows/retention.yaml +++ b/.github/workflows/retention.yaml @@ -65,7 +65,7 @@ jobs: pull-requests: read steps: - name: Checkout - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false @@ -76,7 +76,7 @@ jobs: - name: Generate GitHub App token id: app-token - uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ secrets.COZYSTACK_CI_APP_ID }} private-key: ${{ secrets.COZYSTACK_CI_PRIVATE_KEY }} diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index c25295dcd..055e6c7f1 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -25,12 +25,12 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Run analysis - uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3 + uses: ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc # v2.4.4 with: results_file: results.sarif results_format: sarif @@ -50,7 +50,7 @@ jobs: # first-party findings. The public scorecard.dev badge (publish_results # above) is the canonical view of these results. - name: Upload SARIF as artifact - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: scorecard-sarif path: results.sarif diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index d8b40aadc..c2e7b4bfd 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -21,7 +21,7 @@ jobs: issues: write pull-requests: write steps: - - uses: actions/stale@1e223db275d687790206a7acac4d1a11bd6fe629 # v10 + - uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0 with: stale-issue-label: lifecycle/stale stale-pr-label: lifecycle/stale diff --git a/.github/workflows/tags.yaml b/.github/workflows/tags.yaml index f35ca8265..e108e6765 100644 --- a/.github/workflows/tags.yaml +++ b/.github/workflows/tags.yaml @@ -44,7 +44,7 @@ jobs: # rebuilt, which is the safe direction. - name: Check if release already exists id: check_release - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const tag = context.ref.replace('refs/tags/', ''); @@ -59,7 +59,7 @@ jobs: - name: Checkout code if: steps.check_release.outputs.release_exists == 'false' - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 fetch-tags: true @@ -73,7 +73,7 @@ jobs: - name: Login to GHCR if: steps.check_release.outputs.release_exists == 'false' - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} @@ -83,7 +83,7 @@ jobs: - name: Login to OCIR (build cache) if: steps.check_release.outputs.release_exists == 'false' - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: username: ${{ secrets.OCIR_USER }} password: ${{ secrets.OCIR_TOKEN }} @@ -97,7 +97,7 @@ jobs: - name: Set up Buildx (docker-container driver, docker.io mirror) if: steps.check_release.outputs.release_exists == 'false' id: buildx - uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 with: driver: docker-container buildkitd-config: hack/buildkitd.toml @@ -175,7 +175,7 @@ jobs: # the draft and skips straight to changelog/website. - name: Check if release already exists id: check_release - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const tag = context.ref.replace('refs/tags/', ''); @@ -200,7 +200,7 @@ jobs: - name: Parse tag if: steps.check_release.outputs.release_exists == 'false' id: tag - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const ref = context.ref.replace('refs/tags/', ''); // e.g. v0.31.5-rc.1 @@ -235,7 +235,7 @@ jobs: - name: Get base branch if: steps.check_release.outputs.release_exists == 'false' id: get_base - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const baseRef = context.payload.base_ref; @@ -253,7 +253,7 @@ jobs: - name: Checkout code if: steps.check_release.outputs.release_exists == 'false' - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 fetch-tags: true @@ -269,7 +269,7 @@ jobs: - name: Login to GHCR if: steps.check_release.outputs.release_exists == 'false' - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} @@ -283,7 +283,7 @@ jobs: # cold (the persistent runner used to warm-start from local buildkit state). - name: Login to OCIR (build cache) if: steps.check_release.outputs.release_exists == 'false' - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: username: ${{ secrets.OCIR_USER }} password: ${{ secrets.OCIR_TOKEN }} @@ -299,7 +299,7 @@ jobs: - name: Set up Buildx (docker-container driver, docker.io mirror) if: steps.check_release.outputs.release_exists == 'false' id: buildx - uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 with: driver: docker-container buildkitd-config: hack/buildkitd.toml @@ -359,7 +359,7 @@ jobs: - name: Upload the stamped tree and the pushed tags if: steps.check_release.outputs.release_exists == 'false' - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: release-tree path: ${{ runner.temp }}/release-tree/ @@ -372,7 +372,7 @@ jobs: # talos image and are not release assets. - name: Upload the assets if: steps.check_release.outputs.release_exists == 'false' - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: release-assets path: | @@ -407,7 +407,7 @@ jobs: - name: Generate GitHub App token if: needs.build-amd64.outputs.release_exists == 'false' id: app-token - uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ secrets.COZYSTACK_CI_APP_ID }} private-key: ${{ secrets.COZYSTACK_CI_PRIVATE_KEY }} @@ -415,10 +415,11 @@ jobs: - name: Checkout code if: needs.build-amd64.outputs.release_exists == 'false' - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 fetch-tags: true + persist-credentials: false # The stitch and the multi-arch gate read the registry with skopeo and # the tree with mikefarah yq; the republish needs flux and helm. @@ -437,7 +438,7 @@ jobs: - name: Login to GHCR if: needs.build-amd64.outputs.release_exists == 'false' - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} @@ -447,14 +448,14 @@ jobs: - name: Download the amd64 build if: needs.build-amd64.outputs.release_exists == 'false' - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: release-tree path: ${{ runner.temp }}/release-tree - name: Download the assets if: needs.build-amd64.outputs.release_exists == 'false' - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: release-assets path: _out/assets @@ -491,7 +492,6 @@ jobs: git config user.name "cozystack-ci[bot]" git config user.email "274107086+cozystack-ci[bot]@users.noreply.github.com" git remote set-url origin https://x-access-token:${APP_TOKEN}@github.com/${GITHUB_REPOSITORY} - git config --unset-all http.https://github.com/.extraheader || true git add . git commit -m "Prepare release ${GITHUB_REF#refs/tags/}" -s || echo "No changes to commit" @@ -506,7 +506,7 @@ jobs: - name: Create / reuse draft release if: needs.build-amd64.outputs.release_exists == 'false' id: release - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const tag = '${{ needs.build-amd64.outputs.tag }}'; @@ -580,7 +580,7 @@ jobs: # draft status. prerelease:true keeps it off the "Latest release" pointer. - name: Publish rc release if: needs.build-amd64.outputs.release_exists == 'false' && needs.build-amd64.outputs.is_rc == 'true' - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ steps.app-token.outputs.token }} script: | @@ -707,7 +707,7 @@ jobs: steps: - name: Generate GitHub App token id: app-token - uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ secrets.COZYSTACK_CI_APP_ID }} private-key: ${{ secrets.COZYSTACK_CI_PRIVATE_KEY }} @@ -719,7 +719,7 @@ jobs: # regardless of whether the agent follows the prompt's instructions. - name: Generate read-only GitHub App token id: app-token-read - uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ secrets.COZYSTACK_CI_APP_ID }} private-key: ${{ secrets.COZYSTACK_CI_PRIVATE_KEY }} @@ -730,7 +730,7 @@ jobs: - name: Parse tag id: tag - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const ref = context.ref.replace('refs/tags/', ''); @@ -751,7 +751,7 @@ jobs: # contents. The Create changelog branch step below resets the file # onto a fresh branch from origin/main for the PR. - name: Checkout release tag - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ steps.tag.outputs.tag }} fetch-depth: 0 @@ -808,7 +808,7 @@ jobs: - name: Setup Node.js if: steps.check_changelog.outputs.exists == 'false' && steps.check_changelog.outputs.at_tag == 'false' - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 22 @@ -881,7 +881,7 @@ jobs: - name: Create PR for changelog if: steps.check_changelog.outputs.exists == 'false' - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ steps.app-token.outputs.token }} script: | @@ -965,7 +965,7 @@ jobs: steps: - name: Generate GitHub App token id: app-token - uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: app-id: ${{ secrets.COZYSTACK_CI_APP_ID }} private-key: ${{ secrets.COZYSTACK_CI_PRIVATE_KEY }} @@ -973,7 +973,7 @@ jobs: - name: Parse tag id: tag - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const ref = context.ref.replace('refs/tags/', ''); @@ -987,7 +987,7 @@ jobs: core.setOutput('version', version); // 0.22.0 - name: Checkout website repo - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: cozystack/website token: ${{ steps.app-token.outputs.token }} diff --git a/.github/workflows/ui-test.yaml b/.github/workflows/ui-test.yaml index 84e39bd76..e73d5f68f 100644 --- a/.github/workflows/ui-test.yaml +++ b/.github/workflows/ui-test.yaml @@ -28,21 +28,21 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: # No git pushes from this workflow; don't leave the token in .git/config # where a later `pnpm install` step could read it. persist-credentials: false - name: Set up pnpm - uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4 + uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0 with: # The monorepo root has no package.json; read the pnpm version from # the console workspace manifest (packageManager field). package_json_file: packages/system/dashboard/images/console/package.json - name: Set up Node.js - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 22 cache: pnpm diff --git a/.github/workflows/update-releasenotes.yaml b/.github/workflows/update-releasenotes.yaml index 697b3995d..7669a3d60 100644 --- a/.github/workflows/update-releasenotes.yaml +++ b/.github/workflows/update-releasenotes.yaml @@ -38,12 +38,12 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 - name: Update release notes from changelogs - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const fs = require('fs'); diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index 57265c1a8..6d0ee9b48 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -38,7 +38,7 @@ jobs: contents: read steps: - name: Checkout repository - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false diff --git a/hack/backport-batch-scheduled.bats b/hack/backport-batch-scheduled.bats index e844869e8..2d327f783 100644 --- a/hack/backport-batch-scheduled.bats +++ b/hack/backport-batch-scheduled.bats @@ -165,7 +165,7 @@ notify --line release-1.6 --push" ] # The App token covers this repository alone, with Contents and Pull # requests and nothing else: no workflows, no packages. mint='.jobs.batch.steps[] | select(.id == "app-token")' - [ "$(yq -r "$mint | .uses" "$WF")" = "actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547" ] + [ "$(yq -r "$mint | .uses" "$WF")" = "actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1" ] [ "$(yq -r "$mint | .with.owner" "$WF")" = "cozystack" ] [ "$(yq -r "$mint | .with.repositories" "$WF")" = "cozystack" ] [ "$(yq -r "$mint | .with | to_entries | map(select(.key | test(\"^permission-\"))) | map(.key + \"=\" + .value) | join(\",\")" "$WF")" = "permission-contents=write,permission-pull-requests=write" ] diff --git a/hack/backport-batch-verify-job.bats b/hack/backport-batch-verify-job.bats index 5cc0c1597..b3545d4c9 100644 --- a/hack/backport-batch-verify-job.bats +++ b/hack/backport-batch-verify-job.bats @@ -33,7 +33,7 @@ JOB='.jobs.backport-batch-verify' } @test "main is checked out, without credentials, and the head only fetched" { - [ "$(yq -r "$JOB.steps[0].uses" "$WF")" = "actions/checkout@11d5960a326750d5838078e36cf38b85af677262" ] + [ "$(yq -r "$JOB.steps[0].uses" "$WF")" = "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1" ] [ "$(yq -r "$JOB.steps[0].with.ref" "$WF")" = "main" ] [ "$(yq -r "$JOB.steps[0].with.persist-credentials" "$WF")" = "false" ] [ "$(yq -r "[$JOB.steps[] | select(.uses == \"actions/checkout*\")] | length" "$WF")" -eq 1 ] diff --git a/hack/promote-gate-contract.bats b/hack/promote-gate-contract.bats index 65b7916eb..ebee33cb4 100644 --- a/hack/promote-gate-contract.bats +++ b/hack/promote-gate-contract.bats @@ -257,6 +257,21 @@ code_lines() { [ "${count:-0}" -eq 1 ] } +@test "prepare-release checkout does not persist credentials so the staging-branch push carries the app token" { + block="$(job_block prepare-release "$TAGS")" + [ -n "$block" ] + checkout="$(printf '%s\n' "$block" | awk ' + /^ - name: Checkout code$/ { inside = 1; next } + /^ - name: / { inside = 0 } + inside')" + [ -n "$checkout" ] + + # actions/checkout v6+ writes the extraheader into a file it includes via + # includeIf, out of reach of a `git config --unset-all` on the repo config. + count="$(printf '%s\n' "$checkout" | code_lines | grep -cF 'persist-credentials: false' || true)" + [ "${count:-0}" -eq 1 ] +} + # ── rc-e2e's reusable-workflow permission ceiling ──────────────────────────── # tags.yaml runs only on tag pushes, so no PR lane can ever exercise these two # facts together. They are pinned here because getting them wrong does not From 2a04bfd0dbf80073daec0bfb7304905f819e5d8a Mon Sep 17 00:00:00 2001 From: Aleksei Sviridkin Date: Fri, 13 Nov 2026 06:46:22 +0300 Subject: [PATCH 07/10] build(go): move the builder images to Go 1.27.2 The golang builder images move to the 1.27.2 digests of their 1.27 tags, and the one image pinned to golang:1.27.1 moves to golang:1.27.2. Builds that reproduce an upstream release keep the Go that upstream uses. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin --- packages/apps/kubernetes/images/cluster-autoscaler/Dockerfile | 2 +- .../apps/kubernetes/images/kubevirt-cloud-provider/Dockerfile | 2 +- packages/apps/kubernetes/images/kubevirt-csi-driver/Dockerfile | 2 +- packages/apps/kubernetes/images/talos-csr-signer/Dockerfile | 2 +- packages/apps/vpn/images/shadowbox/Dockerfile | 2 +- packages/core/installer/images/cozystack-operator/Dockerfile | 2 +- .../backup-controller/images/backup-controller/Dockerfile | 2 +- .../images/backupstrategy-controller/Dockerfile | 2 +- packages/system/bucket/images/s3manager/Dockerfile | 2 +- .../images/cluster-api-control-plane-provider-kamaji/Dockerfile | 2 +- .../images/cluster-api-provider-kubevirt/Dockerfile | 2 +- packages/system/cozystack-api/images/cozystack-api/Dockerfile | 2 +- .../cozystack-controller/images/cozystack-controller/Dockerfile | 2 +- packages/system/dashboard/images/token-proxy/Dockerfile | 2 +- packages/system/flux-plunger/images/flux-plunger/Dockerfile | 2 +- .../flux-shard-operator/images/flux-shard-operator/Dockerfile | 2 +- packages/system/kamaji/images/kamaji/Dockerfile | 2 +- .../keycloak-operator/images/keycloak-operator/Dockerfile | 2 +- packages/system/kilo/images/kilo/Dockerfile | 2 +- .../system/kubeovn-plunger/images/kubeovn-plunger/Dockerfile | 2 +- .../system/kubeovn-webhook/images/kubeovn-webhook/Dockerfile | 2 +- packages/system/kubeovn/images/kubeovn/Dockerfile | 2 +- .../images/lineage-controller-webhook/Dockerfile | 2 +- packages/system/linstor/images/linstor-csi/Dockerfile | 2 +- .../migration-controller/images/migration-controller/Dockerfile | 2 +- packages/system/monitoring/images/otelcol-tracing/Containerfile | 2 +- packages/system/multus/images/multus-cni/Dockerfile | 2 +- .../objectstorage-controller/images/objectstorage/Dockerfile | 2 +- .../observability-proxy/images/observability-proxy/Dockerfile | 2 +- .../opensearch-operator/images/opensearch-operator/Dockerfile | 2 +- packages/system/redis-operator/images/redis-operator/Dockerfile | 2 +- .../images/securitygroup-controller/Dockerfile | 2 +- packages/system/velero/images/kubevirt-velero-plugin/Dockerfile | 2 +- 33 files changed, 33 insertions(+), 33 deletions(-) diff --git a/packages/apps/kubernetes/images/cluster-autoscaler/Dockerfile b/packages/apps/kubernetes/images/cluster-autoscaler/Dockerfile index 8437bf81f..56cda31d3 100644 --- a/packages/apps/kubernetes/images/cluster-autoscaler/Dockerfile +++ b/packages/apps/kubernetes/images/cluster-autoscaler/Dockerfile @@ -1,5 +1,5 @@ # Source: https://raw.githubusercontent.com/kubernetes/autoscaler/refs/heads/master/cluster-autoscaler/Dockerfile.amd64 -ARG builder_image=docker.io/library/golang:1.27@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 +ARG builder_image=docker.io/library/golang:1.27@sha256:e432b43af23a9328d56a7c499be0476810aa344acbcf65fc7c455d4ff5a40602 ARG BASEIMAGE=gcr.io/distroless/static:nonroot-${TARGETARCH} FROM --platform=$BUILDPLATFORM ${builder_image} AS builder diff --git a/packages/apps/kubernetes/images/kubevirt-cloud-provider/Dockerfile b/packages/apps/kubernetes/images/kubevirt-cloud-provider/Dockerfile index babf176b6..f4d2623ec 100644 --- a/packages/apps/kubernetes/images/kubevirt-cloud-provider/Dockerfile +++ b/packages/apps/kubernetes/images/kubevirt-cloud-provider/Dockerfile @@ -1,5 +1,5 @@ # Source: https://github.com/kubevirt/cloud-provider-kubevirt/blob/main/build/images/kubevirt-cloud-controller-manager/Dockerfile -FROM --platform=$BUILDPLATFORM golang:1.27@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27@sha256:e432b43af23a9328d56a7c499be0476810aa344acbcf65fc7c455d4ff5a40602 AS builder ARG GOPROXY ARG TARGETOS diff --git a/packages/apps/kubernetes/images/kubevirt-csi-driver/Dockerfile b/packages/apps/kubernetes/images/kubevirt-csi-driver/Dockerfile index 6a17209fb..0dd60340e 100644 --- a/packages/apps/kubernetes/images/kubevirt-csi-driver/Dockerfile +++ b/packages/apps/kubernetes/images/kubevirt-csi-driver/Dockerfile @@ -1,4 +1,4 @@ -ARG builder_image=docker.io/library/golang:1.27@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 +ARG builder_image=docker.io/library/golang:1.27@sha256:e432b43af23a9328d56a7c499be0476810aa344acbcf65fc7c455d4ff5a40602 FROM --platform=$BUILDPLATFORM ${builder_image} AS builder ARG GOPROXY diff --git a/packages/apps/kubernetes/images/talos-csr-signer/Dockerfile b/packages/apps/kubernetes/images/talos-csr-signer/Dockerfile index d06702d51..65a8d6ca3 100644 --- a/packages/apps/kubernetes/images/talos-csr-signer/Dockerfile +++ b/packages/apps/kubernetes/images/talos-csr-signer/Dockerfile @@ -10,7 +10,7 @@ # To bump the upstream version, update COMMIT below to the desired master # SHA and rerun `make image-talos-csr-signer` in packages/apps/kubernetes; # the regenerated images/talos-csr-signer.tag must be committed alongside. -FROM --platform=$BUILDPLATFORM golang:1.27@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27@sha256:e432b43af23a9328d56a7c499be0476810aa344acbcf65fc7c455d4ff5a40602 AS builder ARG GOPROXY # Upstream is at clastix/talos-csr-signer. Pin to a master SHA so rebuilds diff --git a/packages/apps/vpn/images/shadowbox/Dockerfile b/packages/apps/vpn/images/shadowbox/Dockerfile index bd406e815..9e30d2a68 100644 --- a/packages/apps/vpn/images/shadowbox/Dockerfile +++ b/packages/apps/vpn/images/shadowbox/Dockerfile @@ -22,7 +22,7 @@ RUN SB_VERSION=${VERSION} npx webpack --config=src/shadowbox/webpack.config.js \ --output-path=/out/opt/outline-server/app --mode=production \ && cp src/shadowbox/package.json /out/opt/outline-server/ -FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:8a5910f31396cd4d89662f56c68b3ae31d374308270a1c3bd96672ee5ed43414 AS ss-server +FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:f92b6ef800e499660581efdabdf25d9d817a9d124eaf900924f0504e7e27e12d AS ss-server ARG GOPROXY ARG TARGETOS ARG TARGETARCH diff --git a/packages/core/installer/images/cozystack-operator/Dockerfile b/packages/core/installer/images/cozystack-operator/Dockerfile index 21604a029..03197d4f6 100644 --- a/packages/core/installer/images/cozystack-operator/Dockerfile +++ b/packages/core/installer/images/cozystack-operator/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:8a5910f31396cd4d89662f56c68b3ae31d374308270a1c3bd96672ee5ed43414 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:f92b6ef800e499660581efdabdf25d9d817a9d124eaf900924f0504e7e27e12d AS builder ARG GOPROXY ARG TARGETOS diff --git a/packages/system/backup-controller/images/backup-controller/Dockerfile b/packages/system/backup-controller/images/backup-controller/Dockerfile index f599185cb..419a0a67a 100644 --- a/packages/system/backup-controller/images/backup-controller/Dockerfile +++ b/packages/system/backup-controller/images/backup-controller/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:8a5910f31396cd4d89662f56c68b3ae31d374308270a1c3bd96672ee5ed43414 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:f92b6ef800e499660581efdabdf25d9d817a9d124eaf900924f0504e7e27e12d AS builder ARG GOPROXY ARG TARGETOS diff --git a/packages/system/backupstrategy-controller/images/backupstrategy-controller/Dockerfile b/packages/system/backupstrategy-controller/images/backupstrategy-controller/Dockerfile index d22df20fc..5b2ac4234 100644 --- a/packages/system/backupstrategy-controller/images/backupstrategy-controller/Dockerfile +++ b/packages/system/backupstrategy-controller/images/backupstrategy-controller/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:8a5910f31396cd4d89662f56c68b3ae31d374308270a1c3bd96672ee5ed43414 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:f92b6ef800e499660581efdabdf25d9d817a9d124eaf900924f0504e7e27e12d AS builder ARG GOPROXY ARG TARGETOS diff --git a/packages/system/bucket/images/s3manager/Dockerfile b/packages/system/bucket/images/s3manager/Dockerfile index 994519c00..f69cdfad1 100644 --- a/packages/system/bucket/images/s3manager/Dockerfile +++ b/packages/system/bucket/images/s3manager/Dockerfile @@ -1,6 +1,6 @@ # Source: https://github.com/cloudlena/s3manager/blob/main/Dockerfile -FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.27@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 AS builder +FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.27@sha256:e432b43af23a9328d56a7c499be0476810aa344acbcf65fc7c455d4ff5a40602 AS builder ARG GOPROXY ARG TARGETOS diff --git a/packages/system/capi-providers-cpprovider/images/cluster-api-control-plane-provider-kamaji/Dockerfile b/packages/system/capi-providers-cpprovider/images/cluster-api-control-plane-provider-kamaji/Dockerfile index 1b89a2728..8c384d974 100644 --- a/packages/system/capi-providers-cpprovider/images/cluster-api-control-plane-provider-kamaji/Dockerfile +++ b/packages/system/capi-providers-cpprovider/images/cluster-api-control-plane-provider-kamaji/Dockerfile @@ -10,7 +10,7 @@ # which our chart relies on for the talos-trustd sidecar port. Once # upstream ships a real migration path, drop both this Dockerfile and the # patch and consume vanilla upstream images directly. -FROM --platform=$BUILDPLATFORM golang:1.27@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27@sha256:e432b43af23a9328d56a7c499be0476810aa344acbcf65fc7c455d4ff5a40602 AS builder ARG GOPROXY # Upstream release tag. Bump together with patches/ when refreshing. diff --git a/packages/system/capi-providers-infraprovider/images/cluster-api-provider-kubevirt/Dockerfile b/packages/system/capi-providers-infraprovider/images/cluster-api-provider-kubevirt/Dockerfile index 404e3020f..edee1a2d2 100644 --- a/packages/system/capi-providers-infraprovider/images/cluster-api-provider-kubevirt/Dockerfile +++ b/packages/system/capi-providers-infraprovider/images/cluster-api-provider-kubevirt/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27.1@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27.2@sha256:5bc7f572bbaa98885a3a1fd9c0aa76b59e3e14e8628bfc316bbfd0c701e4818c AS builder ARG GOPROXY ARG VERSION=v0.1.10 diff --git a/packages/system/cozystack-api/images/cozystack-api/Dockerfile b/packages/system/cozystack-api/images/cozystack-api/Dockerfile index 7d9f6220d..9ae2314c0 100644 --- a/packages/system/cozystack-api/images/cozystack-api/Dockerfile +++ b/packages/system/cozystack-api/images/cozystack-api/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:8a5910f31396cd4d89662f56c68b3ae31d374308270a1c3bd96672ee5ed43414 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:f92b6ef800e499660581efdabdf25d9d817a9d124eaf900924f0504e7e27e12d AS builder ARG GOPROXY ARG TARGETOS diff --git a/packages/system/cozystack-controller/images/cozystack-controller/Dockerfile b/packages/system/cozystack-controller/images/cozystack-controller/Dockerfile index e76b32880..6a95995b4 100644 --- a/packages/system/cozystack-controller/images/cozystack-controller/Dockerfile +++ b/packages/system/cozystack-controller/images/cozystack-controller/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:8a5910f31396cd4d89662f56c68b3ae31d374308270a1c3bd96672ee5ed43414 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:f92b6ef800e499660581efdabdf25d9d817a9d124eaf900924f0504e7e27e12d AS builder ARG GOPROXY ARG TARGETOS diff --git a/packages/system/dashboard/images/token-proxy/Dockerfile b/packages/system/dashboard/images/token-proxy/Dockerfile index e45ad872b..e3950590a 100644 --- a/packages/system/dashboard/images/token-proxy/Dockerfile +++ b/packages/system/dashboard/images/token-proxy/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:8a5910f31396cd4d89662f56c68b3ae31d374308270a1c3bd96672ee5ed43414 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:f92b6ef800e499660581efdabdf25d9d817a9d124eaf900924f0504e7e27e12d AS builder ARG GOPROXY ARG TARGETOS diff --git a/packages/system/flux-plunger/images/flux-plunger/Dockerfile b/packages/system/flux-plunger/images/flux-plunger/Dockerfile index 4b37358a2..a276d8afd 100644 --- a/packages/system/flux-plunger/images/flux-plunger/Dockerfile +++ b/packages/system/flux-plunger/images/flux-plunger/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:8a5910f31396cd4d89662f56c68b3ae31d374308270a1c3bd96672ee5ed43414 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:f92b6ef800e499660581efdabdf25d9d817a9d124eaf900924f0504e7e27e12d AS builder ARG GOPROXY ARG TARGETOS diff --git a/packages/system/flux-shard-operator/images/flux-shard-operator/Dockerfile b/packages/system/flux-shard-operator/images/flux-shard-operator/Dockerfile index 27e8445c4..d5e66d387 100644 --- a/packages/system/flux-shard-operator/images/flux-shard-operator/Dockerfile +++ b/packages/system/flux-shard-operator/images/flux-shard-operator/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:8a5910f31396cd4d89662f56c68b3ae31d374308270a1c3bd96672ee5ed43414 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:f92b6ef800e499660581efdabdf25d9d817a9d124eaf900924f0504e7e27e12d AS builder ARG GOPROXY ARG TARGETOS diff --git a/packages/system/kamaji/images/kamaji/Dockerfile b/packages/system/kamaji/images/kamaji/Dockerfile index 29adc7cb8..7317a6fd0 100644 --- a/packages/system/kamaji/images/kamaji/Dockerfile +++ b/packages/system/kamaji/images/kamaji/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM --platform=$BUILDPLATFORM golang:1.27@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27@sha256:e432b43af23a9328d56a7c499be0476810aa344acbcf65fc7c455d4ff5a40602 AS builder ARG GOPROXY ARG VERSION=26.9.4-edge diff --git a/packages/system/keycloak-operator/images/keycloak-operator/Dockerfile b/packages/system/keycloak-operator/images/keycloak-operator/Dockerfile index d19a08292..bc1e00ec1 100644 --- a/packages/system/keycloak-operator/images/keycloak-operator/Dockerfile +++ b/packages/system/keycloak-operator/images/keycloak-operator/Dockerfile @@ -11,7 +11,7 @@ RUN curl -sSL https://github.com/epam/edp-keycloak-operator/archive/${COMMIT_REF COPY patches /patches RUN git apply /patches/*.diff -FROM --platform=$BUILDPLATFORM docker.io/golang:1.27@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 AS builder +FROM --platform=$BUILDPLATFORM docker.io/golang:1.27@sha256:e432b43af23a9328d56a7c499be0476810aa344acbcf65fc7c455d4ff5a40602 AS builder ARG GOPROXY ARG TARGETOS ARG TARGETARCH diff --git a/packages/system/kilo/images/kilo/Dockerfile b/packages/system/kilo/images/kilo/Dockerfile index d2fe0af7d..61b402cae 100644 --- a/packages/system/kilo/images/kilo/Dockerfile +++ b/packages/system/kilo/images/kilo/Dockerfile @@ -1,5 +1,5 @@ # Build the kg binary -FROM --platform=$BUILDPLATFORM golang:1.27@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27@sha256:e432b43af23a9328d56a7c499be0476810aa344acbcf65fc7c455d4ff5a40602 AS builder ARG GOPROXY ARG VERSION=944dff5745d747c06555a964c2137b9a986ff6ec diff --git a/packages/system/kubeovn-plunger/images/kubeovn-plunger/Dockerfile b/packages/system/kubeovn-plunger/images/kubeovn-plunger/Dockerfile index 84e67a2c6..472191f49 100644 --- a/packages/system/kubeovn-plunger/images/kubeovn-plunger/Dockerfile +++ b/packages/system/kubeovn-plunger/images/kubeovn-plunger/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:8a5910f31396cd4d89662f56c68b3ae31d374308270a1c3bd96672ee5ed43414 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:f92b6ef800e499660581efdabdf25d9d817a9d124eaf900924f0504e7e27e12d AS builder ARG GOPROXY ARG TARGETOS diff --git a/packages/system/kubeovn-webhook/images/kubeovn-webhook/Dockerfile b/packages/system/kubeovn-webhook/images/kubeovn-webhook/Dockerfile index 928d6ad4a..6f00851b9 100644 --- a/packages/system/kubeovn-webhook/images/kubeovn-webhook/Dockerfile +++ b/packages/system/kubeovn-webhook/images/kubeovn-webhook/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27@sha256:e432b43af23a9328d56a7c499be0476810aa344acbcf65fc7c455d4ff5a40602 AS builder ARG GOPROXY ARG TARGETOS diff --git a/packages/system/kubeovn/images/kubeovn/Dockerfile b/packages/system/kubeovn/images/kubeovn/Dockerfile index a24488b29..ea2a425c7 100644 --- a/packages/system/kubeovn/images/kubeovn/Dockerfile +++ b/packages/system/kubeovn/images/kubeovn/Dockerfile @@ -2,7 +2,7 @@ ARG VERSION="1.15.26" ARG BASE_TAG=v$VERSION -FROM --platform=$BUILDPLATFORM golang:1.27-bookworm@sha256:69a7b9788769bec032d238959b61854e9ae87f57be9029ec04e9885fabf99195 as builder +FROM --platform=$BUILDPLATFORM golang:1.27-bookworm@sha256:5cf287a799e6b94384bad13d16b14904c531f51ba65792237e122ce42b392f61 as builder ARG GOPROXY ARG TAG="v1.15.26" diff --git a/packages/system/lineage-controller-webhook/images/lineage-controller-webhook/Dockerfile b/packages/system/lineage-controller-webhook/images/lineage-controller-webhook/Dockerfile index c0b5cf83f..4d28ea413 100644 --- a/packages/system/lineage-controller-webhook/images/lineage-controller-webhook/Dockerfile +++ b/packages/system/lineage-controller-webhook/images/lineage-controller-webhook/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:8a5910f31396cd4d89662f56c68b3ae31d374308270a1c3bd96672ee5ed43414 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:f92b6ef800e499660581efdabdf25d9d817a9d124eaf900924f0504e7e27e12d AS builder ARG GOPROXY ARG TARGETOS diff --git a/packages/system/linstor/images/linstor-csi/Dockerfile b/packages/system/linstor/images/linstor-csi/Dockerfile index 3ff1d154d..0699c406f 100644 --- a/packages/system/linstor/images/linstor-csi/Dockerfile +++ b/packages/system/linstor/images/linstor-csi/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27@sha256:e432b43af23a9328d56a7c499be0476810aa344acbcf65fc7c455d4ff5a40602 AS builder ARG GOPROXY ARG VERSION=v1.13.2 diff --git a/packages/system/migration-controller/images/migration-controller/Dockerfile b/packages/system/migration-controller/images/migration-controller/Dockerfile index 67a78a4f2..88b15284f 100644 --- a/packages/system/migration-controller/images/migration-controller/Dockerfile +++ b/packages/system/migration-controller/images/migration-controller/Dockerfile @@ -3,7 +3,7 @@ # instead makes its garbage collector die with "found bad pointer in Go heap" # on an arm64 host building for amd64. The output binary is identical either # way, and a native build is far faster. -FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:8a5910f31396cd4d89662f56c68b3ae31d374308270a1c3bd96672ee5ed43414 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:f92b6ef800e499660581efdabdf25d9d817a9d124eaf900924f0504e7e27e12d AS builder ARG GOPROXY ARG TARGETOS diff --git a/packages/system/monitoring/images/otelcol-tracing/Containerfile b/packages/system/monitoring/images/otelcol-tracing/Containerfile index d8439a00c..979bc4d08 100644 --- a/packages/system/monitoring/images/otelcol-tracing/Containerfile +++ b/packages/system/monitoring/images/otelcol-tracing/Containerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:8a5910f31396cd4d89662f56c68b3ae31d374308270a1c3bd96672ee5ed43414 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:f92b6ef800e499660581efdabdf25d9d817a9d124eaf900924f0504e7e27e12d AS builder ARG VERSION=0.136.0 ARG TARGETOS diff --git a/packages/system/multus/images/multus-cni/Dockerfile b/packages/system/multus/images/multus-cni/Dockerfile index 1a0c9808a..d241d0573 100644 --- a/packages/system/multus/images/multus-cni/Dockerfile +++ b/packages/system/multus/images/multus-cni/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 AS build +FROM --platform=$BUILDPLATFORM golang:1.27@sha256:e432b43af23a9328d56a7c499be0476810aa344acbcf65fc7c455d4ff5a40602 AS build ARG GOPROXY ARG VERSION=v4.3.0 diff --git a/packages/system/objectstorage-controller/images/objectstorage/Dockerfile b/packages/system/objectstorage-controller/images/objectstorage/Dockerfile index 662a26799..75db62529 100644 --- a/packages/system/objectstorage-controller/images/objectstorage/Dockerfile +++ b/packages/system/objectstorage-controller/images/objectstorage/Dockerfile @@ -11,7 +11,7 @@ RUN curl -sSL https://github.com/kubernetes-sigs/container-object-storage-interf COPY patches /patches RUN git apply /patches/*.diff -FROM --platform=$BUILDPLATFORM docker.io/golang:1.27@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 AS builder +FROM --platform=$BUILDPLATFORM docker.io/golang:1.27@sha256:e432b43af23a9328d56a7c499be0476810aa344acbcf65fc7c455d4ff5a40602 AS builder ARG GOPROXY ARG TARGETOS ARG TARGETARCH diff --git a/packages/system/observability-proxy/images/observability-proxy/Dockerfile b/packages/system/observability-proxy/images/observability-proxy/Dockerfile index 4615e74ec..0e2e67229 100644 --- a/packages/system/observability-proxy/images/observability-proxy/Dockerfile +++ b/packages/system/observability-proxy/images/observability-proxy/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:8a5910f31396cd4d89662f56c68b3ae31d374308270a1c3bd96672ee5ed43414 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:f92b6ef800e499660581efdabdf25d9d817a9d124eaf900924f0504e7e27e12d AS builder ARG GOPROXY ARG TARGETOS diff --git a/packages/system/opensearch-operator/images/opensearch-operator/Dockerfile b/packages/system/opensearch-operator/images/opensearch-operator/Dockerfile index 655c91b4a..c27ea02a2 100644 --- a/packages/system/opensearch-operator/images/opensearch-operator/Dockerfile +++ b/packages/system/opensearch-operator/images/opensearch-operator/Dockerfile @@ -61,7 +61,7 @@ # skip-unusable-drain-exclusion both adds and quotes as context, so it has to # come after it. A rename that reorders them fails the build rather than # producing a wrong binary. -FROM --platform=$BUILDPLATFORM golang:1.27@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27@sha256:e432b43af23a9328d56a7c499be0476810aa344acbcf65fc7c455d4ff5a40602 AS builder ARG GOPROXY # Keep in step with the chart version pulled by `make update`: the chart's diff --git a/packages/system/redis-operator/images/redis-operator/Dockerfile b/packages/system/redis-operator/images/redis-operator/Dockerfile index b063a6f0a..6f3d8f7cc 100644 --- a/packages/system/redis-operator/images/redis-operator/Dockerfile +++ b/packages/system/redis-operator/images/redis-operator/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27@sha256:e432b43af23a9328d56a7c499be0476810aa344acbcf65fc7c455d4ff5a40602 AS builder ARG GOPROXY ARG VERSION=v3.3.5 diff --git a/packages/system/securitygroup-controller/images/securitygroup-controller/Dockerfile b/packages/system/securitygroup-controller/images/securitygroup-controller/Dockerfile index 02ebb92ff..74e01b212 100644 --- a/packages/system/securitygroup-controller/images/securitygroup-controller/Dockerfile +++ b/packages/system/securitygroup-controller/images/securitygroup-controller/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:8a5910f31396cd4d89662f56c68b3ae31d374308270a1c3bd96672ee5ed43414 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:f92b6ef800e499660581efdabdf25d9d817a9d124eaf900924f0504e7e27e12d AS builder ARG GOPROXY ARG TARGETOS diff --git a/packages/system/velero/images/kubevirt-velero-plugin/Dockerfile b/packages/system/velero/images/kubevirt-velero-plugin/Dockerfile index ac9986eaf..411821a2c 100644 --- a/packages/system/velero/images/kubevirt-velero-plugin/Dockerfile +++ b/packages/system/velero/images/kubevirt-velero-plugin/Dockerfile @@ -1,6 +1,6 @@ # Upstream publishes this image for amd64 only, so it is rebuilt here from the # release tag for every platform the velero server runs on. -FROM --platform=$BUILDPLATFORM golang:1.27@sha256:3680233e3204827fbdc66088528ae6d4b3d034f51d03a99d454f6de034888244 AS builder +FROM --platform=$BUILDPLATFORM golang:1.27@sha256:e432b43af23a9328d56a7c499be0476810aa344acbcf65fc7c455d4ff5a40602 AS builder ARG GOPROXY ARG VERSION=v0.9.0 From ea0ae7ec1dba5b4ad2b9501381fcf7dc658115cf Mon Sep 17 00:00:00 2001 From: Aleksei Sviridkin Date: Fri, 13 Nov 2026 06:46:22 +0300 Subject: [PATCH 08/10] test(kubernetes): pin the mount-utils behaviour the CSI node relies on The upstream kubevirt CSI node service is built here against the mount-utils this module replaces it with, not the release upstream tests against. Pin what it relies on: mount point detection, cleanup of a published target, and the blkid, mkfs and fsck calls of SafeFormatAndMount. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin --- .../mountutils_linux_test.go | 124 ++++++++++++++++++ .../kubevirt-csi-driver/mountutils_test.go | 76 +++++++++++ 2 files changed, 200 insertions(+) create mode 100644 packages/apps/kubernetes/images/kubevirt-csi-driver/mountutils_linux_test.go create mode 100644 packages/apps/kubernetes/images/kubevirt-csi-driver/mountutils_test.go diff --git a/packages/apps/kubernetes/images/kubevirt-csi-driver/mountutils_linux_test.go b/packages/apps/kubernetes/images/kubevirt-csi-driver/mountutils_linux_test.go new file mode 100644 index 000000000..557c3f6a8 --- /dev/null +++ b/packages/apps/kubernetes/images/kubevirt-csi-driver/mountutils_linux_test.go @@ -0,0 +1,124 @@ +//go:build linux + +package main + +import ( + "errors" + "slices" + "testing" + + "k8s.io/mount-utils" + "k8s.io/utils/exec" + testingexec "k8s.io/utils/exec/testing" +) + +type cmdResult struct { + out string + err error +} + +type execCall struct { + cmd string + args []string +} + +// scriptedExec answers each command with the next output and error, and +// records what was run. +func scriptedExec(calls *[]execCall, results ...cmdResult) *testingexec.FakeExec { + fe := &testingexec.FakeExec{} + for _, r := range results { + fe.CommandScript = append(fe.CommandScript, func(cmd string, args ...string) exec.Cmd { + *calls = append(*calls, execCall{cmd, args}) + return &testingexec.FakeCmd{CombinedOutputScript: []testingexec.FakeAction{ + func() ([]byte, []byte, error) { return []byte(r.out), nil, r.err }, + }} + }) + } + return fe +} + +var blkidArgs = []string{"-p", "-s", "TYPE", "-s", "PTTYPE", "-o", "export", "/dev/vdb"} + +func TestMountUtilsSafeFormatAndMountCommands(t *testing.T) { + unformatted := &testingexec.FakeExitError{Status: 2} + for _, tc := range []struct { + name string + fstype string + options []string + results []cmdResult + want []execCall + wantErr bool + wantMount bool + }{ + { + name: "unformatted ext4", + fstype: "ext4", + results: []cmdResult{{"", unformatted}, {"", nil}}, + want: []execCall{{"blkid", blkidArgs}, {"mkfs.ext4", []string{"-F", "-m0", "/dev/vdb"}}}, + wantMount: true, + }, + { + name: "unformatted defaults to ext4", + results: []cmdResult{{"", unformatted}, {"", nil}}, + want: []execCall{{"blkid", blkidArgs}, {"mkfs.ext4", []string{"-F", "-m0", "/dev/vdb"}}}, + wantMount: true, + }, + { + name: "unformatted xfs", + fstype: "xfs", + results: []cmdResult{{"", unformatted}, {"", nil}}, + want: []execCall{{"blkid", blkidArgs}, {"mkfs.xfs", []string{"-f", "/dev/vdb"}}}, + wantMount: true, + }, + { + name: "formatted ext4 is checked, not formatted", + fstype: "ext4", + results: []cmdResult{{"DEVNAME=/dev/vdb\nTYPE=ext4\n", nil}, {"", nil}}, + want: []execCall{{"blkid", blkidArgs}, {"fsck", []string{"-a", "/dev/vdb"}}}, + wantMount: true, + }, + { + name: "unformatted read-only is refused", + fstype: "ext4", + options: []string{"ro"}, + results: []cmdResult{{"", unformatted}}, + want: []execCall{{"blkid", blkidArgs}}, + wantErr: true, + }, + { + name: "mkfs failure is reported", + fstype: "ext4", + results: []cmdResult{{"", unformatted}, {"boom", errors.New("exit 1")}}, + want: []execCall{{"blkid", blkidArgs}, {"mkfs.ext4", []string{"-F", "-m0", "/dev/vdb"}}}, + wantErr: true, + }, + } { + t.Run(tc.name, func(t *testing.T) { + var calls []execCall + fm := mount.NewFakeMounter(nil) + m := &mount.SafeFormatAndMount{Interface: fm, Exec: scriptedExec(&calls, tc.results...)} + + err := m.FormatAndMount("/dev/vdb", "/target", tc.fstype, tc.options) + if (err != nil) != tc.wantErr { + t.Fatalf("FormatAndMount error = %v, wantErr %v", err, tc.wantErr) + } + if !slices.EqualFunc(calls, tc.want, func(a, b execCall) bool { return a.cmd == b.cmd && slices.Equal(a.args, b.args) }) { + t.Errorf("commands = %v, want %v", calls, tc.want) + } + mps, _ := fm.List() + if !tc.wantMount { + if len(mps) != 0 { + t.Errorf("mounted %v, want nothing", mps) + } + return + } + wantType := tc.fstype + if wantType == "" { + wantType = "ext4" + } + if len(mps) != 1 || mps[0].Device != "/dev/vdb" || mps[0].Path != "/target" || mps[0].Type != wantType || !slices.Contains(mps[0].Opts, "defaults") { + t.Errorf("mount points = %+v, want /dev/vdb on /target type %s with defaults", mps, wantType) + } + }) + } +} diff --git a/packages/apps/kubernetes/images/kubevirt-csi-driver/mountutils_test.go b/packages/apps/kubernetes/images/kubevirt-csi-driver/mountutils_test.go new file mode 100644 index 000000000..6e22a3b4b --- /dev/null +++ b/packages/apps/kubernetes/images/kubevirt-csi-driver/mountutils_test.go @@ -0,0 +1,76 @@ +package main + +import ( + "os" + "path/filepath" + "testing" + + "k8s.io/mount-utils" +) + +// The upstream node service is compiled against the mount-utils this module +// pins, not the one upstream tests with. These pin the parts of it upstream +// relies on when it decides whether to mount and how to clean up. +func TestMountUtilsFakeMounterMountPointDetection(t *testing.T) { + dir := resolvedTempDir(t) + mounted := filepath.Join(dir, "mounted") + plain := filepath.Join(dir, "plain") + for _, d := range []string{mounted, plain} { + if err := os.Mkdir(d, 0o755); err != nil { + t.Fatal(err) + } + } + m := mount.NewFakeMounter([]mount.MountPoint{{Device: "/dev/vdb", Path: mounted, Type: "ext4"}}) + + if notMnt, err := m.IsLikelyNotMountPoint(mounted); err != nil || notMnt { + t.Errorf("IsLikelyNotMountPoint(mounted) = %v, %v; want false, nil", notMnt, err) + } + if notMnt, err := m.IsLikelyNotMountPoint(plain); err != nil || !notMnt { + t.Errorf("IsLikelyNotMountPoint(plain) = %v, %v; want true, nil", notMnt, err) + } + if _, err := m.IsLikelyNotMountPoint(filepath.Join(dir, "missing")); !os.IsNotExist(err) { + t.Errorf("IsLikelyNotMountPoint(missing) error = %v, want not-exist", err) + } + + if err := m.Unmount(mounted); err != nil { + t.Fatalf("Unmount: %v", err) + } + if notMnt, err := m.IsLikelyNotMountPoint(mounted); err != nil || !notMnt { + t.Errorf("after Unmount: IsLikelyNotMountPoint = %v, %v; want true, nil", notMnt, err) + } +} + +// NodeUnpublishVolume upstream calls CleanupMountPoint: it unmounts a mounted +// target and removes the directory, and tolerates a target that is already gone. +func TestMountUtilsCleanupMountPoint(t *testing.T) { + dir := resolvedTempDir(t) + target := filepath.Join(dir, "target") + if err := os.Mkdir(target, 0o755); err != nil { + t.Fatal(err) + } + m := mount.NewFakeMounter([]mount.MountPoint{{Device: "/dev/vdb", Path: target, Type: "ext4"}}) + + if err := mount.CleanupMountPoint(target, m, false); err != nil { + t.Fatalf("CleanupMountPoint: %v", err) + } + if _, err := os.Stat(target); !os.IsNotExist(err) { + t.Errorf("target still present after cleanup: %v", err) + } + if mps, _ := m.List(); len(mps) != 0 { + t.Errorf("mount points after cleanup = %v, want none", mps) + } + if err := mount.CleanupMountPoint(target, m, false); err != nil { + t.Errorf("CleanupMountPoint on a missing target: %v", err) + } +} + +// FakeMounter resolves symlinks before matching a path, and the temp dir is +// behind one on some systems. +func resolvedTempDir(t *testing.T) string { + t.Helper() + dir, err := filepath.EvalSymlinks(t.TempDir()) + if err != nil { + t.Fatal(err) + } + return dir +} From ee0071dd1b2dd7acbc5671558afca5a058e17a52 Mon Sep 17 00:00:00 2001 From: Aleksei Sviridkin Date: Fri, 13 Nov 2026 06:46:22 +0300 Subject: [PATCH 09/10] chore(deps): update Go modules and move them to go 1.27.2 The five Go modules move to go 1.27.2. The root module moves to controller-runtime v0.25.2, gateway-api v1.6.3 on the minor of the installed v1.6.1 CRDs, grpc v1.84.0, etcd v3.7.2, cert-manager v1.21.2 and newer golang.org/x modules; prometheus/client_golang v1.25.0 raises klauspost/compress to v1.20.1 by minimal version selection. kubevirt-csi-driver builds upstream csi-driver f10ae94 against Kubernetes v0.37.1, with its require and replace now naming the same commit, kubeovn-webhook moves to client-go v0.37.1, and token-proxy to newer releases of its dependencies. Several stay behind, each for a stated reason. cel-go stops at v0.30.0: its old repository has no tag past it, and v0.32 declares a module path k8s.io/apiserver does not import. kube-openapi past the pinned commit needs structured-merge-diff v7, which k8s.io/apimachinery v0.37 does not compile against. The Flux API modules stay on the Flux v2.8 line the platform installs. kubevirt.io/api and the CDI API stay on the releases upstream csi-driver builds against, and jwx stays on v3 because v4 removes the jwk.Cache the proxy's JWKS refresh uses. cert-manager v1.21 drops the deprecated ObjectReference alias, so the gateway controller names IssuerReference directly; the Certificate objects serialize the same for the installed v1.20 chart. gateway-api marks SchemeGroupVersion deprecated, so a gateway test builds its GroupKind from GroupName. api/apps/v1alpha1 moves to go 1.27.2 with the rest, so a module that imports the published types needs Go 1.27.2 or later. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin --- api/apps/v1alpha1/go.mod | 17 +- api/apps/v1alpha1/go.sum | 28 +-- go.mod | 92 ++++---- go.sum | 182 +++++++-------- .../tenantgateway/reconciler_test.go | 3 +- .../controller/tenantgateway/renderers.go | 4 +- .../images/kubevirt-csi-driver/go.mod | 99 ++++---- .../images/kubevirt-csi-driver/go.sum | 216 +++++++++++------- .../dashboard/images/token-proxy/go.mod | 8 +- .../dashboard/images/token-proxy/go.sum | 12 +- .../images/kubeovn-webhook/go.mod | 47 ++-- .../images/kubeovn-webhook/go.sum | 88 +++---- 12 files changed, 418 insertions(+), 378 deletions(-) diff --git a/api/apps/v1alpha1/go.mod b/api/apps/v1alpha1/go.mod index 8d0f5881d..7d712cc6e 100644 --- a/api/apps/v1alpha1/go.mod +++ b/api/apps/v1alpha1/go.mod @@ -1,26 +1,25 @@ module github.com/cozystack/cozystack/api/apps/v1alpha1 -go 1.26.4 +go 1.27.2 require k8s.io/apimachinery v0.36.0 require ( - github.com/fxamacker/cbor/v2 v2.9.4 // indirect + github.com/fxamacker/cbor/v2 v2.9.6 // indirect github.com/go-logr/logr v1.4.4 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect - github.com/spf13/pflag v1.0.10 // indirect github.com/stretchr/testify v1.12.1 // indirect github.com/x448/float16 v0.8.4 // indirect go.yaml.in/yaml/v2 v2.4.4 // indirect - golang.org/x/net v0.59.0 // indirect - golang.org/x/text v0.42.0 // indirect + golang.org/x/net v0.61.0 // indirect + golang.org/x/text v0.43.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect k8s.io/klog/v2 v2.140.0 // indirect - k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a // indirect - k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 // indirect - sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect + k8s.io/kube-openapi v0.0.0-20260721132016-d427ff9ee9ad // indirect + k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3 // indirect + sigs.k8s.io/json v0.0.0-20260909141634-11ed52e25bc5 // indirect sigs.k8s.io/randfill v1.0.0 // indirect - sigs.k8s.io/structured-merge-diff/v6 v6.3.2 // indirect + sigs.k8s.io/structured-merge-diff/v6 v6.4.2 // indirect ) diff --git a/api/apps/v1alpha1/go.sum b/api/apps/v1alpha1/go.sum index da46ba512..3e72b2f0b 100644 --- a/api/apps/v1alpha1/go.sum +++ b/api/apps/v1alpha1/go.sum @@ -2,8 +2,8 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/fxamacker/cbor/v2 v2.9.4 h1:xwjVlxEMR3S605oUlgBjKLTTeGFciYPGYCtF/35LKGo= -github.com/fxamacker/cbor/v2 v2.9.4/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ= +github.com/fxamacker/cbor/v2 v2.9.6 h1:NHZPxuUjJXQjX9itA785y/5NKSlI4HQ+S7noZsmI7hs= +github.com/fxamacker/cbor/v2 v2.9.6/go.mod h1:4EaZp6ClVunETjQ4GHmGNzysDK91Lr+r6Yz6tJqzVCw= github.com/go-logr/logr v1.4.4 h1:tG4xh9yMsRCAiodLVTxyrkzSZ9+o0L1Kg/+cPVcbP/8= github.com/go-logr/logr v1.4.4/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= @@ -32,25 +32,25 @@ go.yaml.in/yaml/v2 v2.4.4 h1:tuyd0P+2Ont/d6e2rl3be67goVK4R6deVxCUX5vyPaQ= go.yaml.in/yaml/v2 v2.4.4/go.mod h1:gMZqIpDtDqOfM0uNfy0SkpRhvUryYH0Z6wdMYcacYXQ= go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= -golang.org/x/net v0.59.0 h1:5zfYln+w5XCxwrnMMJPufRgNoXEaGxl0wo5GqPXyues= -golang.org/x/net v0.59.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg= -golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI= -golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E= +golang.org/x/net v0.61.0 h1:RR+6j/BTBCrggOLugxa+66R8FvoN6MHlzDlZIbN9YFw= +golang.org/x/net v0.61.0/go.mod h1:WgDCOTH8iwtB66T4/GfI94AHo/hhdb7Hah9NDseQfiI= +golang.org/x/text v0.43.0 h1:1QivrlhwAsnMOcqgOdl9my7s9OyZl8O5/UGUTJVXoWc= +golang.org/x/text v0.43.0/go.mod h1:hbSIYA/amXcRXTFSZqh8tWHEoqRvvbKPJ2uz/KU+a+s= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= k8s.io/apimachinery v0.36.0 h1:jZyPzhd5Z+3h9vJLt0z9XdzW9VzNzWAUw+P1xZ9PXtQ= k8s.io/apimachinery v0.36.0/go.mod h1:FklypaRJt6n5wUIwWXIP6GJlIpUizTgfo1T/As+Tyxc= k8s.io/klog/v2 v2.140.0 h1:Tf+J3AH7xnUzZyVVXhTgGhEKnFqye14aadWv7bzXdzc= k8s.io/klog/v2 v2.140.0/go.mod h1:o+/RWfJ6PwpnFn7OyAG3QnO47BFsymfEfrz6XyYSSp0= -k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a h1:xCeOEAOoGYl2jnJoHkC3hkbPJgdATINPMAxaynU2Ovg= -k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a/go.mod h1:uGBT7iTA6c6MvqUvSXIaYZo9ukscABYi2btjhvgKGZ0= -k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 h1:AZYQSJemyQB5eRxqcPky+/7EdBj0xi3g0ZcxxJ7vbWU= -k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk= -sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5EXP7sU1kvOlxwZh5txg= -sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg= +k8s.io/kube-openapi v0.0.0-20260721132016-d427ff9ee9ad h1:oXImqH8mQNk7PmvzKhmN3ddJoY6OnyM225MXwGHPm0A= +k8s.io/kube-openapi v0.0.0-20260721132016-d427ff9ee9ad/go.mod h1:0/mqHCVhlumdJ3BhCfnjSZQE037nAhNodh1/hK0T8/I= +k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3 h1:jVkFFVfXdXP74B/zbO3hM3hpSFD0xvhQ5U686DPurkE= +k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3/go.mod h1:M2s5JB1lIYP3jzZdorPLHXIPJzt9vv2muW5a6L9DtNM= +sigs.k8s.io/json v0.0.0-20260909141634-11ed52e25bc5 h1:k9jo7ED/fsfOcz3L1P20P5tjTNtsdQNwMOG2aKzHrl8= +sigs.k8s.io/json v0.0.0-20260909141634-11ed52e25bc5/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg= sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU= sigs.k8s.io/randfill v1.0.0/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY= -sigs.k8s.io/structured-merge-diff/v6 v6.3.2 h1:kwVWMx5yS1CrnFWA/2QHyRVJ8jM6dBA80uLmm0wJkk8= -sigs.k8s.io/structured-merge-diff/v6 v6.3.2/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE= +sigs.k8s.io/structured-merge-diff/v6 v6.4.2 h1:qdOxHwrl2Kaag1aQEarlYcOA9vSyGCp3CIki3aW8c4Q= +sigs.k8s.io/structured-merge-diff/v6 v6.4.2/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE= sigs.k8s.io/yaml v1.6.0 h1:G8fkbMSAFqgEFgh4b1wmtzDnioxFCUgTZhlbj5P9QYs= sigs.k8s.io/yaml v1.6.0/go.mod h1:796bPqUfzR/0jLAl6XjHl3Ck7MiyVv8dbTdyT3/pMf4= diff --git a/go.mod b/go.mod index cb49f9f24..bf6665185 100644 --- a/go.mod +++ b/go.mod @@ -2,29 +2,29 @@ module github.com/cozystack/cozystack -go 1.27.1 +go 1.27.2 require ( - github.com/cert-manager/cert-manager v1.19.6 + github.com/cert-manager/cert-manager v1.21.2 github.com/cozystack/cozystack-scheduler/pkg/apis v0.1.1 github.com/emicklei/dot v1.11.0 - github.com/fluxcd/helm-controller/api v1.5.1 - github.com/fluxcd/pkg/apis/kustomize v1.15.0 + github.com/fluxcd/helm-controller/api v1.5.5 + github.com/fluxcd/pkg/apis/kustomize v1.15.1 github.com/fluxcd/pkg/apis/meta v1.26.0 github.com/fluxcd/source-controller/api v1.8.5 github.com/fluxcd/source-watcher/api/v2 v2.1.1 github.com/go-logr/logr v1.4.4 github.com/go-logr/zapr v1.3.0 github.com/go-task/slim-sprig/v3 v3.0.0 - github.com/google/cel-go v0.29.2 + github.com/google/cel-go v0.30.0 github.com/minio/minio-go/v7 v7.0.98 - github.com/onsi/ginkgo/v2 v2.33.0 - github.com/onsi/gomega v1.43.1 - github.com/prometheus/client_golang v1.24.1 + github.com/onsi/ginkgo/v2 v2.33.1 + github.com/onsi/gomega v1.44.0 + github.com/prometheus/client_golang v1.25.0 github.com/robfig/cron/v3 v3.0.1 github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.0.10 - github.com/vmware-tanzu/velero v1.18.3 + github.com/vmware-tanzu/velero v1.18.4 go.uber.org/zap v1.28.0 gomodules.xyz/jsonpatch/v2 v2.5.0 k8s.io/api v0.37.1 @@ -37,8 +37,8 @@ require ( k8s.io/kube-openapi v0.0.0-20260721132016-d427ff9ee9ad k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3 sigs.k8s.io/container-object-storage-interface-api v0.1.0 - sigs.k8s.io/controller-runtime v0.25.1 - sigs.k8s.io/gateway-api v1.4.1 + sigs.k8s.io/controller-runtime v0.25.2 + sigs.k8s.io/gateway-api v1.6.3 sigs.k8s.io/randfill v1.0.0 sigs.k8s.io/structured-merge-diff/v6 v6.4.2 sigs.k8s.io/yaml v1.6.0 @@ -57,18 +57,18 @@ require ( github.com/coreos/go-systemd/v22 v22.7.0 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/dustin/go-humanize v1.1.0 // indirect - github.com/emicklei/go-restful/v3 v3.13.0 // indirect + github.com/emicklei/go-restful/v3 v3.14.0 // indirect github.com/evanphx/json-patch v5.9.11+incompatible // indirect github.com/evanphx/json-patch/v5 v5.9.11 // indirect github.com/felixge/httpsnoop v1.1.0 // indirect github.com/fluxcd/pkg/apis/acl v0.11.0 // indirect github.com/fsnotify/fsnotify v1.10.1 // indirect - github.com/fxamacker/cbor/v2 v2.9.4 // indirect + github.com/fxamacker/cbor/v2 v2.9.6 // indirect github.com/gkampitakis/go-snaps v0.5.23 // indirect github.com/go-ini/ini v1.67.0 // indirect github.com/go-logr/stdr v1.2.2 // indirect - github.com/go-openapi/jsonpointer v1.0.1 // indirect - github.com/go-openapi/jsonreference v1.0.2 // indirect + github.com/go-openapi/jsonpointer v1.0.2 // indirect + github.com/go-openapi/jsonreference v1.0.3 // indirect github.com/go-openapi/swag v0.29.2 // indirect github.com/go-openapi/swag/cmdutils v0.29.2 // indirect github.com/go-openapi/swag/conv v0.29.2 // indirect @@ -82,19 +82,18 @@ require ( github.com/go-openapi/swag/typeutils v0.29.2 // indirect github.com/go-openapi/swag/yamlutils v0.29.2 // indirect github.com/go-openapi/testify/enable/yaml/v2 v2.8.0 // indirect - github.com/go-openapi/testify/v2 v2.8.0 // indirect github.com/golang/protobuf v1.5.4 // indirect github.com/google/gnostic-models v0.7.1 // indirect github.com/google/go-cmp v0.7.0 // indirect - github.com/google/pprof v0.0.0-20260906184651-6331bc6350fe // indirect + github.com/google/pprof v0.0.0-20261008003335-7bae8d8c4c9e // indirect github.com/google/uuid v1.6.0 // indirect github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect - github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.1.0 // indirect + github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.1.1 // indirect github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.4 // indirect - github.com/grpc-ecosystem/grpc-gateway/v2 v2.30.0 // indirect + github.com/grpc-ecosystem/grpc-gateway/v2 v2.31.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/klauspost/compress v1.20.0 // indirect + github.com/klauspost/compress v1.20.1 // indirect github.com/klauspost/cpuid/v2 v2.3.0 // indirect github.com/klauspost/crc32 v1.3.0 // indirect github.com/kylelemons/godebug v1.1.0 // indirect @@ -107,7 +106,7 @@ require ( github.com/philhofer/fwd v1.2.0 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/prometheus/client_model v0.6.3 // indirect - github.com/prometheus/common v0.71.0 // indirect + github.com/prometheus/common v0.72.0 // indirect github.com/prometheus/procfs v0.22.0 // indirect github.com/rogpeppe/go-internal v1.16.0 // indirect github.com/rs/xid v1.6.0 // indirect @@ -115,42 +114,43 @@ require ( github.com/tidwall/match v1.2.0 // indirect github.com/tinylib/msgp v1.6.1 // indirect github.com/x448/float16 v0.8.4 // indirect - go.etcd.io/etcd/api/v3 v3.7.0 // indirect - go.etcd.io/etcd/client/pkg/v3 v3.7.0 // indirect - go.etcd.io/etcd/client/v3 v3.7.0 // indirect + go.etcd.io/etcd/api/v3 v3.7.2 // indirect + go.etcd.io/etcd/client/pkg/v3 v3.7.2 // indirect + go.etcd.io/etcd/client/v3 v3.7.2 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect - go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.71.0 // indirect - go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.71.0 // indirect - go.opentelemetry.io/otel v1.46.0 // indirect - go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.46.0 // indirect - go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.46.0 // indirect - go.opentelemetry.io/otel/metric v1.46.0 // indirect - go.opentelemetry.io/otel/sdk v1.46.0 // indirect - go.opentelemetry.io/otel/trace v1.46.0 // indirect - go.opentelemetry.io/proto/otlp v1.11.0 // indirect + go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.72.0 // indirect + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.72.0 // indirect + go.opentelemetry.io/otel v1.47.0 // indirect + go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.47.0 // indirect + go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.47.0 // indirect + go.opentelemetry.io/otel/log v1.47.0 // indirect + go.opentelemetry.io/otel/metric v1.47.0 // indirect + go.opentelemetry.io/otel/sdk v1.47.0 // indirect + go.opentelemetry.io/otel/trace v1.47.0 // indirect + go.opentelemetry.io/proto/otlp v1.11.1 // indirect go.uber.org/multierr v1.11.0 // indirect go.yaml.in/yaml/v2 v2.4.4 // indirect go.yaml.in/yaml/v3 v3.0.5 // indirect - golang.org/x/crypto v0.57.0 // indirect - golang.org/x/exp v0.0.0-20260908205506-85c1c2202aba // indirect - golang.org/x/mod v0.41.0 // indirect - golang.org/x/net v0.59.0 // indirect + golang.org/x/crypto v0.58.0 // indirect + golang.org/x/exp v0.0.0-20261009195045-ca0d7ba23607 // indirect + golang.org/x/mod v0.42.0 // indirect + golang.org/x/net v0.61.0 // indirect golang.org/x/oauth2 v0.37.0 // indirect - golang.org/x/sync v0.23.0 // indirect - golang.org/x/sys v0.48.0 // indirect - golang.org/x/term v0.46.0 // indirect - golang.org/x/text v0.42.0 // indirect + golang.org/x/sync v0.24.0 // indirect + golang.org/x/sys v0.49.0 // indirect + golang.org/x/term v0.47.0 // indirect + golang.org/x/text v0.43.0 // indirect golang.org/x/time v0.16.0 // indirect - golang.org/x/tools v0.50.0 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20260921155816-b14227669459 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20260921155816-b14227669459 // indirect - google.golang.org/grpc v1.83.2 // indirect + golang.org/x/tools v0.52.0 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20261005182115-fad411399dd8 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20261005182115-fad411399dd8 // indirect + google.golang.org/grpc v1.84.0 // indirect google.golang.org/protobuf v1.36.12 // indirect gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect k8s.io/kms v0.37.1 // indirect k8s.io/streaming v0.37.1 // indirect - sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.36.0 // indirect + sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.37.0 // indirect sigs.k8s.io/json v0.0.0-20260909141634-11ed52e25bc5 // indirect ) diff --git a/go.sum b/go.sum index 667ca71ee..187563e2f 100644 --- a/go.sum +++ b/go.sum @@ -14,8 +14,8 @@ github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= github.com/cenkalti/backoff/v5 v5.0.3 h1:ZN+IMa753KfX5hd8vVaMixjnqRZ3y8CuJKRKj1xcsSM= github.com/cenkalti/backoff/v5 v5.0.3/go.mod h1:rkhZdG3JZukswDf7f0cwqPNk4K0sa+F97BxZthm/crw= -github.com/cert-manager/cert-manager v1.19.6 h1:HxoNU9l0/K3nuNT6lzWpXPj13+fl6nxjNUPJ+8JC+fI= -github.com/cert-manager/cert-manager v1.19.6/go.mod h1:uC9pPoxhw/+Jcv3eWBhYpN7jbqNlYwSZn7ioROZSPM4= +github.com/cert-manager/cert-manager v1.21.2 h1:UWgoYM+KLNtRlqmoWOKjKBOBUPVHeepQ6/ac3ERJW68= +github.com/cert-manager/cert-manager v1.21.2/go.mod h1:cUXqp2Ki46IovJB+XpkfaFNzitQDJjyfjrCAsl5Jnns= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4= @@ -33,20 +33,20 @@ github.com/dustin/go-humanize v1.1.0 h1:dbKTrvD0klcbBV/h4AWJdMuZogJACoMlvWIWZ5b2 github.com/dustin/go-humanize v1.1.0/go.mod h1:hc1CvRkJMsgxqjmjMQF3QNRAZBwY8AXBAzKYoSX9sFI= github.com/emicklei/dot v1.11.0 h1:zsrhCuFHAJge/aZIC4N4LdHy5tqYu4tWEaUzIwdYj4Y= github.com/emicklei/dot v1.11.0/go.mod h1:DeV7GvQtIw4h2u73RKBkkFdvVAz0D9fzeJrgPW6gy/s= -github.com/emicklei/go-restful/v3 v3.13.0 h1:C4Bl2xDndpU6nJ4bc1jXd+uTmYPVUwkD6bFY/oTyCes= -github.com/emicklei/go-restful/v3 v3.13.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= +github.com/emicklei/go-restful/v3 v3.14.0 h1:6V6Ba8/5W1Z7amPinklZeCMlHBMwj53thpfxazCLMX4= +github.com/emicklei/go-restful/v3 v3.14.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/evanphx/json-patch v5.9.11+incompatible h1:ixHHqfcGvxhWkniF1tWxBHA0yb4Z+d1UQi45df52xW8= github.com/evanphx/json-patch v5.9.11+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch/v5 v5.9.11 h1:/8HVnzMq13/3x9TPvjG08wUGqBTmZBsCWzjTM0wiaDU= github.com/evanphx/json-patch/v5 v5.9.11/go.mod h1:3j+LviiESTElxA4p3EMKAB9HXj3/XEtnUf6OZxqIQTM= github.com/felixge/httpsnoop v1.1.0 h1:3YtUj32ZZkqZtt3sZZsClsymw/QDuVfpNhoA31zeORc= github.com/felixge/httpsnoop v1.1.0/go.mod h1:Zqxgdd+1Rkcz8euOqdr7lqgCRJztwr5hp9vDSi5UZCE= -github.com/fluxcd/helm-controller/api v1.5.1 h1:yraWl0ImzO4yIy/N5d9i54N+OZxKuFZqjed8wrIjy8U= -github.com/fluxcd/helm-controller/api v1.5.1/go.mod h1:Yr0y7GKizbvQQGK5wBX6sGCZrTY86AN9n1PNEsji2XE= +github.com/fluxcd/helm-controller/api v1.5.5 h1:xQA/9gbifMvZPGhSNKHsrkq829dI/yTBASVdYp9/s4Y= +github.com/fluxcd/helm-controller/api v1.5.5/go.mod h1:lTgeUmtVYExMKp7mRDncsr4JwHTz3LFtLjRJZeR98lI= github.com/fluxcd/pkg/apis/acl v0.11.0 h1:BxThatpA6qd5Qzwim6/hRu0gdAX0JxNm3PledDuJqXo= github.com/fluxcd/pkg/apis/acl v0.11.0/go.mod h1:a87i2A7AlFO5N2J8CxtzaUCCDmuLLWOHwkKu3eJF5fY= -github.com/fluxcd/pkg/apis/kustomize v1.15.0 h1:p8wPIxdmn0vy0a664rsE9JKCfnliZz4HUsDcTy4ZOxA= -github.com/fluxcd/pkg/apis/kustomize v1.15.0/go.mod h1:XWdsx8P15OiMaQIvmUjYWdmD3zAwhl5q9osl5iCqcOk= +github.com/fluxcd/pkg/apis/kustomize v1.15.1 h1:t9QZh+3ZS8EKmlxrnnbcKZcGTrg8FDvMF1T8BHMCuqI= +github.com/fluxcd/pkg/apis/kustomize v1.15.1/go.mod h1:IZOy4CCtR/hxMGb7erK1RfbGnczVv4/dRBoVD37AywI= github.com/fluxcd/pkg/apis/meta v1.26.0 h1:dxP1FfBpTCYso6odzRcltVnnRuBb2VyhhgV0VX9YbUE= github.com/fluxcd/pkg/apis/meta v1.26.0/go.mod h1:c7o6mJGLCMvNrfdinGZehkrdZuFT9vZdZNrn66DtVD0= github.com/fluxcd/source-controller/api v1.8.5 h1:mLKc9YVMk46JCt1BQbkG6irkrpBZp95kiXh2+GYB6KQ= @@ -55,8 +55,8 @@ github.com/fluxcd/source-watcher/api/v2 v2.1.1 h1:1LfT50ty+78MKKbschAZl28QbVqIyj github.com/fluxcd/source-watcher/api/v2 v2.1.1/go.mod h1:6M1BzBGQRoIuSenSQlfJHwMVVobFPiNPxXqfN0IILc4= github.com/fsnotify/fsnotify v1.10.1 h1:b0/UzAf9yR5rhf3RPm9gf3ehBPpf0oZKIjtpKrx59Ho= github.com/fsnotify/fsnotify v1.10.1/go.mod h1:TLheqan6HD6GBK6PrDWyDPBaEV8LspOxvPSjC+bVfgo= -github.com/fxamacker/cbor/v2 v2.9.4 h1:xwjVlxEMR3S605oUlgBjKLTTeGFciYPGYCtF/35LKGo= -github.com/fxamacker/cbor/v2 v2.9.4/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ= +github.com/fxamacker/cbor/v2 v2.9.6 h1:NHZPxuUjJXQjX9itA785y/5NKSlI4HQ+S7noZsmI7hs= +github.com/fxamacker/cbor/v2 v2.9.6/go.mod h1:4EaZp6ClVunETjQ4GHmGNzysDK91Lr+r6Yz6tJqzVCw= github.com/gkampitakis/ciinfo v0.3.4 h1:5eBSibVuSMbb/H6Elc0IIEFbkzCJi3lm94n0+U7Z0KY= github.com/gkampitakis/ciinfo v0.3.4/go.mod h1:1NIwaOcFChN4fa/B0hEBdAb6npDlFL8Bwx4dfRLRqAo= github.com/gkampitakis/go-snaps v0.5.23 h1:okh5QR48zpUjpWtu65AtqxdCY8huJq+dEDuUzd1PuKg= @@ -70,10 +70,10 @@ github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-logr/zapr v1.3.0 h1:XGdV8XW8zdwFiwOA2Dryh1gj2KRQyOOoNmBy4EplIcQ= github.com/go-logr/zapr v1.3.0/go.mod h1:YKepepNBd1u/oyhd/yQmtjVXmm9uML4IXUgMOwR8/Gg= -github.com/go-openapi/jsonpointer v1.0.1 h1:2KxywRmNwJkT/FMBa3iRNHEaAxSJvjqoufQZy3au1Mg= -github.com/go-openapi/jsonpointer v1.0.1/go.mod h1:wI7ZYsFmbIi9nBXOZqgDaS/bqOchRGZjqxFli7FBYxY= -github.com/go-openapi/jsonreference v1.0.2 h1:oS4et8FOf3p3UQxEo4Xt0esijmBUM+F259Xl72OSZsc= -github.com/go-openapi/jsonreference v1.0.2/go.mod h1:TbUNSOo+fcorZjFaNoiSDSoaNnnZtqJtLGR1PuvE/Cs= +github.com/go-openapi/jsonpointer v1.0.2 h1:NbW7xT2b+l7x+JefiPGDsZWsrLk1ogrz4AHK1TTzMt8= +github.com/go-openapi/jsonpointer v1.0.2/go.mod h1:N0rI4MbNKD7xAFTiHtB+5Nhrg2j/wwYg7m7Fmb4/jk8= +github.com/go-openapi/jsonreference v1.0.3 h1:5rDbq+JsjCv6/nUDDJt83nLZoADI4w03uvHXer+4aYQ= +github.com/go-openapi/jsonreference v1.0.3/go.mod h1:OJSlMXHysgH272D9z2tiy2MGe5A9vQLHaCPb6KbYdE4= github.com/go-openapi/swag v0.29.2 h1:9n8frkcsuQRA0INU31VbxNxt1zBaHxrHYGEf5BUjFi4= github.com/go-openapi/swag v0.29.2/go.mod h1:RkCiX1gCVXWgLOavDXE3ALJrQ/VO2ziiIzOUs3z10xo= github.com/go-openapi/swag/cmdutils v0.29.2 h1:cXEzX/nWCODon251f+1HgL75/R4XXML5IZxgLCWMoro= @@ -112,8 +112,8 @@ github.com/golang-jwt/jwt/v5 v5.3.1 h1:kYf81DTWFe7t+1VvL7eS+jKFVWaUnK9cB1qbwn63Y github.com/golang-jwt/jwt/v5 v5.3.1/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE= github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= -github.com/google/cel-go v0.29.2 h1:ZtDxkeiMmz0mxbKDYiNkE5Lk7V5edMRcaaDf2jX002k= -github.com/google/cel-go v0.29.2/go.mod h1:X0bD6iVNR8pkROSOoHVdgTkzmRcosof7WQqCD6wcMc8= +github.com/google/cel-go v0.30.0 h1:ll54AkzKunWkBn9wSoiUXbFZXYZTkdJGNXTBXUoolGo= +github.com/google/cel-go v0.30.0/go.mod h1:X0bD6iVNR8pkROSOoHVdgTkzmRcosof7WQqCD6wcMc8= github.com/google/gnostic-models v0.7.1 h1:SisTfuFKJSKM5CPZkffwi6coztzzeYUhc3v4yxLWH8c= github.com/google/gnostic-models v0.7.1/go.mod h1:whL5G0m6dmc5cPxKc5bdKdEN3UjI7OUGxBlw57miDrQ= github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= @@ -121,18 +121,18 @@ github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/pprof v0.0.0-20260906184651-6331bc6350fe h1:QAinXoAFJdGQYztXn3VpFey7KCwpedbZ/EkzbplQ0cY= -github.com/google/pprof v0.0.0-20260906184651-6331bc6350fe/go.mod h1:jl5iWTm0/hd5PjEYEOuwAJ57L/CibdZfrqZ5XA5GrCk= +github.com/google/pprof v0.0.0-20261008003335-7bae8d8c4c9e h1:e+e5v2rfqKrd4lDA2n3azN3ludWyM2p+4MWob4EBlbk= +github.com/google/pprof v0.0.0-20261008003335-7bae8d8c4c9e/go.mod h1:yUo1AMMpsPIDFGuwDK8nLcf8+vvAd5l2O6JDZ6hpwrM= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 h1:JeSE6pjso5THxAzdVpqr6/geYxZytqFMBCOtn/ujyeo= github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674/go.mod h1:r4w70xmWCQKmi1ONH4KIaBptdivuRPyosB9RmPlGEwA= -github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.1.0 h1:QGLs/O40yoNK9vmy4rhUGBVyMf1lISBGtXRpsu/Qu/o= -github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.1.0/go.mod h1:hM2alZsMUni80N33RBe6J0e423LB+odMj7d3EMP9l20= +github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.1.1 h1:E4CBXV5a/63B3ugXigjU28gr4HHM/BuMa1DtOYWhEz8= +github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.1.1/go.mod h1:4c5LkgQnrWyJl9pvs2+nPRS12n3g/93FAQg8IzhEgnY= github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.4 h1:9ZJYjPEJpcleIKcqysXOo14NLQYwu23fzmKRFpIjPjc= github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.4/go.mod h1:0xydIeg2omQ9DH6zYMP24Kk57793rnLUvP8fwdbFvz8= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.30.0 h1:/Tnpcb2E0Pz/tN9s3bfEY2Q8ePCEX9iuS+cneUwncnw= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.30.0/go.mod h1:zOBXOsUaBSjKgmH4OGzV1esUpR3oUSCPYVd2cUBjKYY= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.31.0 h1:Bd7KaOxzULLxtZ/K5s1aLbWhR0+5RToO65TXHsf3bqQ= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.31.0/go.mod h1:nN7ts3dFXKtCZWc//yfkpcQNKJABg16/uDVAZpLDalo= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jonboulle/clockwork v0.5.0 h1:Hyh9A8u51kptdkR+cqRpT1EebBwTn1oK9YfGYbdFz6I= @@ -141,8 +141,8 @@ github.com/joshdk/go-junit v1.0.0 h1:S86cUKIdwBHWwA6xCmFlf3RTLfVXYQfvanM5Uh+K6GE github.com/joshdk/go-junit v1.0.0/go.mod h1:TiiV0PqkaNfFXjEiyjWM3XXrhVyCa1K4Zfga6W52ung= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/klauspost/compress v1.20.0 h1:a3C1ke2ohxFymNlb2HWAHjDeKCI90scRskErZkR0ezA= -github.com/klauspost/compress v1.20.0/go.mod h1:LUdAzn7YLVvxLpc7y3V1m40wESHTgc1422pwwBSKYuI= +github.com/klauspost/compress v1.20.1 h1:T7kKElXUMXrUJ2E9QhQhxFtcK5rPyLdsGZvdbLMPdiQ= +github.com/klauspost/compress v1.20.1/go.mod h1:LUdAzn7YLVvxLpc7y3V1m40wESHTgc1422pwwBSKYuI= github.com/klauspost/cpuid/v2 v2.0.1/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= github.com/klauspost/cpuid/v2 v2.3.0 h1:S4CRMLnYUhGeDFDqkGriYKdfoFlDnMtqTiI/sFzhA9Y= github.com/klauspost/cpuid/v2 v2.3.0/go.mod h1:hqwkgyIinND0mEev00jJYCxPNVRVXFQeu1XKlok6oO0= @@ -174,21 +174,21 @@ github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee h1:W5t00kpgFd github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/onsi/ginkgo/v2 v2.33.0 h1:C8gBA6Uc2ZEubiV+SXiu5tZnMTwEmXHgkJwGozKtZf8= -github.com/onsi/ginkgo/v2 v2.33.0/go.mod h1:+aXOY+vzZ5mu2iI2HpTZUPmM//oQfsNFX6gU9kNcA44= -github.com/onsi/gomega v1.43.1 h1:vGIPFuYrIO6/0Z09s0I0QQQgFchiX4+tb1re3MScJYo= -github.com/onsi/gomega v1.43.1/go.mod h1:e/C2HwaZ1DhvjzXXuFhcR7hY7Sh9pl7MmoWKEjzwcdA= +github.com/onsi/ginkgo/v2 v2.33.1 h1:62XfWJbEIjPSCSDYrsCPP/SHcmH7O0M8ne8zfqQ2iz4= +github.com/onsi/ginkgo/v2 v2.33.1/go.mod h1:+aXOY+vzZ5mu2iI2HpTZUPmM//oQfsNFX6gU9kNcA44= +github.com/onsi/gomega v1.44.0 h1:eAiGl3Pw5jz5GQdDff0BcxYpAX1JxW8xD7mFUuwNfZQ= +github.com/onsi/gomega v1.44.0/go.mod h1:e/C2HwaZ1DhvjzXXuFhcR7hY7Sh9pl7MmoWKEjzwcdA= github.com/philhofer/fwd v1.2.0 h1:e6DnBTl7vGY+Gz322/ASL4Gyp1FspeMvx1RNDoToZuM= github.com/philhofer/fwd v1.2.0/go.mod h1:RqIHx9QI14HlwKwm98g9Re5prTQ6LdeRQn+gXJFxsJM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v1.24.1 h1:JnJkREXzWxUdCuPFpIWZiPispT9xVV59uiuyR2bPlnU= -github.com/prometheus/client_golang v1.24.1/go.mod h1:F+oSRECHg4sse5ucfYpYDeIv/hu68Zo0uoHKetWnzcE= +github.com/prometheus/client_golang v1.25.0 h1:cDtW1TcFsMi1RJc8khwCKB4VhzwV04aKqbYtNOXuiK0= +github.com/prometheus/client_golang v1.25.0/go.mod h1:j2X/4/kaQHLPnmyEU8zjmkndo1T317VpCIQEml8LTKk= github.com/prometheus/client_model v0.6.3 h1:O0jaTVAYNxTHYInEPFJt5I3+sN8zqBtVMPTB1qyxiEo= github.com/prometheus/client_model v0.6.3/go.mod h1:gpN5P9S7Rr6Yr92PiQ+Ixvhf6JZEkF1dnxsYL2aPBEM= -github.com/prometheus/common v0.71.0 h1:9KDAKb7Mj3HEVKyFCK6Dc/HIwlBzZIN2l7/lrHl3KK8= -github.com/prometheus/common v0.71.0/go.mod h1:CLJ5H8TEsGX8bl31BdMkfhIZ+QmZ9tBPPotUxUbfcmk= +github.com/prometheus/common v0.72.0 h1:tAYsE+sPJxIncDAobm4H5aQjmox9ZxEIIqPbiffa8G4= +github.com/prometheus/common v0.72.0/go.mod h1:77NWqAQ2tXT7BIK40qjJdw5Acrsrg1TlHAnsQi3i6mk= github.com/prometheus/procfs v0.22.0 h1:6q9+/JL9IKAPbCmBrv9n5O5Ty3NKnciV5X7YGw0oics= github.com/prometheus/procfs v0.22.0/go.mod h1:CvmFr/GVhIjIvWJZW3tgkODBQMRIf0EyWMQLHCHab58= github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= @@ -227,20 +227,20 @@ github.com/tinylib/msgp v1.6.1 h1:ESRv8eL3u+DNHUoSAAQRE50Hm162zqAnBoGv9PzScPY= github.com/tinylib/msgp v1.6.1/go.mod h1:RSp0LW9oSxFut3KzESt5Voq4GVWyS+PSulT77roAqEA= github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75 h1:6fotK7otjonDflCTK0BCfls4SPy3NcCVb5dqqmbRknE= github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75/go.mod h1:KO6IkyS8Y3j8OdNO85qEYBsRPuteD+YciPomcXdrMnk= -github.com/vmware-tanzu/velero v1.18.3 h1:9uwN5yxTWQl9PsF5ljX4xiG+7VIq3I9mxOQ0DyyZ31A= -github.com/vmware-tanzu/velero v1.18.3/go.mod h1:tiD1WgZxic89/1eWBW+C5kEYiZKZkztJB2n3dhNbdiw= +github.com/vmware-tanzu/velero v1.18.4 h1:ufoyMH3Y7Y6lDiVnHrwabyyW5xluv1+Hn5zv3xOw8WI= +github.com/vmware-tanzu/velero v1.18.4/go.mod h1:EvUnouLRh2xuSWcE2c+5PgsLyHt8Hb0H8LcJGaYDUu8= github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM= github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg= github.com/xiang90/probing v0.0.0-20221125231312-a49e3df8f510 h1:S2dVYn90KE98chqDkyE9Z4N61UnQd+KOfgp5Iu53llk= github.com/xiang90/probing v0.0.0-20221125231312-a49e3df8f510/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= go.etcd.io/bbolt v1.5.0 h1:S7GAl7Fxv12yohbwFfIbQCGDWbQbtDGPET4P/bD4lxU= go.etcd.io/bbolt v1.5.0/go.mod h1:mkltfYE5aUHQxUct9N9V+Kp7aSjFqjgrhcXIS70Lrdk= -go.etcd.io/etcd/api/v3 v3.7.0 h1:WZlGK7pRtYGDB8ti8wkrQ5D2oWGMbtNL9VA5e+vF2Fg= -go.etcd.io/etcd/api/v3 v3.7.0/go.mod h1:EcTihnwAQ0BQNh5dfAdaFVFdchuo7EP0HlX7TV3jz/A= -go.etcd.io/etcd/client/pkg/v3 v3.7.0 h1:sW9njJzS3vXKcAJjjLQ4nk+avNUJ12Bcijcx8ehUskE= -go.etcd.io/etcd/client/pkg/v3 v3.7.0/go.mod h1:cnzZGIUzSfjEwLC6UBVsSXlEK1eepS/JUD7wE6PLRT0= -go.etcd.io/etcd/client/v3 v3.7.0 h1:5MHO37VbPB87VRPKUXEcicjeQWiTSjpPv3Ume8xPx20= -go.etcd.io/etcd/client/v3 v3.7.0/go.mod h1:DJ382WuwjmbowjPDyaaQ0idWXy4dh91XRhe4FOrb9vM= +go.etcd.io/etcd/api/v3 v3.7.2 h1:xgt/6el1LsPWWYNLkhMAK4tZm6dF+1sCqDecpE5gdbk= +go.etcd.io/etcd/api/v3 v3.7.2/go.mod h1:RoRCBRt9BfBff1pIGZLUVMiz7wu3bY+b2qLysGu1HY4= +go.etcd.io/etcd/client/pkg/v3 v3.7.2 h1:SVtlR7tiSVAYOQ4nWPIyFXb4RMgEcnzeAG9RQ8MoNDU= +go.etcd.io/etcd/client/pkg/v3 v3.7.2/go.mod h1:HsSux/B3ahgyw/D5+d4YbZqicOi0mEbuxm6lIUdjAoI= +go.etcd.io/etcd/client/v3 v3.7.2 h1:Z66GqDQDI7zPDfVSsIBqGSK4mJYLtv8ESwXa4mPf+wY= +go.etcd.io/etcd/client/v3 v3.7.2/go.mod h1:x03t1qMs4tGZirCDJlMuzPBJdQffXJImIyEjLhNBCsY= go.etcd.io/etcd/pkg/v3 v3.7.0 h1:aUBHGzXnYL2m3AlZfKp0ZhHQLVZIKfu9QsIlYdr+mxc= go.etcd.io/etcd/pkg/v3 v3.7.0/go.mod h1:fDQYyc8rOC1Yl4EZLh0O1OjHzwJW7jAly80+BpD1M9o= go.etcd.io/etcd/server/v3 v3.7.0 h1:ScdUdN8ljuimp0lZaNq0otLMrHcFSFT+dQyT1j7JSFo= @@ -249,26 +249,28 @@ go.etcd.io/raft/v3 v3.7.0 h1:BGzlwx07bLv8PW6OU5HObuz1y4hlPZUXA07pM1mPUh4= go.etcd.io/raft/v3 v3.7.0/go.mod h1:6gX6T2X907DjnjsFLODnTxba77stjs84W9gTTI0GUNA= go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.71.0 h1:B2h3uqicet1CT2N5TOFhS+Gq++9i0/CLmaxvhmhtP5s= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.71.0/go.mod h1:dylvB+ZiiwMvsDij9O84Uy7SijLgHMX4mbkncds+4Sw= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.71.0 h1:3g7B90UzBltIDKq1/5mrTGxTnOFDV0ICOhLoxiZ8jlg= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.71.0/go.mod h1:Ef8SuTh59BT7+ofpDxN9z+yOlc4t2GjLmKDgYNJL/NU= -go.opentelemetry.io/otel v1.46.0 h1:FHt5/CDyVxi/8IM1CH7VE/rRgq3kLHa2mSTVMO8AWyc= -go.opentelemetry.io/otel v1.46.0/go.mod h1:Gj3SEScelsNC45tp4nSxRYlS+f5iez7W8XPMCt905kE= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.46.0 h1:OFnwLJr+pF3iHrlGSzbxyuo6/6HyBlnlN1CWEJmBVcw= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.46.0/go.mod h1:716wFneO0ov19A2beH5hjfh9AK5z/VWNAtDijp1Y0/g= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.46.0 h1:w53CDeOA/Kurp7yRsegSr6pbbr759dOvJ+yNmWM6Hxs= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.46.0/go.mod h1:BOmGMCbAtvcJiSJ+hLuhgPLdDbimnraSl8irz3iY8sY= -go.opentelemetry.io/otel/metric v1.46.0 h1:yBnkXvgV7AXFILZc5K6IZe/CBFF3OS7BJ8ov6/lj0K8= -go.opentelemetry.io/otel/metric v1.46.0/go.mod h1:iPmdWqifKUdzziPkvvzIJXITl56fQx2mGM/DHLB3/2o= -go.opentelemetry.io/otel/sdk v1.46.0 h1:h5CNQQjEbuQXY/JfZtgt3i7HVFV3aHPO2OAwO2eTYPI= -go.opentelemetry.io/otel/sdk v1.46.0/go.mod h1:GAERFXFt5SYCEB+YiKUbMBeza6UaDH7GmGOZEfh2gSM= -go.opentelemetry.io/otel/sdk/metric v1.46.0 h1:0piZ26EG4RBfebb2jhDH6ERCYHoVWduc3kLgPCwSnSE= -go.opentelemetry.io/otel/sdk/metric v1.46.0/go.mod h1:I1PbKrdVc8Qu8HYVDNtqVIwLwjNrhsV/uFuxfwg8mO4= -go.opentelemetry.io/otel/trace v1.46.0 h1:OULy7ccdJnZtJ0UDYFOIGaCmiWzJ8Vi2G/Rsu60qs1c= -go.opentelemetry.io/otel/trace v1.46.0/go.mod h1:J7GAXweO77XSFkB/rmAqk9D6ihszhFjLU+d9WuUxDLI= -go.opentelemetry.io/proto/otlp v1.11.0 h1:5rrYs0Ykyj50sdU/JU0x8etU+LubXWb+gED6TbEdMIk= -go.opentelemetry.io/proto/otlp v1.11.0/go.mod h1:SmVizdCOAm3XBtG1g1NnOdhW6jtddT72hLMhv8VwA8E= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.72.0 h1:Tq+E65HaNbZTeqcLw6QUhsV+/EIWdkfUH2CQzcrlE5M= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.72.0/go.mod h1:A+EVhDakAj1waJBPhmTszZaSr08ww8MRRKy1nB1rqck= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.72.0 h1:LxwW/9ctSCv+QkE/cLR7M91ZIkXNMqJtEMi1vCw9U8s= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.72.0/go.mod h1:tOsftB4SslBwwErVEPaenU2RpThXWPIU8DoJHEC4dyw= +go.opentelemetry.io/otel v1.47.0 h1:j7ALJ/zgkS7Z6aeJW09p8VC9804bC+PpeTfCD4XPnOM= +go.opentelemetry.io/otel v1.47.0/go.mod h1:8wS9O2qfXrYrzp6hIF/HOYJJf/wIhFPhR2xLuP+iXQU= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.47.0 h1:julhjPeUH/q/7hinbSdDdqt5h7Zw9YWmRlWRhI0jd54= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.47.0/go.mod h1:Ao2mz688LH/tFf0yMAenidq6k2YNSx6SIY2q6jDACck= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.47.0 h1:UFpxOpYPmMNUtOWhdb+nC1WELIgVf8z9higURrbzYU4= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.47.0/go.mod h1:YBGjxe3lt0jtXoEXxGrGhv/jM7oUBUDVK7zhAvNyEjc= +go.opentelemetry.io/otel/log v1.47.0 h1:cOTS1CcLbSQeZKanGJ+0JpF/+t4PELi3O3bbl2lqCcI= +go.opentelemetry.io/otel/log v1.47.0/go.mod h1:9byitSQ5pLC6PpqwGXjqdMKya6ZTswHRZh2vvXT33nw= +go.opentelemetry.io/otel/metric v1.47.0 h1:4PptaldXx3Eat1XjMZ68pPJEs5wrhlemctZE9a3UdWY= +go.opentelemetry.io/otel/metric v1.47.0/go.mod h1:ADGSXxRrXM6bjbvLo535EstVFlPpPYZm4LBKixjDHwU= +go.opentelemetry.io/otel/sdk v1.47.0 h1:zWXEr4j2lFefG87TU6Yg8a7ngfohIKFZHKp0Hf5hC6I= +go.opentelemetry.io/otel/sdk v1.47.0/go.mod h1:VUc24kiOeoGsxG8G9ULx3fWKvB7jMhnGE8Oi607lgR0= +go.opentelemetry.io/otel/sdk/metric v1.47.0 h1:lfISg2j93VT6yqdk9OfUaZmw/GfcZqCCV3jdXtsPnKw= +go.opentelemetry.io/otel/sdk/metric v1.47.0/go.mod h1:ypLp+mW1Nt2x+Szt3b5/i1syodyts49lMOwxpDI3VGw= +go.opentelemetry.io/otel/trace v1.47.0 h1:JOjX/Oci8K94QHddo+bbfya/Ai/nf6/dt9ZfrFNWSrM= +go.opentelemetry.io/otel/trace v1.47.0/go.mod h1:jNaSLa2PZEYFG6fRjJABAu+bw4FS08uDmPg28lTghu0= +go.opentelemetry.io/proto/otlp v1.11.1 h1:SCrPqH9NE5CmBrOqpjNCiT0X5mGwMyGERXdogfR7Yjw= +go.opentelemetry.io/proto/otlp v1.11.1/go.mod h1:wq8W4aSf6bOy8RZyESOeQFr9Pu7wydWX/TY4sgvrTPg= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= @@ -280,38 +282,38 @@ go.yaml.in/yaml/v2 v2.4.4/go.mod h1:gMZqIpDtDqOfM0uNfy0SkpRhvUryYH0Z6wdMYcacYXQ= go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= -golang.org/x/crypto v0.57.0 h1:3ZVCjf8Ggz7zneR/EHRVx68Ctf+2pmIMP2UFhh9cC6M= -golang.org/x/crypto v0.57.0/go.mod h1:Fdz0i5U6CoizGwLda9DttjSk6qlZo25zYNtR+ycvuZA= -golang.org/x/exp v0.0.0-20260908205506-85c1c2202aba h1:Ck8QetSgk912qxWLMCKxd0in+aiyBQyDSMae6e/xmpU= -golang.org/x/exp v0.0.0-20260908205506-85c1c2202aba/go.mod h1:50RgIsmK7OwqzTTeqcSXQW8SswW0o8fRcDxmqGluJ8E= -golang.org/x/mod v0.41.0 h1:qJmnOUb4YB+FsEuM3HcWucdZASCPGhsX6uljO6pog0c= -golang.org/x/mod v0.41.0/go.mod h1:Ek9pY8RKWXwsWvd3rQiHYtMqkjSUV+s1Rj7j4H5Ur6o= -golang.org/x/net v0.59.0 h1:5zfYln+w5XCxwrnMMJPufRgNoXEaGxl0wo5GqPXyues= -golang.org/x/net v0.59.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg= +golang.org/x/crypto v0.58.0 h1:COkYLr4k7nDI4r6QtMML2AfzeIswWHAJthLS6K/M/54= +golang.org/x/crypto v0.58.0/go.mod h1:Xh+kl5A+M0gMiWDytH2Hhr5Z7WbNCpv/eB/EFgfSk+w= +golang.org/x/exp v0.0.0-20261009195045-ca0d7ba23607 h1:o259es6R0mYtmCeID0xv+dkp5kQSf6qp8zs0j4MdUaI= +golang.org/x/exp v0.0.0-20261009195045-ca0d7ba23607/go.mod h1:SRjTzy5WcYqRRqquLUvHeeovSwLO0CZ3xcltZNO4Fck= +golang.org/x/mod v0.42.0 h1:ICeL3t2L30ljSPHHxDnR4fqVcBt/zR2zJAb9juavmQg= +golang.org/x/mod v0.42.0/go.mod h1:u5fzIrRInkL8MaO1cbRkUHT64v303YIT5KEqpNr7jRs= +golang.org/x/net v0.61.0 h1:RR+6j/BTBCrggOLugxa+66R8FvoN6MHlzDlZIbN9YFw= +golang.org/x/net v0.61.0/go.mod h1:WgDCOTH8iwtB66T4/GfI94AHo/hhdb7Hah9NDseQfiI= golang.org/x/oauth2 v0.37.0 h1:JUlcxA8oAtauLfiH8FX2/FkAWHAdi0QtGCGc+hofE98= golang.org/x/oauth2 v0.37.0/go.mod h1:IxwZNxUULJmpBFf9K/9NTMSIfZZuvuTy1gGxhigP/58= -golang.org/x/sync v0.23.0 h1:KameEIfc1IkluZyXWLn39Wd4tURc6GbCiISGiZm2bQk= -golang.org/x/sync v0.23.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= -golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo= -golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= -golang.org/x/term v0.46.0 h1:3+OXuTbaKDgwk8jTi3aSLHRlmWqHEUDUtxnbFigO4YE= -golang.org/x/term v0.46.0/go.mod h1:+K02xbkittuwc0Am4abfA3Fc+XRGXkvBXNO88NCXPoc= -golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI= -golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E= +golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA= +golang.org/x/sync v0.24.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= +golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA= +golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= +golang.org/x/term v0.47.0 h1:cpyOwQkr2Nzxe2p6KnrTG7Ei2wtzjsuSjhpXXepZ/BM= +golang.org/x/term v0.47.0/go.mod h1:efAfAuG6RKABvg1ArGebRkvX6LXul14SM67o2e4mUCY= +golang.org/x/text v0.43.0 h1:1QivrlhwAsnMOcqgOdl9my7s9OyZl8O5/UGUTJVXoWc= +golang.org/x/text v0.43.0/go.mod h1:hbSIYA/amXcRXTFSZqh8tWHEoqRvvbKPJ2uz/KU+a+s= golang.org/x/time v0.16.0 h1:vMb6ptszcQMkcwiRTAuNNU50gom6++Q/6gY2hDM6VDE= golang.org/x/time v0.16.0/go.mod h1:rVKOqvZeKvrDKTQiAHJ7wmwP0RzleSphoEA9RcdLA0s= -golang.org/x/tools v0.50.0 h1:c2ifzfcuY7L90lZ2aKd8S4K2NpASF08SZx9ZuJkHmSU= -golang.org/x/tools v0.50.0/go.mod h1:7ulVMw3831Mwi5EZD6RomGyffr4VFjuNYXf2BbCEAV0= +golang.org/x/tools v0.52.0 h1:ryxg4U63oaUYk7uOLTF37n43f4qgtGvqV4Ioit1BaEs= +golang.org/x/tools v0.52.0/go.mod h1:ItcP5UNaVGG+Yc4eIYmaFLNJ4soEopkx5Y2d4lcEurs= gomodules.xyz/jsonpatch/v2 v2.5.0 h1:JELs8RLM12qJGXU4u/TO3V25KW8GreMKl9pdkk14RM0= gomodules.xyz/jsonpatch/v2 v2.5.0/go.mod h1:AH3dM2RI6uoBZxn3LVrfvJ3E0/9dG4cSrbuBJT4moAY= gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4= gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E= -google.golang.org/genproto/googleapis/api v0.0.0-20260921155816-b14227669459 h1:GS9OIt/j7c8bvBjYNgnKQysVfmV7e4jM0H8ZK95G4t8= -google.golang.org/genproto/googleapis/api v0.0.0-20260921155816-b14227669459/go.mod h1:PX5/4vemwVoXtwEcRDWwcR1/r0qrosfx3qoVADMwnVE= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260921155816-b14227669459 h1:b0xCahf3FK2m2Cv0p4vTozGPWncCvLfwV86UNg8xWU8= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260921155816-b14227669459/go.mod h1:OaIUM3+LpYcK2GXM4FTmhWoIq371Owdr+Cc7/BsYHHc= -google.golang.org/grpc v1.83.2 h1:EManeRomTObA0BU7I8vXgg/78uE5MJ9M8B39EX2WscU= -google.golang.org/grpc v1.83.2/go.mod h1:YPI1hK3kDked6iHvgX3tR0y+nX/qpMFKhPgFsokw1S8= +google.golang.org/genproto/googleapis/api v0.0.0-20261005182115-fad411399dd8 h1:cFbkNigDInw+wVTXc+CyhUsoHGJCw0BR6mlNoRVfre0= +google.golang.org/genproto/googleapis/api v0.0.0-20261005182115-fad411399dd8/go.mod h1:QK6p7IgD7IZEZJBhhSUCib5X2vMOzlrGCGUw2XyVDh0= +google.golang.org/genproto/googleapis/rpc v0.0.0-20261005182115-fad411399dd8 h1:0SXBqli5dnuCKMjI/X3FM226zEaEa0GUcSCJtN1vL2o= +google.golang.org/genproto/googleapis/rpc v0.0.0-20261005182115-fad411399dd8/go.mod h1:OaIUM3+LpYcK2GXM4FTmhWoIq371Owdr+Cc7/BsYHHc= +google.golang.org/grpc v1.84.0 h1:soMyaPJ8pAak5PIQ0DGBUir0XRo2fRoMqhNWMLlLxO0= +google.golang.org/grpc v1.84.0/go.mod h1:ljCht0DrxQrXBDRTZp52Qxh3Ffk8CdYm2sj4O2QN2C0= google.golang.org/protobuf v1.36.12 h1:pJOKDDOyeXErUroCihFAd5LQuwXBSpVnKGrj5o/fwxc= google.golang.org/protobuf v1.36.12/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -345,14 +347,14 @@ k8s.io/streaming v0.37.1 h1:TpzVfQeFuVndn2g9mFqxy1UcUYPwDzqjUmwR/IzJCWc= k8s.io/streaming v0.37.1/go.mod h1:APlJR26ZWRcVy5bIEj0QRrKUXROtBHPcxl2NT7EAzPU= k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3 h1:jVkFFVfXdXP74B/zbO3hM3hpSFD0xvhQ5U686DPurkE= k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3/go.mod h1:M2s5JB1lIYP3jzZdorPLHXIPJzt9vv2muW5a6L9DtNM= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.36.0 h1:/YpDJ4vReG7ZmzSpBGxduXgywWkJU9zHubgJG03MT+Y= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.36.0/go.mod h1:tJo1aepTXyR+8Xs3sUsGBDk4Ub2AM5dPAPKJx0mpm5c= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.37.0 h1:NWrO5vJ1Dw7gy2JS/iY98JEEvtmQ3lXqNwwCzzOC1gk= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.37.0/go.mod h1:x/fWe7nc0XDKUqK5XZ5nqmWKdQxvouWB7OmEAsxltiI= sigs.k8s.io/container-object-storage-interface-api v0.1.0 h1:8tB6JFQhbQIC1hwGQ+q4+tmSSNfjKemb7bFI6C0CK/4= sigs.k8s.io/container-object-storage-interface-api v0.1.0/go.mod h1:YiB+i/UGkzqgODDhRG3u7jkbWkQcoUeLEJ7hwOT/2Qk= -sigs.k8s.io/controller-runtime v0.25.1 h1:BKgU9OeE8xv8EbbM8cY0NVzTQs35rokkdq1jh12fMb4= -sigs.k8s.io/controller-runtime v0.25.1/go.mod h1:4QqLdT6z/L6Olj8JJCtvztid4/fnIiYsfaTFScegctc= -sigs.k8s.io/gateway-api v1.4.1 h1:NPxFutNkKNa8UfLd2CMlEuhIPMQgDQ6DXNKG9sHbJU8= -sigs.k8s.io/gateway-api v1.4.1/go.mod h1:AR5RSqciWP98OPckEjOjh2XJhAe2Na4LHyXD2FUY7Qk= +sigs.k8s.io/controller-runtime v0.25.2 h1:bEkK3PVOIVK9X8QWLGVhJgmFc++47vfT6wakSzAOLsQ= +sigs.k8s.io/controller-runtime v0.25.2/go.mod h1:4QqLdT6z/L6Olj8JJCtvztid4/fnIiYsfaTFScegctc= +sigs.k8s.io/gateway-api v1.6.3 h1:lKpJa5bGlraC/QeACvCpsHLdmO6y0iKfzVl6gzaFEYc= +sigs.k8s.io/gateway-api v1.6.3/go.mod h1:FVfx3t389ybeXOqvDghLbdvJdSCfI/PReqCUI3lu3mY= sigs.k8s.io/json v0.0.0-20260909141634-11ed52e25bc5 h1:k9jo7ED/fsfOcz3L1P20P5tjTNtsdQNwMOG2aKzHrl8= sigs.k8s.io/json v0.0.0-20260909141634-11ed52e25bc5/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg= sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU= diff --git a/internal/controller/tenantgateway/reconciler_test.go b/internal/controller/tenantgateway/reconciler_test.go index de51d74b2..469af1ccd 100644 --- a/internal/controller/tenantgateway/reconciler_test.go +++ b/internal/controller/tenantgateway/reconciler_test.go @@ -32,6 +32,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/types" clientgoscheme "k8s.io/client-go/kubernetes/scheme" ctrl "sigs.k8s.io/controller-runtime" @@ -10058,7 +10059,7 @@ func TestReconcile_FatalRouteStatusWriteFailsTheReconcile(t *testing.T) { WithInterceptorFuncs(interceptor.Funcs{ SubResourceUpdate: func(ctx context.Context, cl client.Client, subResourceName string, obj client.Object, opts ...client.SubResourceUpdateOption) error { if route, isRoute := obj.(*gatewayv1.HTTPRoute); isRoute && route.Name == "stuck" { - return apierrors.NewInvalid(gatewayv1.SchemeGroupVersion.WithKind("HTTPRoute").GroupKind(), route.Name, nil) + return apierrors.NewInvalid(schema.GroupKind{Group: gatewayv1.GroupName, Kind: "HTTPRoute"}, route.Name, nil) } return cl.SubResource(subResourceName).Update(ctx, obj, opts...) }, diff --git a/internal/controller/tenantgateway/renderers.go b/internal/controller/tenantgateway/renderers.go index fbcb910c2..f9886b865 100644 --- a/internal/controller/tenantgateway/renderers.go +++ b/internal/controller/tenantgateway/renderers.go @@ -912,7 +912,7 @@ func (r *Reconciler) renderWildcardCertificate(tgw *gatewayv1alpha1.TenantGatewa }, Spec: cmv1.CertificateSpec{ SecretName: gatewayCertificateName(tgw), - IssuerRef: cmmetav1.ObjectReference{ + IssuerRef: cmmetav1.IssuerReference{ Kind: "Issuer", Name: gatewayIssuerName(tgw), }, @@ -1057,7 +1057,7 @@ func (r *Reconciler) renderPerListenerCertificate(tgw *gatewayv1alpha1.TenantGat }, Spec: cmv1.CertificateSpec{ SecretName: name, - IssuerRef: cmmetav1.ObjectReference{ + IssuerRef: cmmetav1.IssuerReference{ Kind: "Issuer", Name: gatewayIssuerName(tgw), }, diff --git a/packages/apps/kubernetes/images/kubevirt-csi-driver/go.mod b/packages/apps/kubernetes/images/kubevirt-csi-driver/go.mod index 5f717fd67..d04fc2ced 100644 --- a/packages/apps/kubernetes/images/kubevirt-csi-driver/go.mod +++ b/packages/apps/kubernetes/images/kubevirt-csi-driver/go.mod @@ -1,29 +1,30 @@ module cozystack.io/kubevirt-csi-driver -go 1.27.1 +go 1.27.2 require ( github.com/container-storage-interface/spec v1.13.0 - google.golang.org/grpc v1.83.2 + google.golang.org/grpc v1.84.0 google.golang.org/protobuf v1.36.12 gopkg.in/yaml.v2 v2.4.0 - k8s.io/api v0.36.0 - k8s.io/apimachinery v0.36.0 + k8s.io/api v0.37.1 + k8s.io/apimachinery v0.37.1 k8s.io/client-go v12.0.0+incompatible k8s.io/klog/v2 v2.140.0 - k8s.io/mount-utils v0.36.0 + k8s.io/mount-utils v0.37.1 + k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3 kubevirt.io/api v1.2.2 kubevirt.io/containerized-data-importer-api v1.59.0 - kubevirt.io/csi-driver v0.0.0-20260424143118-bee6c348c004 + kubevirt.io/csi-driver v0.0.0-20261009123611-f10ae947eac2 ) require ( github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect - github.com/emicklei/go-restful/v3 v3.13.0 // indirect - github.com/fxamacker/cbor/v2 v2.9.4 // indirect + github.com/emicklei/go-restful/v3 v3.14.0 // indirect + github.com/fxamacker/cbor/v2 v2.9.6 // indirect github.com/go-logr/logr v1.4.4 // indirect - github.com/go-openapi/jsonpointer v1.0.1 // indirect - github.com/go-openapi/jsonreference v1.0.2 // indirect + github.com/go-openapi/jsonpointer v1.0.2 // indirect + github.com/go-openapi/jsonreference v1.0.3 // indirect github.com/go-openapi/swag v0.29.2 // indirect github.com/go-openapi/swag/cmdutils v0.29.2 // indirect github.com/go-openapi/swag/conv v0.29.2 // indirect @@ -38,71 +39,69 @@ require ( github.com/go-openapi/swag/yamlutils v0.29.2 // indirect github.com/golang/mock v1.6.0 // indirect github.com/google/gnostic-models v0.7.1 // indirect - github.com/google/pprof v0.0.0-20260906184651-6331bc6350fe // indirect + github.com/google/pprof v0.0.0-20261008003335-7bae8d8c4c9e // indirect github.com/google/uuid v1.6.0 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/kubernetes-csi/csi-lib-utils v0.24.0 // indirect + github.com/kubernetes-csi/csi-lib-utils v0.25.0 // indirect github.com/kubernetes-csi/external-snapshotter/client/v6 v6.3.0 // indirect github.com/moby/sys/mountinfo v0.7.2 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect - github.com/onsi/ginkgo/v2 v2.33.0 // indirect - github.com/onsi/gomega v1.43.1 // indirect + github.com/onsi/ginkgo/v2 v2.33.1 // indirect + github.com/onsi/gomega v1.44.0 // indirect github.com/openshift/api v0.0.0-20230503133300-8bbcb7ca7183 // indirect github.com/openshift/custom-resource-status v1.1.2 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/rogpeppe/go-internal v1.16.0 // indirect github.com/spf13/pflag v1.0.10 // indirect - github.com/stretchr/testify v1.12.1 // indirect github.com/x448/float16 v0.8.4 // indirect go.yaml.in/yaml/v2 v2.4.4 // indirect go.yaml.in/yaml/v3 v3.0.5 // indirect - golang.org/x/net v0.59.0 // indirect + golang.org/x/net v0.61.0 // indirect golang.org/x/oauth2 v0.37.0 // indirect - golang.org/x/sys v0.48.0 // indirect - golang.org/x/term v0.46.0 // indirect - golang.org/x/text v0.42.0 // indirect + golang.org/x/sys v0.49.0 // indirect + golang.org/x/term v0.47.0 // indirect + golang.org/x/text v0.43.0 // indirect golang.org/x/time v0.16.0 // indirect - golang.org/x/tools v0.50.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20260921155816-b14227669459 // indirect + golang.org/x/tools v0.52.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20261005182115-fad411399dd8 // indirect gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect k8s.io/apiextensions-apiserver v0.34.3 // indirect - k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a // indirect - k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3 // indirect + k8s.io/kube-openapi v0.0.0-20260821135717-be32def86098 // indirect kubevirt.io/controller-lifecycle-operator-sdk/api v0.2.4 // indirect sigs.k8s.io/json v0.0.0-20260909141634-11ed52e25bc5 // indirect sigs.k8s.io/randfill v1.0.0 // indirect - sigs.k8s.io/structured-merge-diff/v6 v6.3.2 // indirect + sigs.k8s.io/structured-merge-diff/v6 v6.4.2 // indirect sigs.k8s.io/yaml v1.6.0 // indirect ) replace ( - k8s.io/api => k8s.io/api v0.36.0 - k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.36.0 - k8s.io/apimachinery => k8s.io/apimachinery v0.36.0 - k8s.io/apiserver => k8s.io/apiserver v0.36.0 - k8s.io/cli-runtime => k8s.io/cli-runtime v0.36.0 - k8s.io/client-go => k8s.io/client-go v0.36.0 - k8s.io/cloud-provider => k8s.io/cloud-provider v0.36.0 - k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.36.0 - k8s.io/code-generator => k8s.io/code-generator v0.36.0 - k8s.io/component-base => k8s.io/component-base v0.36.0 - k8s.io/component-helpers => k8s.io/component-helpers v0.36.0 - k8s.io/controller-manager => k8s.io/controller-manager v0.36.0 - k8s.io/cri-api => k8s.io/cri-api v0.36.0 - k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.36.0 - k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.36.0 - k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.36.0 - k8s.io/kube-proxy => k8s.io/kube-proxy v0.36.0 - k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.36.0 - k8s.io/kubectl => k8s.io/kubectl v0.36.0 - k8s.io/kubelet => k8s.io/kubelet v0.36.0 - k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.36.0 - k8s.io/metrics => k8s.io/metrics v0.36.0 - k8s.io/mount-utils => k8s.io/mount-utils v0.36.0 - k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.36.0 - k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.36.0 - kubevirt.io/csi-driver => github.com/kubevirt/csi-driver v0.0.0-20260924151015-cb4770e4e475 + k8s.io/api => k8s.io/api v0.37.1 + k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.37.1 + k8s.io/apimachinery => k8s.io/apimachinery v0.37.1 + k8s.io/apiserver => k8s.io/apiserver v0.37.1 + k8s.io/cli-runtime => k8s.io/cli-runtime v0.37.1 + k8s.io/client-go => k8s.io/client-go v0.37.1 + k8s.io/cloud-provider => k8s.io/cloud-provider v0.37.1 + k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.37.1 + k8s.io/code-generator => k8s.io/code-generator v0.37.1 + k8s.io/component-base => k8s.io/component-base v0.37.1 + k8s.io/component-helpers => k8s.io/component-helpers v0.37.1 + k8s.io/controller-manager => k8s.io/controller-manager v0.37.1 + k8s.io/cri-api => k8s.io/cri-api v0.37.1 + k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.37.1 + k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.37.1 + k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.37.1 + k8s.io/kube-proxy => k8s.io/kube-proxy v0.37.1 + k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.37.1 + k8s.io/kubectl => k8s.io/kubectl v0.37.1 + k8s.io/kubelet => k8s.io/kubelet v0.37.1 + k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.37.1 + k8s.io/metrics => k8s.io/metrics v0.37.1 + k8s.io/mount-utils => k8s.io/mount-utils v0.37.1 + k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.37.1 + k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.37.1 + kubevirt.io/csi-driver => github.com/kubevirt/csi-driver v0.0.0-20261009123611-f10ae947eac2 ) diff --git a/packages/apps/kubernetes/images/kubevirt-csi-driver/go.sum b/packages/apps/kubernetes/images/kubevirt-csi-driver/go.sum index c9fe98dee..5692b9c00 100644 --- a/packages/apps/kubernetes/images/kubevirt-csi-driver/go.sum +++ b/packages/apps/kubernetes/images/kubevirt-csi-driver/go.sum @@ -6,8 +6,6 @@ github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbt github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= -github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= -github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= @@ -21,14 +19,14 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8Yc github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emicklei/go-restful v2.15.0+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= -github.com/emicklei/go-restful/v3 v3.11.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= -github.com/emicklei/go-restful/v3 v3.13.0 h1:C4Bl2xDndpU6nJ4bc1jXd+uTmYPVUwkD6bFY/oTyCes= github.com/emicklei/go-restful/v3 v3.13.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= +github.com/emicklei/go-restful/v3 v3.14.0 h1:6V6Ba8/5W1Z7amPinklZeCMlHBMwj53thpfxazCLMX4= +github.com/emicklei/go-restful/v3 v3.14.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/fxamacker/cbor/v2 v2.9.0/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ= -github.com/fxamacker/cbor/v2 v2.9.4 h1:xwjVlxEMR3S605oUlgBjKLTTeGFciYPGYCtF/35LKGo= -github.com/fxamacker/cbor/v2 v2.9.4/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ= +github.com/fxamacker/cbor/v2 v2.9.1/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ= +github.com/fxamacker/cbor/v2 v2.9.6 h1:NHZPxuUjJXQjX9itA785y/5NKSlI4HQ+S7noZsmI7hs= +github.com/fxamacker/cbor/v2 v2.9.6/go.mod h1:4EaZp6ClVunETjQ4GHmGNzysDK91Lr+r6Yz6tJqzVCw= github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= @@ -40,54 +38,63 @@ github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ4 github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/logr v1.4.4 h1:tG4xh9yMsRCAiodLVTxyrkzSZ9+o0L1Kg/+cPVcbP/8= github.com/go-logr/logr v1.4.4/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= -github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= -github.com/go-openapi/jsonpointer v0.21.0/go.mod h1:IUyH9l/+uyhIYQ/PXVA41Rexl+kOkAPDdXEYns6fzUY= -github.com/go-openapi/jsonpointer v1.0.1 h1:2KxywRmNwJkT/FMBa3iRNHEaAxSJvjqoufQZy3au1Mg= -github.com/go-openapi/jsonpointer v1.0.1/go.mod h1:wI7ZYsFmbIi9nBXOZqgDaS/bqOchRGZjqxFli7FBYxY= +github.com/go-openapi/jsonpointer v1.0.0/go.mod h1:Z3rw7dWu1p9IgitXCFamSlA5lmDiklEB6vkaxcNZW5Y= +github.com/go-openapi/jsonpointer v1.0.2 h1:NbW7xT2b+l7x+JefiPGDsZWsrLk1ogrz4AHK1TTzMt8= +github.com/go-openapi/jsonpointer v1.0.2/go.mod h1:N0rI4MbNKD7xAFTiHtB+5Nhrg2j/wwYg7m7Fmb4/jk8= github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= github.com/go-openapi/jsonreference v0.19.6/go.mod h1:diGHMEHg2IqXZGKxqyvWdfWU/aim5Dprw5bqpKkTvns= -github.com/go-openapi/jsonreference v0.20.1/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= -github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= -github.com/go-openapi/jsonreference v1.0.2 h1:oS4et8FOf3p3UQxEo4Xt0esijmBUM+F259Xl72OSZsc= -github.com/go-openapi/jsonreference v1.0.2/go.mod h1:TbUNSOo+fcorZjFaNoiSDSoaNnnZtqJtLGR1PuvE/Cs= +github.com/go-openapi/jsonreference v1.0.0/go.mod h1:jtwdyGbJk0Xhe5Y+rwtglQP6Sb1WZST4rT32LWB+sv0= +github.com/go-openapi/jsonreference v1.0.3 h1:5rDbq+JsjCv6/nUDDJt83nLZoADI4w03uvHXer+4aYQ= +github.com/go-openapi/jsonreference v1.0.3/go.mod h1:OJSlMXHysgH272D9z2tiy2MGe5A9vQLHaCPb6KbYdE4= github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/swag v0.21.1/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= -github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= -github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ577vPjgQ= +github.com/go-openapi/swag v0.27.1/go.mod h1:GTkJPwHfhJp6MWr4/rCh64HVI3Ofu+tcsbfjfHmTxpE= github.com/go-openapi/swag v0.29.2 h1:9n8frkcsuQRA0INU31VbxNxt1zBaHxrHYGEf5BUjFi4= github.com/go-openapi/swag v0.29.2/go.mod h1:RkCiX1gCVXWgLOavDXE3ALJrQ/VO2ziiIzOUs3z10xo= +github.com/go-openapi/swag/cmdutils v0.27.1/go.mod h1:Sm1MVFMkF6guJJ+pQqHnQA3N0j9qALV3NxzDSv6bETM= github.com/go-openapi/swag/cmdutils v0.29.2 h1:cXEzX/nWCODon251f+1HgL75/R4XXML5IZxgLCWMoro= github.com/go-openapi/swag/cmdutils v0.29.2/go.mod h1:XziaSVzYqkDvpWXzASfWajw2YvJrLscq610O2XiyqJw= +github.com/go-openapi/swag/conv v0.27.1/go.mod h1:QbqMivkpKhC3g1B1GGGOJ6ANewI3S62dbzYu3Duowqs= github.com/go-openapi/swag/conv v0.29.2 h1:8c9shoB8l0QRSR6ymq1llHdBWDqpIgJfjTGHx3Vuhm0= github.com/go-openapi/swag/conv v0.29.2/go.mod h1:AZS0YigTNf8qNtD6WqJz/N4RUNmpr76SyjFGkq4+p6Q= +github.com/go-openapi/swag/fileutils v0.27.1/go.mod h1:VvJFZLTZS0AI854gEQz5tk7dBESdLjiNUMSZ/th2ry8= github.com/go-openapi/swag/fileutils v0.29.2 h1:mdUL+Vw5ah1fO1AvFCoHeIyv7YZsCz2MN3KNqd/lLVI= github.com/go-openapi/swag/fileutils v0.29.2/go.mod h1:7QKmmodjAebaq61lGVJa8ldLdGeMF4DSgYv8tXOGGo0= +github.com/go-openapi/swag/jsonutils v0.27.1/go.mod h1:tdlEpZqdcQ17uj6J4YdK9vd8It5qWMwjWXOs0tjpRlk= github.com/go-openapi/swag/jsonutils v0.29.2 h1:uZNSD2/rJDYAfvsLYkykTzXuyxM3QpDKV9jhRHrMu6k= github.com/go-openapi/swag/jsonutils v0.29.2/go.mod h1:ONTdNvj3Y+IXRzfa17E+Rgt2ns/qiSOYjIo2K7v2yDs= +github.com/go-openapi/swag/jsonutils/fixtures_test v0.27.1/go.mod h1:mofwUWx70wvskwESqRJ//k/9kURmCgyJl5m5Ppoh5kY= github.com/go-openapi/swag/jsonutils/fixtures_test v0.29.2 h1:w+Fd6EBOMGlC74GYGHqCLGyb3Bpams8TtNrgM/SG4jo= github.com/go-openapi/swag/jsonutils/fixtures_test v0.29.2/go.mod h1:HC2egPORFzbj/gf05Zrfgz8Mgplx3oW7hgGi7pjZVhM= +github.com/go-openapi/swag/loading v0.27.1/go.mod h1:jvGh3iA2+zyUUycB5fgJWzeHnhrpvGnJJM0RVE9ZShE= github.com/go-openapi/swag/loading v0.29.2 h1:QU1ry24e6r6Shoxe380Nx0X5iKkpRO+hJffsyJ2dVlY= github.com/go-openapi/swag/loading v0.29.2/go.mod h1:DqilDjuiJKETecsS4TRopWG1acUDsfqN39ZmQhPu6uI= +github.com/go-openapi/swag/mangling v0.27.1/go.mod h1:jtBE2+V+3pILxOR7Vgce+Cwp6A2PgZbvVqfNntbVs0w= github.com/go-openapi/swag/mangling v0.29.2 h1:ltdo3K0tTP4P6zWhVVWDU9D37/YYBuMJRdZxiS2Dtog= github.com/go-openapi/swag/mangling v0.29.2/go.mod h1:RjDi4TnItAenS3cgCXSpIl1kKbjG7il6pnmQVl/8bp8= +github.com/go-openapi/swag/netutils v0.27.1/go.mod h1:J+WYyFMLtvtCGqa6jLv+YNUmIKI3ZRQRrvfNDMoQoEQ= github.com/go-openapi/swag/netutils v0.29.2 h1:dBli6jyUa93sDS/XYWShJzf4+nnVfFKfvY9SLUaUzB8= github.com/go-openapi/swag/netutils v0.29.2/go.mod h1:1pM6Xg/Um8E1eps3umWl8Hme3ByWXOtHsvFC0CULHUE= +github.com/go-openapi/swag/pools v0.27.1/go.mod h1:kVQefhSK5RWuRe7BXsL8htgBPAMpN7HDGpGEknqugeE= github.com/go-openapi/swag/pools v0.29.2 h1:PlGoDRF8WtSyXkedZZkpW3f9wDhFf3u8KtaBcmgmh8c= github.com/go-openapi/swag/pools v0.29.2/go.mod h1:V3lhxVT4qDYRqc2MRSSbLsTYIYV/2HlHafhyEkmzLIc= +github.com/go-openapi/swag/stringutils v0.27.1/go.mod h1:lzRN95CxXmA03XcDWHLOb6nOMcxCqR5rGY0lOgsfRoM= github.com/go-openapi/swag/stringutils v0.29.2 h1:lcnBxwAaysT3bMUVBfn9V/PkfVqkurpqufKU6rTUMGk= github.com/go-openapi/swag/stringutils v0.29.2/go.mod h1:i9cdh7sGaa0nm3CqIvH5IM5h2QClk1wns2ktKeILvRI= +github.com/go-openapi/swag/typeutils v0.27.1/go.mod h1:Srm0xFNRZ1Y+vCxJclo5qzx8aj+1pAKda/YfFPrG0dQ= github.com/go-openapi/swag/typeutils v0.29.2 h1:O7aVvkTs3pXwikgtrPLenigEMdQFgONKRooQA9pgf2I= github.com/go-openapi/swag/typeutils v0.29.2/go.mod h1:7+GDG+uz9Ke+eVt4rClZg7wklSDp8hT/mKNh/pC26TE= +github.com/go-openapi/swag/yamlutils v0.27.1/go.mod h1:bnxFIB1qewGRiZHypXGZ3fNgf13/0HfRgnS/iZBDrOo= github.com/go-openapi/swag/yamlutils v0.29.2 h1:IFKFFeDnuIwzfsuWRQU+rI8iL3g4XyAYjV/RlnlxPLM= github.com/go-openapi/swag/yamlutils v0.29.2/go.mod h1:7MGqtcrK73sxQ4ceiyIf8qiXS/s09JLMdR5esK5euYQ= +github.com/go-openapi/testify/enable/yaml/v2 v2.6.0/go.mod h1:tY+St1SGq4NFl0QIqdTY4aEdbChAHxhyB77XQi9iJCo= github.com/go-openapi/testify/enable/yaml/v2 v2.7.0 h1:wPW6YRgx3+SID1yUy/Xwa17L8kFEaEKod2VRbJDZNUs= github.com/go-openapi/testify/enable/yaml/v2 v2.7.0/go.mod h1:mI1M88etYbc3PhgHsWQK2kwvNwW5aGFqMPbmib+SGIs= -github.com/go-openapi/testify/v2 v2.7.0 h1:bycOreEj6wfBvijg3YFogZ/sFjTCDmQnwSodSzHa3X8= -github.com/go-openapi/testify/v2 v2.7.0/go.mod h1:SgsVHtfooshd0tublTtJ50FPKhujf47YRqauXXOUxfw= +github.com/go-openapi/testify/v2 v2.6.0/go.mod h1:SgsVHtfooshd0tublTtJ50FPKhujf47YRqauXXOUxfw= +github.com/go-openapi/testify/v2 v2.8.0 h1:19QDx5b57p8KjO2E4sgs/woL4Akp+FGLRlVm2xn0Rho= +github.com/go-openapi/testify/v2 v2.8.0/go.mod h1:4gUN8jC+RqOE2qjW/vDmfyTvl5BCht4qL7oca0odrak= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 h1:p104kn46Q8WdvHunIJ9dAyjPVtrBPhSr3KT2yUst43I= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI= @@ -120,8 +127,8 @@ github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20260906184651-6331bc6350fe h1:QAinXoAFJdGQYztXn3VpFey7KCwpedbZ/EkzbplQ0cY= -github.com/google/pprof v0.0.0-20260906184651-6331bc6350fe/go.mod h1:jl5iWTm0/hd5PjEYEOuwAJ57L/CibdZfrqZ5XA5GrCk= +github.com/google/pprof v0.0.0-20261008003335-7bae8d8c4c9e h1:e+e5v2rfqKrd4lDA2n3azN3ludWyM2p+4MWob4EBlbk= +github.com/google/pprof v0.0.0-20261008003335-7bae8d8c4c9e/go.mod h1:yUo1AMMpsPIDFGuwDK8nLcf8+vvAd5l2O6JDZ6hpwrM= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -144,12 +151,12 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/kubernetes-csi/csi-lib-utils v0.24.0 h1:hpL5ecxtr07/DNIF9Qn/gbNG/ZlgMSMZxfRtgfVm9tY= -github.com/kubernetes-csi/csi-lib-utils v0.24.0/go.mod h1:JbvkvtWghDcVZnwQoSi6Np9ITwqN7+sqLiSsM9y4kRE= +github.com/kubernetes-csi/csi-lib-utils v0.25.0 h1:uPfcPBYpJ8NyGAzQLo+JWvTHAy3OMmLgCWQuFTJmkWM= +github.com/kubernetes-csi/csi-lib-utils v0.25.0/go.mod h1:Ks9h3Iy9opBbBZyMbS85MOBxGYXbjPKYbeI2/flMhL8= github.com/kubernetes-csi/external-snapshotter/client/v6 v6.3.0 h1:qS4r4ljINLWKJ9m9Ge3Q3sGZ/eIoDVDT2RhAdQFHb1k= github.com/kubernetes-csi/external-snapshotter/client/v6 v6.3.0/go.mod h1:oGXx2XTEzs9ikW2V6IC1dD8trgjRsS/Mvc2JRiC618Y= -github.com/kubevirt/csi-driver v0.0.0-20260924151015-cb4770e4e475 h1:82B2pAet/OdspUVsJ8VWl4KI58dfcyJJPyrr/dW6o08= -github.com/kubevirt/csi-driver v0.0.0-20260924151015-cb4770e4e475/go.mod h1:ErITd7C1TCf5N8MRWOjoabX5s5sfW2BUGOOiUOtx+9E= +github.com/kubevirt/csi-driver v0.0.0-20261009123611-f10ae947eac2 h1:cC7cq61xzOBCOGLVEe/QM/ZvwqiRuNRdAKhl2KawuKw= +github.com/kubevirt/csi-driver v0.0.0-20261009123611-f10ae947eac2/go.mod h1:IzN5Rpdz9MhnLXkDEWrCHR9t5gCtVK8ljY4IvCSZDO0= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= @@ -177,15 +184,15 @@ github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+W github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= github.com/onsi/ginkgo/v2 v2.0.0/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= -github.com/onsi/ginkgo/v2 v2.33.0 h1:C8gBA6Uc2ZEubiV+SXiu5tZnMTwEmXHgkJwGozKtZf8= -github.com/onsi/ginkgo/v2 v2.33.0/go.mod h1:+aXOY+vzZ5mu2iI2HpTZUPmM//oQfsNFX6gU9kNcA44= +github.com/onsi/ginkgo/v2 v2.33.1 h1:62XfWJbEIjPSCSDYrsCPP/SHcmH7O0M8ne8zfqQ2iz4= +github.com/onsi/ginkgo/v2 v2.33.1/go.mod h1:+aXOY+vzZ5mu2iI2HpTZUPmM//oQfsNFX6gU9kNcA44= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= github.com/onsi/gomega v1.18.1/go.mod h1:0q+aL8jAiMXy9hbwj2mr5GziHiwhAIQpFmmtT5hitRs= -github.com/onsi/gomega v1.43.1 h1:vGIPFuYrIO6/0Z09s0I0QQQgFchiX4+tb1re3MScJYo= -github.com/onsi/gomega v1.43.1/go.mod h1:e/C2HwaZ1DhvjzXXuFhcR7hY7Sh9pl7MmoWKEjzwcdA= +github.com/onsi/gomega v1.44.0 h1:eAiGl3Pw5jz5GQdDff0BcxYpAX1JxW8xD7mFUuwNfZQ= +github.com/onsi/gomega v1.44.0/go.mod h1:e/C2HwaZ1DhvjzXXuFhcR7hY7Sh9pl7MmoWKEjzwcdA= github.com/openshift/api v0.0.0-20230503133300-8bbcb7ca7183 h1:t/CahSnpqY46sQR01SoS+Jt0jtjgmhgE6lFmRnO4q70= github.com/openshift/api v0.0.0-20230503133300-8bbcb7ca7183/go.mod h1:4VWG+W22wrB4HfBL88P40DxLEpSOaiBVxUnfalfJo9k= github.com/openshift/custom-resource-status v1.1.2 h1:C3DL44LEbvlbItfd8mT5jWrqPfHnSOQoQf/sypqA6A4= @@ -195,13 +202,11 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= -github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc= github.com/rogpeppe/go-internal v1.16.0 h1:O9DK+vNMDVGLr2BeZqmpLeMjiMNkuXfcqntWbZV6S5g= github.com/rogpeppe/go-internal v1.16.0/go.mod h1:DrUVZyrJU+txYW5/1kwtXQSMFio52ZOxX7yM1VHvnxs= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk= github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= @@ -216,9 +221,7 @@ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5 github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE= github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg= @@ -229,18 +232,6 @@ github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9dec github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= -go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= -go.opentelemetry.io/otel v1.44.0 h1:JjwHmHpA4iZ3wBxluu2fbbE7j4kqlE8jXyAyPXH7HqU= -go.opentelemetry.io/otel v1.44.0/go.mod h1:BMgjTHL9WPRlRjL2oZCBTL4whCGtXch2H4BhOPIAyYc= -go.opentelemetry.io/otel/metric v1.44.0 h1:1w0gILTcHdr3YI+ixLyjemwrVnsMURbTZFrSYCdDdmc= -go.opentelemetry.io/otel/metric v1.44.0/go.mod h1:8O7hanEPBNgEMmybD3s2VBKcgWOCsA6tzHBPODAiquo= -go.opentelemetry.io/otel/sdk v1.44.0 h1:nHYwb9lK+fJPU/dnT6s7W7Z8itMWyqrnVfbheVYrZ58= -go.opentelemetry.io/otel/sdk v1.44.0/go.mod h1:Osuydd3Se74nqjAKxid74N5eC+jfEqfTegHRnq58oK0= -go.opentelemetry.io/otel/sdk/metric v1.44.0 h1:3LlKgI+VjbVsjNRFZJZAJ30WjXC5VkNRks6si09iEfI= -go.opentelemetry.io/otel/sdk/metric v1.44.0/go.mod h1:5B5pMARnXxKhltooO4xUuCBorl65a4EpnTalObqOigA= -go.opentelemetry.io/otel/trace v1.44.0 h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/6gtIk= -go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.yaml.in/yaml/v2 v2.4.2/go.mod h1:081UH+NErpNdqlCXm3TtEran0rJZGxAYx9hb/ELlsPU= @@ -269,13 +260,18 @@ golang.org/x/crypto v0.43.0/go.mod h1:BFbav4mRNlXJL4wNeejLpWxB7wMbc79PdRGhWKncxR golang.org/x/crypto v0.44.0/go.mod h1:013i+Nw79BMiQiMsOPcVCB5ZIJbYkerPrGnOa00tvmc= golang.org/x/crypto v0.46.0/go.mod h1:Evb/oLKmMraqjZ2iQTwDwvCtJkczlDuTmdJXoZVzqU0= golang.org/x/crypto v0.47.0/go.mod h1:ff3Y9VzzKbwSSEzWqJsJVBnWmRwRSHt/6Op5n9bQc4A= +golang.org/x/crypto v0.48.0/go.mod h1:r0kV5h3qnFPlQnBSrULhlsRfryS2pmewsg+XfMgkVos= +golang.org/x/crypto v0.49.0/go.mod h1:ErX4dUh2UM+CFYiXZRTcMpEcN8b/1gxEuv3nODoYtCA= +golang.org/x/crypto v0.50.0/go.mod h1:3muZ7vA7PBCE6xgPX7nkzzjiUq87kRItoJQM1Yo8S+Q= +golang.org/x/crypto v0.51.0/go.mod h1:8AdwkbraGNABw2kOX6YFPs3WM22XqI4EXEd8g+x7Oc8= +golang.org/x/crypto v0.53.0/go.mod h1:DNLU434OwVakk9PzuwV8w62mAJpRJL3vsgcfp4Qnsio= +golang.org/x/crypto v0.54.0/go.mod h1:KWL8ny2AZdGR2cWmzeHrp2azQPGogOv+HeQaVEXC2dk= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= @@ -290,8 +286,13 @@ golang.org/x/mod v0.29.0/go.mod h1:NyhrlYXJ2H4eJiRy/WDBO6HMqZQ6q9nk4JzS3NuCK+w= golang.org/x/mod v0.30.0/go.mod h1:lAsf5O2EvJeSFMiBxXDki7sCgAxEUcZHXoXMKT4GJKc= golang.org/x/mod v0.31.0/go.mod h1:43JraMp9cGx1Rx3AqioxrbrhNsLl2l/iNAvuBkrezpg= golang.org/x/mod v0.32.0/go.mod h1:SgipZ/3h2Ci89DlEtEXWUk/HteuRin+HHhN+WbNhguU= -golang.org/x/mod v0.41.0 h1:qJmnOUb4YB+FsEuM3HcWucdZASCPGhsX6uljO6pog0c= -golang.org/x/mod v0.41.0/go.mod h1:Ek9pY8RKWXwsWvd3rQiHYtMqkjSUV+s1Rj7j4H5Ur6o= +golang.org/x/mod v0.33.0/go.mod h1:swjeQEj+6r7fODbD2cqrnje9PnziFuw4bmLbBZFrQ5w= +golang.org/x/mod v0.34.0/go.mod h1:ykgH52iCZe79kzLLMhyCUzhMci+nQj+0XkbXpNYtVjY= +golang.org/x/mod v0.35.0/go.mod h1:+GwiRhIInF8wPm+4AoT6L0FA1QWAad3OMdTRx4tFYlU= +golang.org/x/mod v0.36.0/go.mod h1:moc6ELqsWcOw5Ef3xVprK5ul/MvtVvkIXLziUOICjUQ= +golang.org/x/mod v0.37.0/go.mod h1:m8S8VeM9r4dzDwjrKO0a1sZP3YjeMamRRlD+fmR2Q/0= +golang.org/x/mod v0.42.0 h1:ICeL3t2L30ljSPHHxDnR4fqVcBt/zR2zJAb9juavmQg= +golang.org/x/mod v0.42.0/go.mod h1:u5fzIrRInkL8MaO1cbRkUHT64v303YIT5KEqpNr7jRs= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -323,8 +324,16 @@ golang.org/x/net v0.46.0/go.mod h1:Q9BGdFy1y4nkUwiLvT5qtyhAnEHgnQ/zd8PfU6nc210= golang.org/x/net v0.47.0/go.mod h1:/jNxtkgq5yWUGYkaZGqo27cfGZ1c5Nen03aYrrKpVRU= golang.org/x/net v0.48.0/go.mod h1:+ndRgGjkh8FGtu1w1FGbEC31if4VrNVMuKTgcAAnQRY= golang.org/x/net v0.49.0/go.mod h1:/ysNB2EvaqvesRkuLAyjI1ycPZlQHM3q01F02UY/MV8= -golang.org/x/net v0.59.0 h1:5zfYln+w5XCxwrnMMJPufRgNoXEaGxl0wo5GqPXyues= -golang.org/x/net v0.59.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg= +golang.org/x/net v0.50.0/go.mod h1:UgoSli3F/pBgdJBHCTc+tp3gmrU4XswgGRgtnwWTfyM= +golang.org/x/net v0.51.0/go.mod h1:aamm+2QF5ogm02fjy5Bb7CQ0WMt1/WVM7FtyaTLlA9Y= +golang.org/x/net v0.52.0/go.mod h1:R1MAz7uMZxVMualyPXb+VaqGSa3LIaUqk0eEt3w36Sw= +golang.org/x/net v0.53.0/go.mod h1:JvMuJH7rrdiCfbeHoo3fCQU24Lf5JJwT9W3sJFulfgs= +golang.org/x/net v0.54.0/go.mod h1:Sj4oj8jK6XmHpBZU/zWHw3BV3abl4Kvi+Ut7cQcY+cQ= +golang.org/x/net v0.55.0/go.mod h1:L5U2KuzuOe1lY7Z+aWVIKK6qEeJXnXV9yzGA+WCHJww= +golang.org/x/net v0.56.0/go.mod h1:D3Ku6r+V6JROoZK144D2XfMHFcMq/0zSfLelVTCFKec= +golang.org/x/net v0.57.0/go.mod h1:KpXc8iv+r3XplLAG/f7Jsf9RPszJzdR0f58q9vGOuEU= +golang.org/x/net v0.61.0 h1:RR+6j/BTBCrggOLugxa+66R8FvoN6MHlzDlZIbN9YFw= +golang.org/x/net v0.61.0/go.mod h1:WgDCOTH8iwtB66T4/GfI94AHo/hhdb7Hah9NDseQfiI= golang.org/x/oauth2 v0.37.0 h1:JUlcxA8oAtauLfiH8FX2/FkAWHAdi0QtGCGc+hofE98= golang.org/x/oauth2 v0.37.0/go.mod h1:IxwZNxUULJmpBFf9K/9NTMSIfZZuvuTy1gGxhigP/58= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -345,8 +354,11 @@ golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= golang.org/x/sync v0.17.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= golang.org/x/sync v0.18.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= golang.org/x/sync v0.19.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= -golang.org/x/sync v0.23.0 h1:KameEIfc1IkluZyXWLn39Wd4tURc6GbCiISGiZm2bQk= -golang.org/x/sync v0.23.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= +golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= +golang.org/x/sync v0.21.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= +golang.org/x/sync v0.22.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= +golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA= +golang.org/x/sync v0.24.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -383,8 +395,15 @@ golang.org/x/sys v0.37.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= golang.org/x/sys v0.39.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= golang.org/x/sys v0.40.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= -golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo= -golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= +golang.org/x/sys v0.41.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= +golang.org/x/sys v0.42.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/sys v0.43.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/sys v0.44.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/sys v0.45.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/sys v0.46.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA= +golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE= golang.org/x/telemetry v0.0.0-20240521205824-bda55230c457/go.mod h1:pRgIJT+bRLFKnoM1ldnzKoxTIn14Yxz928LQRYYgIN0= golang.org/x/telemetry v0.0.0-20250710130107-8d8967aff50b/go.mod h1:4ZwOYna0/zsOKwuR5X/m0QFOJpSZvAxFfkQT+Erd9D4= @@ -394,6 +413,11 @@ golang.org/x/telemetry v0.0.0-20251008203120-078029d740a8/go.mod h1:Pi4ztBfryZoJ golang.org/x/telemetry v0.0.0-20251111182119-bc8e575c7b54/go.mod h1:hKdjCMrbv9skySur+Nek8Hd0uJ0GuxJIoIX2payrIdQ= golang.org/x/telemetry v0.0.0-20251203150158-8fff8a5912fc/go.mod h1:hKdjCMrbv9skySur+Nek8Hd0uJ0GuxJIoIX2payrIdQ= golang.org/x/telemetry v0.0.0-20260109210033-bd525da824e2/go.mod h1:b7fPSJ0pKZ3ccUh8gnTONJxhn3c/PS6tyzQvyqw4iA8= +golang.org/x/telemetry v0.0.0-20260209163413-e7419c687ee4/go.mod h1:g5NllXBEermZrmR51cJDQxmJUHUOfRAaNyWBM+R+548= +golang.org/x/telemetry v0.0.0-20260311193753-579e4da9a98c/go.mod h1:TpUTTEp9frx7rTdLpC9gFG9kdI7zVLFTFFlqaH2Cncw= +golang.org/x/telemetry v0.0.0-20260409153401-be6f6cb8b1fa/go.mod h1:kHjTxDEnAu6/Nl9lDkzjWpR+bmKfxeiRuSDlsMb70gE= +golang.org/x/telemetry v0.0.0-20260508192327-42602be52be6/go.mod h1:Eqhaxk/wZsWEH8CRxLwj6xzEJbz7k1EFGqx7nyCoabE= +golang.org/x/telemetry v0.0.0-20260625142307-59b4966ccb57/go.mod h1:3AWMyWHS+caVoiEXpiq6+tzKA40J4vQT3MYr80ZtQpc= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= @@ -411,8 +435,14 @@ golang.org/x/term v0.36.0/go.mod h1:Qu394IJq6V6dCBRgwqshf3mPF85AqzYEzofzRdZkWss= golang.org/x/term v0.37.0/go.mod h1:5pB4lxRNYYVZuTLmy8oR2BH8dflOR+IbTYFD8fi3254= golang.org/x/term v0.38.0/go.mod h1:bSEAKrOT1W+VSu9TSCMtoGEOUcKxOKgl3LE5QEF/xVg= golang.org/x/term v0.39.0/go.mod h1:yxzUCTP/U+FzoxfdKmLaA0RV1WgE0VY7hXBwKtY/4ww= -golang.org/x/term v0.46.0 h1:3+OXuTbaKDgwk8jTi3aSLHRlmWqHEUDUtxnbFigO4YE= -golang.org/x/term v0.46.0/go.mod h1:+K02xbkittuwc0Am4abfA3Fc+XRGXkvBXNO88NCXPoc= +golang.org/x/term v0.40.0/go.mod h1:w2P8uVp06p2iyKKuvXIm7N/y0UCRt3UfJTfZ7oOpglM= +golang.org/x/term v0.41.0/go.mod h1:3pfBgksrReYfZ5lvYM0kSO0LIkAl4Yl2bXOkKP7Ec2A= +golang.org/x/term v0.42.0/go.mod h1:Dq/D+snpsbazcBG5+F9Q1n2rXV8Ma+71xEjTRufARgY= +golang.org/x/term v0.43.0/go.mod h1:lrhlHNdQJHO+1qVYiHfFKVuVioJIheAc3fBSMFYEIsk= +golang.org/x/term v0.44.0/go.mod h1:7ze4MdzUzLXpSAoFP1H0bOI9aXDqveSvatT5vKcFh2Y= +golang.org/x/term v0.45.0/go.mod h1:9aqxs0blBcrm/n0L9QW0aRVD+ktan8ssZromtqJC43w= +golang.org/x/term v0.47.0 h1:cpyOwQkr2Nzxe2p6KnrTG7Ei2wtzjsuSjhpXXepZ/BM= +golang.org/x/term v0.47.0/go.mod h1:efAfAuG6RKABvg1ArGebRkvX6LXul14SM67o2e4mUCY= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= @@ -434,9 +464,15 @@ golang.org/x/text v0.30.0/go.mod h1:yDdHFIX9t+tORqspjENWgzaCVXgk0yYnYuSZ8UzzBVM= golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM= golang.org/x/text v0.32.0/go.mod h1:o/rUWzghvpD5TXrTIBuJU77MTaN0ljMWE47kxGJQ7jY= golang.org/x/text v0.33.0/go.mod h1:LuMebE6+rBincTi9+xWTY8TztLzKHc/9C1uBCG27+q8= -golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI= -golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E= -golang.org/x/time v0.14.0/go.mod h1:eL/Oa2bBBK0TkX57Fyni+NgnyQQN4LitPmob2Hjnqw4= +golang.org/x/text v0.34.0/go.mod h1:homfLqTYRFyVYemLBFl5GgL/DWEiH5wcsQ5gSh1yziA= +golang.org/x/text v0.35.0/go.mod h1:khi/HExzZJ2pGnjenulevKNX1W67CUy0AsXcNubPGCA= +golang.org/x/text v0.36.0/go.mod h1:NIdBknypM8iqVmPiuco0Dh6P5Jcdk8lJL0CUebqK164= +golang.org/x/text v0.37.0/go.mod h1:a5sjxXGs9hsn/AJVwuElvCAo9v8QYLzvavO5z2PiM38= +golang.org/x/text v0.38.0/go.mod h1:YXZt3QhHUKYT53r2lLKFIVi6Ao1jdzrTR/KQ09qyxF4= +golang.org/x/text v0.40.0/go.mod h1:hpnzDAfGV753zIKo+wk3u1bVKCGPbrnF7+7LBF/UHVY= +golang.org/x/text v0.43.0 h1:1QivrlhwAsnMOcqgOdl9my7s9OyZl8O5/UGUTJVXoWc= +golang.org/x/text v0.43.0/go.mod h1:hbSIYA/amXcRXTFSZqh8tWHEoqRvvbKPJ2uz/KU+a+s= +golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno= golang.org/x/time v0.16.0 h1:vMb6ptszcQMkcwiRTAuNNU50gom6++Q/6gY2hDM6VDE= golang.org/x/time v0.16.0/go.mod h1:rVKOqvZeKvrDKTQiAHJ7wmwP0RzleSphoEA9RcdLA0s= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -464,8 +500,13 @@ golang.org/x/tools v0.38.0/go.mod h1:yEsQ/d/YK8cjh0L6rZlY8tgtlKiBNTL14pGDJPJpYQs golang.org/x/tools v0.39.0/go.mod h1:JnefbkDPyD8UU2kI5fuf8ZX4/yUeh9W877ZeBONxUqQ= golang.org/x/tools v0.40.0/go.mod h1:Ik/tzLRlbscWpqqMRjyWYDisX8bG13FrdXp3o4Sr9lc= golang.org/x/tools v0.41.0/go.mod h1:XSY6eDqxVNiYgezAVqqCeihT4j1U2CCsqvH3WhQpnlg= -golang.org/x/tools v0.50.0 h1:c2ifzfcuY7L90lZ2aKd8S4K2NpASF08SZx9ZuJkHmSU= -golang.org/x/tools v0.50.0/go.mod h1:7ulVMw3831Mwi5EZD6RomGyffr4VFjuNYXf2BbCEAV0= +golang.org/x/tools v0.42.0/go.mod h1:Ma6lCIwGZvHK6XtgbswSoWroEkhugApmsXyrUmBhfr0= +golang.org/x/tools v0.43.0/go.mod h1:uHkMso649BX2cZK6+RpuIPXS3ho2hZo4FVwfoy1vIk0= +golang.org/x/tools v0.44.0/go.mod h1:KA0AfVErSdxRZIsOVipbv3rQhVXTnlU6UhKxHd1seDI= +golang.org/x/tools v0.45.0/go.mod h1:LuUGqqaXcXMEFEruIVJVm5mgDD8vww/z/SR1gQ4uE/0= +golang.org/x/tools v0.47.0/go.mod h1:dFHnyTvFWY212G+h7ZY4Vsp/K3U4/7W9TyVaAul8uCA= +golang.org/x/tools v0.52.0 h1:ryxg4U63oaUYk7uOLTF37n43f4qgtGvqV4Ioit1BaEs= +golang.org/x/tools v0.52.0/go.mod h1:ItcP5UNaVGG+Yc4eIYmaFLNJ4soEopkx5Y2d4lcEurs= golang.org/x/tools/go/expect v0.1.0-deprecated/go.mod h1:eihoPOH+FgIqa3FpoTwguz/bVUSGBlGQU67vpBeOrBY= golang.org/x/tools/go/expect v0.1.1-deprecated/go.mod h1:eihoPOH+FgIqa3FpoTwguz/bVUSGBlGQU67vpBeOrBY= golang.org/x/tools/go/packages/packagestest v0.1.1-deprecated/go.mod h1:RVAQXBGNv1ib0J382/DPCRS/BPnsGebyM1Gj5VSDpG8= @@ -475,10 +516,10 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4= gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260921155816-b14227669459 h1:b0xCahf3FK2m2Cv0p4vTozGPWncCvLfwV86UNg8xWU8= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260921155816-b14227669459/go.mod h1:OaIUM3+LpYcK2GXM4FTmhWoIq371Owdr+Cc7/BsYHHc= -google.golang.org/grpc v1.83.2 h1:EManeRomTObA0BU7I8vXgg/78uE5MJ9M8B39EX2WscU= -google.golang.org/grpc v1.83.2/go.mod h1:YPI1hK3kDked6iHvgX3tR0y+nX/qpMFKhPgFsokw1S8= +google.golang.org/genproto/googleapis/rpc v0.0.0-20261005182115-fad411399dd8 h1:0SXBqli5dnuCKMjI/X3FM226zEaEa0GUcSCJtN1vL2o= +google.golang.org/genproto/googleapis/rpc v0.0.0-20261005182115-fad411399dd8/go.mod h1:OaIUM3+LpYcK2GXM4FTmhWoIq371Owdr+Cc7/BsYHHc= +google.golang.org/grpc v1.84.0 h1:soMyaPJ8pAak5PIQ0DGBUir0XRo2fRoMqhNWMLlLxO0= +google.golang.org/grpc v1.84.0/go.mod h1:ljCht0DrxQrXBDRTZp52Qxh3Ffk8CdYm2sj4O2QN2C0= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -515,19 +556,19 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -k8s.io/api v0.36.0 h1:SgqDhZzHdOtMk40xVSvCXkP9ME0H05hPM3p9AB1kL80= -k8s.io/api v0.36.0/go.mod h1:m1LVrGPNYax5NBHdO+QuAedXyuzTt4RryI/qnmNvs34= -k8s.io/apiextensions-apiserver v0.36.0 h1:Wt7E8J+VBCbj4FjiBfDTK/neXDDjyJVJc7xfuOHImZ0= -k8s.io/apiextensions-apiserver v0.36.0/go.mod h1:kGDjH0msuiIB3tgsYRV0kS9GqpMYMUsQ3GHv7TApyug= -k8s.io/apimachinery v0.36.0 h1:jZyPzhd5Z+3h9vJLt0z9XdzW9VzNzWAUw+P1xZ9PXtQ= -k8s.io/apimachinery v0.36.0/go.mod h1:FklypaRJt6n5wUIwWXIP6GJlIpUizTgfo1T/As+Tyxc= -k8s.io/client-go v0.36.0 h1:pOYi7C4RHChYjMiHpZSpSbIM6ZxVbRXBy7CuiIwqA3c= -k8s.io/client-go v0.36.0/go.mod h1:ZKKcpwF0aLYfkHFCjillCKaTK/yBkEDHTDXCFY6AS9Y= -k8s.io/code-generator v0.36.0/go.mod h1:Tr2UhfBRdlyRoadfob9aPCmmGe8PUs5XPK9MEJ2nx+w= +k8s.io/api v0.37.1 h1:l6N77U7tjwB5L056bgrBTJIEdevac/naBZ3iSvDNfpM= +k8s.io/api v0.37.1/go.mod h1:zSlbB1YpJ1YQlFVQy20UYll81UJSJJUMLhkhvg6Z78M= +k8s.io/apiextensions-apiserver v0.37.1 h1:7fIQG8eThDSTVYBWg/DOpI8v5wYfKCo0N8/TDMjj+zY= +k8s.io/apiextensions-apiserver v0.37.1/go.mod h1:1Q3ujWwHgnhBoGsdmGORflwK1sDFmuaqH1OsMDWk2Gs= +k8s.io/apimachinery v0.37.1 h1:hGCYyvKHCwtwMitj2vU4vYx0Z16N9GyZk9BBnz0wDAE= +k8s.io/apimachinery v0.37.1/go.mod h1:jF84AyUi/IRIXRot5f+lm6MpxoWI+F1XgjaMmwCdTFw= +k8s.io/client-go v0.37.1 h1:QTv/5ha4jAHtW9qxxVBkQVFBRDb4jHfFopQqqMdc+wM= +k8s.io/client-go v0.37.1/go.mod h1:dnAPtTnCNY38Ho04D2KdY1F4IKausa9UbqaAZKl60SY= +k8s.io/code-generator v0.37.1/go.mod h1:RJepz1uW2WnHEwPDoCGzI3p4V23C7WuUdtqjueDl1uU= k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= k8s.io/gengo v0.0.0-20211129171323-c02415ce4185/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= -k8s.io/gengo/v2 v2.0.0-20250604051438-85fd79dbfd9f/go.mod h1:EJykeLsmFC60UQbYJezXkEsG2FLrt0GPNkU5iK5GWxU= k8s.io/gengo/v2 v2.0.0-20250922181213-ec3ebc5fd46b/go.mod h1:CgujABENc3KuTrcsdpGmrrASjtQsWCT7R99mEV4U/fM= +k8s.io/gengo/v2 v2.0.0-20260408192533-25e2208e0dc3/go.mod h1:yvyl3l9E+UxlqOMUULdKTAYB0rEhsmjr7+2Vb/1pCSo= k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= k8s.io/klog/v2 v2.40.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= @@ -536,14 +577,15 @@ k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE= k8s.io/klog/v2 v2.140.0 h1:Tf+J3AH7xnUzZyVVXhTgGhEKnFqye14aadWv7bzXdzc= k8s.io/klog/v2 v2.140.0/go.mod h1:o+/RWfJ6PwpnFn7OyAG3QnO47BFsymfEfrz6XyYSSp0= k8s.io/kube-openapi v0.0.0-20220124234850-424119656bbf/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk= -k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a h1:xCeOEAOoGYl2jnJoHkC3hkbPJgdATINPMAxaynU2Ovg= -k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a/go.mod h1:uGBT7iTA6c6MvqUvSXIaYZo9ukscABYi2btjhvgKGZ0= -k8s.io/mount-utils v0.36.0 h1:ufsqGyCoPDh7p+6OIa1wv6oH9GqkQQ8XIfEOVfCV3g0= -k8s.io/mount-utils v0.36.0/go.mod h1:+I47UOG6FiUGVSy7VanjU/mQXLShMo3M7xBpGLzCub8= -k8s.io/streaming v0.36.0/go.mod h1:z6fV3D+NVkoeqRMtWwlUZK6U17SY/LqNzOxWL6GyR/s= +k8s.io/kube-openapi v0.0.0-20260721132016-d427ff9ee9ad/go.mod h1:0/mqHCVhlumdJ3BhCfnjSZQE037nAhNodh1/hK0T8/I= +k8s.io/kube-openapi v0.0.0-20260821135717-be32def86098 h1:z5+pcu1jTyKK5mNTe2/+x+U6Uuv9jRVOJQLaBJJMpeI= +k8s.io/kube-openapi v0.0.0-20260821135717-be32def86098/go.mod h1:0/mqHCVhlumdJ3BhCfnjSZQE037nAhNodh1/hK0T8/I= +k8s.io/mount-utils v0.37.1 h1:GCEU40EaurFsZLfHToIXdgf8jBCLXnhi+/VkasxVgsQ= +k8s.io/mount-utils v0.37.1/go.mod h1:uGJRC7u42QGYbHlHxt/5J2rXrfgv3XNYU3I0ZXVnAck= +k8s.io/streaming v0.37.1/go.mod h1:APlJR26ZWRcVy5bIEj0QRrKUXROtBHPcxl2NT7EAzPU= k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20240711033017-18e509b52bc8/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk= +k8s.io/utils v0.0.0-20260626114624-be93311217bd/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk= k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3 h1:jVkFFVfXdXP74B/zbO3hM3hpSFD0xvhQ5U686DPurkE= k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3/go.mod h1:M2s5JB1lIYP3jzZdorPLHXIPJzt9vv2muW5a6L9DtNM= kubevirt.io/api v1.2.2 h1:PeA937vsZawmKAsiiDQZJ/BbGH4OhEWsIzWrCNfmYXk= @@ -552,7 +594,6 @@ kubevirt.io/containerized-data-importer-api v1.59.0 h1:GdDt9BlR0qHejpMaPfASbsG8J kubevirt.io/containerized-data-importer-api v1.59.0/go.mod h1:4yOGtCE7HvgKp7wftZZ3TBvDJ0x9d6N6KaRjRYcUFpE= kubevirt.io/controller-lifecycle-operator-sdk/api v0.2.4 h1:fZYvD3/Vnitfkx6IJxjLAk8ugnZQ7CXVYcRfkSKmuZY= kubevirt.io/controller-lifecycle-operator-sdk/api v0.2.4/go.mod h1:018lASpFYBsYN6XwmA2TIrPCx6e0gviTd/ZNtSitKgc= -sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg= sigs.k8s.io/json v0.0.0-20260909141634-11ed52e25bc5 h1:k9jo7ED/fsfOcz3L1P20P5tjTNtsdQNwMOG2aKzHrl8= sigs.k8s.io/json v0.0.0-20260909141634-11ed52e25bc5/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg= @@ -560,11 +601,10 @@ sigs.k8s.io/randfill v0.0.0-20250304075658-069ef1bbf016/go.mod h1:XeLlZ/jmk4i1HR sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU= sigs.k8s.io/randfill v1.0.0/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY= sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/structured-merge-diff/v6 v6.2.0/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE= -sigs.k8s.io/structured-merge-diff/v6 v6.3.2 h1:kwVWMx5yS1CrnFWA/2QHyRVJ8jM6dBA80uLmm0wJkk8= -sigs.k8s.io/structured-merge-diff/v6 v6.3.2/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE= +sigs.k8s.io/structured-merge-diff/v6 v6.4.1/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE= +sigs.k8s.io/structured-merge-diff/v6 v6.4.2 h1:qdOxHwrl2Kaag1aQEarlYcOA9vSyGCp3CIki3aW8c4Q= +sigs.k8s.io/structured-merge-diff/v6 v6.4.2/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= -sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY= sigs.k8s.io/yaml v1.6.0 h1:G8fkbMSAFqgEFgh4b1wmtzDnioxFCUgTZhlbj5P9QYs= sigs.k8s.io/yaml v1.6.0/go.mod h1:796bPqUfzR/0jLAl6XjHl3Ck7MiyVv8dbTdyT3/pMf4= diff --git a/packages/system/dashboard/images/token-proxy/go.mod b/packages/system/dashboard/images/token-proxy/go.mod index 1a73605e3..1fe19f32f 100644 --- a/packages/system/dashboard/images/token-proxy/go.mod +++ b/packages/system/dashboard/images/token-proxy/go.mod @@ -1,6 +1,6 @@ module token-proxy -go 1.27.1 +go 1.27.2 require ( github.com/gorilla/securecookie v1.1.2 @@ -10,7 +10,7 @@ require ( require ( github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.1 // indirect - github.com/goccy/go-json v0.10.6 // indirect + github.com/goccy/go-json v0.11.2 // indirect github.com/lestrrat-go/blackmagic v1.0.4 // indirect github.com/lestrrat-go/dsig v1.4.0 // indirect github.com/lestrrat-go/dsig-secp256k1 v1.0.0 // indirect @@ -18,6 +18,6 @@ require ( github.com/lestrrat-go/option/v2 v2.0.0 // indirect github.com/segmentio/asm v1.2.1 // indirect github.com/valyala/fastjson v1.6.10 // indirect - golang.org/x/crypto v0.57.0 // indirect - golang.org/x/sys v0.48.0 // indirect + golang.org/x/crypto v0.58.0 // indirect + golang.org/x/sys v0.49.0 // indirect ) diff --git a/packages/system/dashboard/images/token-proxy/go.sum b/packages/system/dashboard/images/token-proxy/go.sum index 00aeb9f09..93d5b3af8 100644 --- a/packages/system/dashboard/images/token-proxy/go.sum +++ b/packages/system/dashboard/images/token-proxy/go.sum @@ -1,8 +1,8 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.1 h1:5RVFMOWjMyRy8cARdy79nAmgYw3hK/4HUq48LQ6Wwqo= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.1/go.mod h1:ZXNYxsqcloTdSy/rNShjYzMhyjf0LaoftYK0p+A3h40= -github.com/goccy/go-json v0.10.6 h1:p8HrPJzOakx/mn/bQtjgNjdTcN+/S6FcG2CTtQOrHVU= -github.com/goccy/go-json v0.10.6/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= +github.com/goccy/go-json v0.11.2 h1:jdZv93Tt4ioR8yW1CoNsvSxrcZlCXAUU1aZXN7gpXUA= +github.com/goccy/go-json v0.11.2/go.mod h1:3NdmfEkZlB7YI5UFw/qdFKq8XN1aiWR0YyRPWZNQltY= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/gorilla/securecookie v1.1.2 h1:YCIWL56dvtr73r6715mJs5ZvhtnY73hBvEF8kXD8ePA= @@ -32,9 +32,9 @@ github.com/valyala/fastjson v1.6.10 h1:/yjJg8jaVQdYR3arGxPE2X5z89xrlhS0eGXdv+ADT github.com/valyala/fastjson v1.6.10/go.mod h1:e6FubmQouUNP73jtMLmcbxS6ydWIpOfhz34TSfO3JaE= go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= -golang.org/x/crypto v0.57.0 h1:3ZVCjf8Ggz7zneR/EHRVx68Ctf+2pmIMP2UFhh9cC6M= -golang.org/x/crypto v0.57.0/go.mod h1:Fdz0i5U6CoizGwLda9DttjSk6qlZo25zYNtR+ycvuZA= -golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo= -golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= +golang.org/x/crypto v0.58.0 h1:COkYLr4k7nDI4r6QtMML2AfzeIswWHAJthLS6K/M/54= +golang.org/x/crypto v0.58.0/go.mod h1:Xh+kl5A+M0gMiWDytH2Hhr5Z7WbNCpv/eB/EFgfSk+w= +golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA= +golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/packages/system/kubeovn-webhook/images/kubeovn-webhook/go.mod b/packages/system/kubeovn-webhook/images/kubeovn-webhook/go.mod index 76b523fc6..4f78cbaf0 100644 --- a/packages/system/kubeovn-webhook/images/kubeovn-webhook/go.mod +++ b/packages/system/kubeovn-webhook/images/kubeovn-webhook/go.mod @@ -1,36 +1,35 @@ module kube-ovn-webhook -go 1.27.1 +go 1.27.2 require ( github.com/mattbaird/jsonpatch v0.0.0-20240118010651-0ba75a80ca38 - k8s.io/api v0.36.2 - k8s.io/apimachinery v0.36.2 - k8s.io/client-go v0.36.2 + k8s.io/api v0.37.1 + k8s.io/apimachinery v0.37.1 + k8s.io/client-go v0.37.1 ) require ( github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/emicklei/go-restful/v3 v3.13.0 // indirect github.com/evanphx/json-patch v0.5.2 // indirect - github.com/fxamacker/cbor/v2 v2.9.4 // indirect + github.com/fxamacker/cbor/v2 v2.9.6 // indirect github.com/go-logr/logr v1.4.4 // indirect - github.com/go-openapi/jsonpointer v1.0.1 // indirect - github.com/go-openapi/jsonreference v1.0.2 // indirect - github.com/go-openapi/swag v0.29.2 // indirect - github.com/go-openapi/swag/cmdutils v0.29.2 // indirect + github.com/go-openapi/jsonpointer v1.0.2 // indirect + github.com/go-openapi/jsonreference v1.0.3 // indirect + github.com/go-openapi/swag v0.27.1 // indirect + github.com/go-openapi/swag/cmdutils v0.27.1 // indirect github.com/go-openapi/swag/conv v0.29.2 // indirect - github.com/go-openapi/swag/fileutils v0.29.2 // indirect + github.com/go-openapi/swag/fileutils v0.27.1 // indirect github.com/go-openapi/swag/jsonutils v0.29.2 // indirect - github.com/go-openapi/swag/loading v0.29.2 // indirect - github.com/go-openapi/swag/mangling v0.29.2 // indirect - github.com/go-openapi/swag/netutils v0.29.2 // indirect + github.com/go-openapi/swag/loading v0.27.1 // indirect + github.com/go-openapi/swag/mangling v0.27.1 // indirect + github.com/go-openapi/swag/netutils v0.27.1 // indirect github.com/go-openapi/swag/pools v0.29.2 // indirect - github.com/go-openapi/swag/stringutils v0.29.2 // indirect + github.com/go-openapi/swag/stringutils v0.27.1 // indirect github.com/go-openapi/swag/typeutils v0.29.2 // indirect - github.com/go-openapi/swag/yamlutils v0.29.2 // indirect + github.com/go-openapi/swag/yamlutils v0.27.1 // indirect github.com/go-openapi/testify/enable/yaml/v2 v2.8.0 // indirect - github.com/go-openapi/testify/v2 v2.8.0 // indirect github.com/google/gnostic-models v0.7.1 // indirect github.com/google/uuid v1.6.0 // indirect github.com/json-iterator/go v1.1.12 // indirect @@ -41,20 +40,20 @@ require ( github.com/x448/float16 v0.8.4 // indirect go.yaml.in/yaml/v2 v2.4.4 // indirect go.yaml.in/yaml/v3 v3.0.5 // indirect - golang.org/x/net v0.59.0 // indirect + golang.org/x/net v0.61.0 // indirect golang.org/x/oauth2 v0.37.0 // indirect - golang.org/x/sys v0.48.0 // indirect - golang.org/x/term v0.46.0 // indirect - golang.org/x/text v0.42.0 // indirect + golang.org/x/sys v0.49.0 // indirect + golang.org/x/term v0.47.0 // indirect + golang.org/x/text v0.43.0 // indirect golang.org/x/time v0.16.0 // indirect google.golang.org/protobuf v1.36.12 // indirect gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect k8s.io/klog/v2 v2.140.0 // indirect - k8s.io/kube-openapi v0.0.0-20260603220949-865597e52e25 // indirect - k8s.io/utils v0.0.0-20260507154919-ff6756f316d2 // indirect - sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect + k8s.io/kube-openapi v0.0.0-20260721132016-d427ff9ee9ad // indirect + k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3 // indirect + sigs.k8s.io/json v0.0.0-20260909141634-11ed52e25bc5 // indirect sigs.k8s.io/randfill v1.0.0 // indirect - sigs.k8s.io/structured-merge-diff/v6 v6.4.0 // indirect + sigs.k8s.io/structured-merge-diff/v6 v6.4.2 // indirect sigs.k8s.io/yaml v1.6.0 // indirect ) diff --git a/packages/system/kubeovn-webhook/images/kubeovn-webhook/go.sum b/packages/system/kubeovn-webhook/images/kubeovn-webhook/go.sum index 53ac548ff..6432817e1 100644 --- a/packages/system/kubeovn-webhook/images/kubeovn-webhook/go.sum +++ b/packages/system/kubeovn-webhook/images/kubeovn-webhook/go.sum @@ -6,40 +6,40 @@ github.com/emicklei/go-restful/v3 v3.13.0 h1:C4Bl2xDndpU6nJ4bc1jXd+uTmYPVUwkD6bF github.com/emicklei/go-restful/v3 v3.13.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/evanphx/json-patch v0.5.2 h1:xVCHIVMUu1wtM/VkR9jVZ45N3FhZfYMMYGorLCR8P3k= github.com/evanphx/json-patch v0.5.2/go.mod h1:ZWS5hhDbVDyob71nXKNL0+PWn6ToqBHMikGIFbs31qQ= -github.com/fxamacker/cbor/v2 v2.9.4 h1:xwjVlxEMR3S605oUlgBjKLTTeGFciYPGYCtF/35LKGo= -github.com/fxamacker/cbor/v2 v2.9.4/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ= +github.com/fxamacker/cbor/v2 v2.9.6 h1:NHZPxuUjJXQjX9itA785y/5NKSlI4HQ+S7noZsmI7hs= +github.com/fxamacker/cbor/v2 v2.9.6/go.mod h1:4EaZp6ClVunETjQ4GHmGNzysDK91Lr+r6Yz6tJqzVCw= github.com/go-logr/logr v1.4.4 h1:tG4xh9yMsRCAiodLVTxyrkzSZ9+o0L1Kg/+cPVcbP/8= github.com/go-logr/logr v1.4.4/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/go-openapi/jsonpointer v1.0.1 h1:2KxywRmNwJkT/FMBa3iRNHEaAxSJvjqoufQZy3au1Mg= -github.com/go-openapi/jsonpointer v1.0.1/go.mod h1:wI7ZYsFmbIi9nBXOZqgDaS/bqOchRGZjqxFli7FBYxY= -github.com/go-openapi/jsonreference v1.0.2 h1:oS4et8FOf3p3UQxEo4Xt0esijmBUM+F259Xl72OSZsc= -github.com/go-openapi/jsonreference v1.0.2/go.mod h1:TbUNSOo+fcorZjFaNoiSDSoaNnnZtqJtLGR1PuvE/Cs= -github.com/go-openapi/swag v0.29.2 h1:9n8frkcsuQRA0INU31VbxNxt1zBaHxrHYGEf5BUjFi4= -github.com/go-openapi/swag v0.29.2/go.mod h1:RkCiX1gCVXWgLOavDXE3ALJrQ/VO2ziiIzOUs3z10xo= -github.com/go-openapi/swag/cmdutils v0.29.2 h1:cXEzX/nWCODon251f+1HgL75/R4XXML5IZxgLCWMoro= -github.com/go-openapi/swag/cmdutils v0.29.2/go.mod h1:XziaSVzYqkDvpWXzASfWajw2YvJrLscq610O2XiyqJw= +github.com/go-openapi/jsonpointer v1.0.2 h1:NbW7xT2b+l7x+JefiPGDsZWsrLk1ogrz4AHK1TTzMt8= +github.com/go-openapi/jsonpointer v1.0.2/go.mod h1:N0rI4MbNKD7xAFTiHtB+5Nhrg2j/wwYg7m7Fmb4/jk8= +github.com/go-openapi/jsonreference v1.0.3 h1:5rDbq+JsjCv6/nUDDJt83nLZoADI4w03uvHXer+4aYQ= +github.com/go-openapi/jsonreference v1.0.3/go.mod h1:OJSlMXHysgH272D9z2tiy2MGe5A9vQLHaCPb6KbYdE4= +github.com/go-openapi/swag v0.27.1 h1:VotvOLWW8q/EAxB0YdsBBGC8XYyeL1YwBj2ungAGPNg= +github.com/go-openapi/swag v0.27.1/go.mod h1:GTkJPwHfhJp6MWr4/rCh64HVI3Ofu+tcsbfjfHmTxpE= +github.com/go-openapi/swag/cmdutils v0.27.1 h1:I7sYqaWVl5mq0NEmNQkAmFDyNin9ufvMX/p2zwtQaOE= +github.com/go-openapi/swag/cmdutils v0.27.1/go.mod h1:Sm1MVFMkF6guJJ+pQqHnQA3N0j9qALV3NxzDSv6bETM= github.com/go-openapi/swag/conv v0.29.2 h1:8c9shoB8l0QRSR6ymq1llHdBWDqpIgJfjTGHx3Vuhm0= github.com/go-openapi/swag/conv v0.29.2/go.mod h1:AZS0YigTNf8qNtD6WqJz/N4RUNmpr76SyjFGkq4+p6Q= -github.com/go-openapi/swag/fileutils v0.29.2 h1:mdUL+Vw5ah1fO1AvFCoHeIyv7YZsCz2MN3KNqd/lLVI= -github.com/go-openapi/swag/fileutils v0.29.2/go.mod h1:7QKmmodjAebaq61lGVJa8ldLdGeMF4DSgYv8tXOGGo0= +github.com/go-openapi/swag/fileutils v0.27.1 h1:QQqBSoi5mW4XpU85nS0mLcA+zAE6vLzrb0QkmLKf9oM= +github.com/go-openapi/swag/fileutils v0.27.1/go.mod h1:VvJFZLTZS0AI854gEQz5tk7dBESdLjiNUMSZ/th2ry8= github.com/go-openapi/swag/jsonutils v0.29.2 h1:uZNSD2/rJDYAfvsLYkykTzXuyxM3QpDKV9jhRHrMu6k= github.com/go-openapi/swag/jsonutils v0.29.2/go.mod h1:ONTdNvj3Y+IXRzfa17E+Rgt2ns/qiSOYjIo2K7v2yDs= github.com/go-openapi/swag/jsonutils/fixtures_test v0.29.2 h1:w+Fd6EBOMGlC74GYGHqCLGyb3Bpams8TtNrgM/SG4jo= github.com/go-openapi/swag/jsonutils/fixtures_test v0.29.2/go.mod h1:HC2egPORFzbj/gf05Zrfgz8Mgplx3oW7hgGi7pjZVhM= -github.com/go-openapi/swag/loading v0.29.2 h1:QU1ry24e6r6Shoxe380Nx0X5iKkpRO+hJffsyJ2dVlY= -github.com/go-openapi/swag/loading v0.29.2/go.mod h1:DqilDjuiJKETecsS4TRopWG1acUDsfqN39ZmQhPu6uI= -github.com/go-openapi/swag/mangling v0.29.2 h1:ltdo3K0tTP4P6zWhVVWDU9D37/YYBuMJRdZxiS2Dtog= -github.com/go-openapi/swag/mangling v0.29.2/go.mod h1:RjDi4TnItAenS3cgCXSpIl1kKbjG7il6pnmQVl/8bp8= -github.com/go-openapi/swag/netutils v0.29.2 h1:dBli6jyUa93sDS/XYWShJzf4+nnVfFKfvY9SLUaUzB8= -github.com/go-openapi/swag/netutils v0.29.2/go.mod h1:1pM6Xg/Um8E1eps3umWl8Hme3ByWXOtHsvFC0CULHUE= +github.com/go-openapi/swag/loading v0.27.1 h1:/DxUgDXKbBX4bcn7r9uEXfJyzN5XpiJmZplzQTjrRCY= +github.com/go-openapi/swag/loading v0.27.1/go.mod h1:jvGh3iA2+zyUUycB5fgJWzeHnhrpvGnJJM0RVE9ZShE= +github.com/go-openapi/swag/mangling v0.27.1 h1:yC9D0HyUE8gbP+BfmGx9+AA89ikwZTMjESK3OnnoaqA= +github.com/go-openapi/swag/mangling v0.27.1/go.mod h1:jtBE2+V+3pILxOR7Vgce+Cwp6A2PgZbvVqfNntbVs0w= +github.com/go-openapi/swag/netutils v0.27.1 h1:mICMFoS82F5TZ4Zy3cqmcQk+BFeCp3Uyq3Np7GI0/qU= +github.com/go-openapi/swag/netutils v0.27.1/go.mod h1:J+WYyFMLtvtCGqa6jLv+YNUmIKI3ZRQRrvfNDMoQoEQ= github.com/go-openapi/swag/pools v0.29.2 h1:PlGoDRF8WtSyXkedZZkpW3f9wDhFf3u8KtaBcmgmh8c= github.com/go-openapi/swag/pools v0.29.2/go.mod h1:V3lhxVT4qDYRqc2MRSSbLsTYIYV/2HlHafhyEkmzLIc= -github.com/go-openapi/swag/stringutils v0.29.2 h1:lcnBxwAaysT3bMUVBfn9V/PkfVqkurpqufKU6rTUMGk= -github.com/go-openapi/swag/stringutils v0.29.2/go.mod h1:i9cdh7sGaa0nm3CqIvH5IM5h2QClk1wns2ktKeILvRI= +github.com/go-openapi/swag/stringutils v0.27.1 h1:ZXePZ0r2p1qSjo8tD3Un4vFj8+FqlCkczxDrJIhYUp8= +github.com/go-openapi/swag/stringutils v0.27.1/go.mod h1:lzRN95CxXmA03XcDWHLOb6nOMcxCqR5rGY0lOgsfRoM= github.com/go-openapi/swag/typeutils v0.29.2 h1:O7aVvkTs3pXwikgtrPLenigEMdQFgONKRooQA9pgf2I= github.com/go-openapi/swag/typeutils v0.29.2/go.mod h1:7+GDG+uz9Ke+eVt4rClZg7wklSDp8hT/mKNh/pC26TE= -github.com/go-openapi/swag/yamlutils v0.29.2 h1:IFKFFeDnuIwzfsuWRQU+rI8iL3g4XyAYjV/RlnlxPLM= -github.com/go-openapi/swag/yamlutils v0.29.2/go.mod h1:7MGqtcrK73sxQ4ceiyIf8qiXS/s09JLMdR5esK5euYQ= +github.com/go-openapi/swag/yamlutils v0.27.1 h1:ftxv6xvXb1E3zohUc+okZ9nSqNb9StQX/FXnKZ98sQA= +github.com/go-openapi/swag/yamlutils v0.27.1/go.mod h1:bnxFIB1qewGRiZHypXGZ3fNgf13/0HfRgnS/iZBDrOo= github.com/go-openapi/testify/enable/yaml/v2 v2.8.0 h1:dvOQNZ2ovOdogn902NYq7i6jUI9Dma4qyjTXABY5YTY= github.com/go-openapi/testify/enable/yaml/v2 v2.8.0/go.mod h1:3VwZZUT6nWcAjhIr2RypXxlsxd3mPPtXh3T8z65aRlQ= github.com/go-openapi/testify/v2 v2.8.0 h1:19QDx5b57p8KjO2E4sgs/woL4Akp+FGLRlVm2xn0Rho= @@ -83,16 +83,16 @@ go.yaml.in/yaml/v2 v2.4.4 h1:tuyd0P+2Ont/d6e2rl3be67goVK4R6deVxCUX5vyPaQ= go.yaml.in/yaml/v2 v2.4.4/go.mod h1:gMZqIpDtDqOfM0uNfy0SkpRhvUryYH0Z6wdMYcacYXQ= go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= -golang.org/x/net v0.59.0 h1:5zfYln+w5XCxwrnMMJPufRgNoXEaGxl0wo5GqPXyues= -golang.org/x/net v0.59.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg= +golang.org/x/net v0.61.0 h1:RR+6j/BTBCrggOLugxa+66R8FvoN6MHlzDlZIbN9YFw= +golang.org/x/net v0.61.0/go.mod h1:WgDCOTH8iwtB66T4/GfI94AHo/hhdb7Hah9NDseQfiI= golang.org/x/oauth2 v0.37.0 h1:JUlcxA8oAtauLfiH8FX2/FkAWHAdi0QtGCGc+hofE98= golang.org/x/oauth2 v0.37.0/go.mod h1:IxwZNxUULJmpBFf9K/9NTMSIfZZuvuTy1gGxhigP/58= -golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo= -golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= -golang.org/x/term v0.46.0 h1:3+OXuTbaKDgwk8jTi3aSLHRlmWqHEUDUtxnbFigO4YE= -golang.org/x/term v0.46.0/go.mod h1:+K02xbkittuwc0Am4abfA3Fc+XRGXkvBXNO88NCXPoc= -golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI= -golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E= +golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA= +golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= +golang.org/x/term v0.47.0 h1:cpyOwQkr2Nzxe2p6KnrTG7Ei2wtzjsuSjhpXXepZ/BM= +golang.org/x/term v0.47.0/go.mod h1:efAfAuG6RKABvg1ArGebRkvX6LXul14SM67o2e4mUCY= +golang.org/x/text v0.43.0 h1:1QivrlhwAsnMOcqgOdl9my7s9OyZl8O5/UGUTJVXoWc= +golang.org/x/text v0.43.0/go.mod h1:hbSIYA/amXcRXTFSZqh8tWHEoqRvvbKPJ2uz/KU+a+s= golang.org/x/time v0.16.0 h1:vMb6ptszcQMkcwiRTAuNNU50gom6++Q/6gY2hDM6VDE= golang.org/x/time v0.16.0/go.mod h1:rVKOqvZeKvrDKTQiAHJ7wmwP0RzleSphoEA9RcdLA0s= google.golang.org/protobuf v1.36.12 h1:pJOKDDOyeXErUroCihFAd5LQuwXBSpVnKGrj5o/fwxc= @@ -101,23 +101,23 @@ gopkg.in/evanphx/json-patch.v4 v4.13.0 h1:czT3CmqEaQ1aanPc5SdlgQrrEIb8w/wwCvWWnf gopkg.in/evanphx/json-patch.v4 v4.13.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= -k8s.io/api v0.36.2 h1:TF6YDLIzKfccK7cq9YpTcGX8TJmEkHVRv78DM51fRYY= -k8s.io/api v0.36.2/go.mod h1:F4LbMO4brjZYh7yFkXWhynSvtB7YauxV4c+HHkNRGNg= -k8s.io/apimachinery v0.36.2 h1:0PE/W/WNy1UX61NLbXY5TMbJ6UwLL6E6lAPkYrKFxbQ= -k8s.io/apimachinery v0.36.2/go.mod h1:fvf/HOLXq9RId0rnDIbN1OEBvHXdQbLMM8nu0LcBUf4= -k8s.io/client-go v0.36.2 h1:bfgxmFKc9CgqsgX4xKLAAdmTQlWee7Ob/HlDOrJ5TBI= -k8s.io/client-go v0.36.2/go.mod h1:1vgO4OAlfPnoLcb+Rze2GF5rAr14w8qjrYMoyXJzQj0= +k8s.io/api v0.37.1 h1:l6N77U7tjwB5L056bgrBTJIEdevac/naBZ3iSvDNfpM= +k8s.io/api v0.37.1/go.mod h1:zSlbB1YpJ1YQlFVQy20UYll81UJSJJUMLhkhvg6Z78M= +k8s.io/apimachinery v0.37.1 h1:hGCYyvKHCwtwMitj2vU4vYx0Z16N9GyZk9BBnz0wDAE= +k8s.io/apimachinery v0.37.1/go.mod h1:jF84AyUi/IRIXRot5f+lm6MpxoWI+F1XgjaMmwCdTFw= +k8s.io/client-go v0.37.1 h1:QTv/5ha4jAHtW9qxxVBkQVFBRDb4jHfFopQqqMdc+wM= +k8s.io/client-go v0.37.1/go.mod h1:dnAPtTnCNY38Ho04D2KdY1F4IKausa9UbqaAZKl60SY= k8s.io/klog/v2 v2.140.0 h1:Tf+J3AH7xnUzZyVVXhTgGhEKnFqye14aadWv7bzXdzc= k8s.io/klog/v2 v2.140.0/go.mod h1:o+/RWfJ6PwpnFn7OyAG3QnO47BFsymfEfrz6XyYSSp0= -k8s.io/kube-openapi v0.0.0-20260603220949-865597e52e25 h1:mPMaPMpBij2V1Wv/fR+HW124vVGXXvOSS9ver/9yjWs= -k8s.io/kube-openapi v0.0.0-20260603220949-865597e52e25/go.mod h1:V/QaCUYDa+0QpcHhVVc5l99Uz56wEMEXBSj9oCDkNDY= -k8s.io/utils v0.0.0-20260507154919-ff6756f316d2 h1:wU4tMEhLGgIbLvXQb1cfN+EcM0wf7zC6CPF+C79jroc= -k8s.io/utils v0.0.0-20260507154919-ff6756f316d2/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk= -sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5EXP7sU1kvOlxwZh5txg= -sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg= +k8s.io/kube-openapi v0.0.0-20260721132016-d427ff9ee9ad h1:oXImqH8mQNk7PmvzKhmN3ddJoY6OnyM225MXwGHPm0A= +k8s.io/kube-openapi v0.0.0-20260721132016-d427ff9ee9ad/go.mod h1:0/mqHCVhlumdJ3BhCfnjSZQE037nAhNodh1/hK0T8/I= +k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3 h1:jVkFFVfXdXP74B/zbO3hM3hpSFD0xvhQ5U686DPurkE= +k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3/go.mod h1:M2s5JB1lIYP3jzZdorPLHXIPJzt9vv2muW5a6L9DtNM= +sigs.k8s.io/json v0.0.0-20260909141634-11ed52e25bc5 h1:k9jo7ED/fsfOcz3L1P20P5tjTNtsdQNwMOG2aKzHrl8= +sigs.k8s.io/json v0.0.0-20260909141634-11ed52e25bc5/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg= sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU= sigs.k8s.io/randfill v1.0.0/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY= -sigs.k8s.io/structured-merge-diff/v6 v6.4.0 h1:qmp2e3ZfFi1/jJbDGpD4mt3wyp6PE1NfKHCYLqgNQJo= -sigs.k8s.io/structured-merge-diff/v6 v6.4.0/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE= +sigs.k8s.io/structured-merge-diff/v6 v6.4.2 h1:qdOxHwrl2Kaag1aQEarlYcOA9vSyGCp3CIki3aW8c4Q= +sigs.k8s.io/structured-merge-diff/v6 v6.4.2/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE= sigs.k8s.io/yaml v1.6.0 h1:G8fkbMSAFqgEFgh4b1wmtzDnioxFCUgTZhlbj5P9QYs= sigs.k8s.io/yaml v1.6.0/go.mod h1:796bPqUfzR/0jLAl6XjHl3Ck7MiyVv8dbTdyT3/pMf4= From 6edd4a0d728675b6864bf534e16b60ca76a7825f Mon Sep 17 00:00:00 2001 From: Aleksei Sviridkin Date: Fri, 13 Nov 2026 06:46:22 +0300 Subject: [PATCH 10/10] chore(deps): update container base images Refresh the base image digests and move each tag to a newer release that builds: node 24 for the dashboard console and its UI test job, nginx-unprivileged 1.31, the dockerfile 1.28 frontend and alpine 3.24 for the cilium patch stage. The kubevirt CSI driver stays on AlmaLinux 9: AlmaLinux 10 builds its amd64 userland for x86-64-v3, and on a tenant vCPU without it every mkfs, blkid and mount the node service runs would fail. shadowbox stays on node 18 because outline-server declares engines node 18.x. The e2e sandbox stays on Ubuntu 24.04: 26.04 ships uutils coreutils, whose `date` costs about 4x per call, and the test harness forks it per traced line, which adds about ten minutes to the install phase. Bases whose version is the upstream component itself, or that upstream's build pins, are not touched. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin --- .github/workflows/ui-test.yaml | 2 +- .../apps/kubernetes/images/kubevirt-csi-driver/Dockerfile | 2 +- packages/apps/vpn/images/shadowbox/Dockerfile | 6 +++--- .../images/redis-backup/Dockerfile | 2 +- packages/system/cilium/images/cilium/Dockerfile | 2 +- packages/system/dashboard/images/console/Containerfile | 4 ++-- packages/system/harbor/images/harbor-portal/Dockerfile | 2 +- packages/system/harbor/images/harbor/Dockerfile | 6 +++--- .../keycloak-operator/images/keycloak-operator/Dockerfile | 2 +- packages/system/linstor-gui/images/linstor-gui/Dockerfile | 2 +- packages/system/linstor/images/linstor-csi/Dockerfile | 2 +- packages/system/metallb/images/metallb/Dockerfile | 2 +- packages/system/multus/images/multus-cni/Dockerfile | 2 +- .../images/objectstorage/Dockerfile | 2 +- .../system/talos-log-collector/images/vector/Dockerfile | 2 +- 15 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ui-test.yaml b/.github/workflows/ui-test.yaml index e73d5f68f..12620fddf 100644 --- a/.github/workflows/ui-test.yaml +++ b/.github/workflows/ui-test.yaml @@ -44,7 +44,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: - node-version: 22 + node-version: 24 cache: pnpm cache-dependency-path: packages/system/dashboard/images/console/pnpm-lock.yaml diff --git a/packages/apps/kubernetes/images/kubevirt-csi-driver/Dockerfile b/packages/apps/kubernetes/images/kubevirt-csi-driver/Dockerfile index 0dd60340e..a958104e2 100644 --- a/packages/apps/kubernetes/images/kubevirt-csi-driver/Dockerfile +++ b/packages/apps/kubernetes/images/kubevirt-csi-driver/Dockerfile @@ -15,7 +15,7 @@ RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build \ -ldflags "-X kubevirt.io/csi-driver/pkg/service.VendorVersion=0.2.0" \ -o kubevirt-csi-driver . -FROM docker.io/library/almalinux:9@sha256:3a3fa7f043b142bc8008c8b308d39b47d2c84008addcd52f9f9a7a82d2a90474 +FROM docker.io/library/almalinux:9@sha256:9819dc675b67b595c2b59e42be7763fca1a8bb217fa5944e04daa22e9a64db16 RUN dnf install -y e2fsprogs xfsprogs nfs-utils && dnf clean all diff --git a/packages/apps/vpn/images/shadowbox/Dockerfile b/packages/apps/vpn/images/shadowbox/Dockerfile index 9e30d2a68..6709e9b72 100644 --- a/packages/apps/vpn/images/shadowbox/Dockerfile +++ b/packages/apps/vpn/images/shadowbox/Dockerfile @@ -5,7 +5,7 @@ ARG VERSION=v1.12.3 ARG COMMIT=067d0d47aedac94a3888a127fa6c65f2f53b9987 -FROM --platform=$BUILDPLATFORM node:18.18.0-alpine3.18@sha256:a315556d82ef54561e54fca7d8ee333382de183d4e56841dcefcd05b55310f46 AS source +FROM --platform=$BUILDPLATFORM node:18.20.3-alpine3.18@sha256:8863523fed890ce945343aebf959daa56e6b089de1851074f4fe22fe86c04399 AS source ARG VERSION ARG COMMIT RUN apk add --no-cache git @@ -34,7 +34,7 @@ RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=0 go build -trimpath \ -o /out/opt/outline-server/bin/ github.com/Jigsaw-Code/outline-ss-server/cmd/outline-ss-server # Version and checksums are upstream's, from third_party/Taskfile.yml. -FROM --platform=$BUILDPLATFORM node:18.18.0-alpine3.18@sha256:a315556d82ef54561e54fca7d8ee333382de183d4e56841dcefcd05b55310f46 AS prometheus +FROM --platform=$BUILDPLATFORM node:18.20.3-alpine3.18@sha256:8863523fed890ce945343aebf959daa56e6b089de1851074f4fe22fe86c04399 AS prometheus ARG TARGETARCH ARG PROMETHEUS_VERSION=2.37.1 RUN case "${TARGETARCH}" in \ @@ -48,7 +48,7 @@ RUN case "${TARGETARCH}" in \ && mkdir -p /out/opt/outline-server/bin \ && tar -xzf /tmp/p.tgz -C /out/opt/outline-server/bin --strip-components=1 ${name}/prometheus -FROM node:18.18.0-alpine3.18@sha256:a315556d82ef54561e54fca7d8ee333382de183d4e56841dcefcd05b55310f46 +FROM node:18.20.3-alpine3.18@sha256:8863523fed890ce945343aebf959daa56e6b089de1851074f4fe22fe86c04399 ARG VERSION LABEL shadowbox.github.release=${VERSION} # The user management service doesn't quit with SIGTERM. diff --git a/packages/system/backupstrategy-controller/images/redis-backup/Dockerfile b/packages/system/backupstrategy-controller/images/redis-backup/Dockerfile index d59f7e06f..3d54ddc84 100644 --- a/packages/system/backupstrategy-controller/images/redis-backup/Dockerfile +++ b/packages/system/backupstrategy-controller/images/redis-backup/Dockerfile @@ -8,7 +8,7 @@ # an RDB written by the redis 8.4 / valkey 8 apps — "Can't handle RDB format # version 12"). Restore fidelity depends on the loader being at least as new as # the source engine. -FROM redis:8-alpine@sha256:ba6e394f6acc2a695ef1b6944f161b9ca813711739be68319fa0db3470673f1d +FROM redis:8-alpine@sha256:3811787313eba226a2ef38658c6ccb91cd5e110edc89c37767de373120a0e5a0 RUN apk add --no-cache curl ca-certificates diff --git a/packages/system/cilium/images/cilium/Dockerfile b/packages/system/cilium/images/cilium/Dockerfile index 28f7dab25..154318130 100644 --- a/packages/system/cilium/images/cilium/Dockerfile +++ b/packages/system/cilium/images/cilium/Dockerfile @@ -6,7 +6,7 @@ FROM quay.io/cilium/cilium:${VERSION} AS upstream # throwaway alpine stage and copy the results back over the upstream image. # The agent compiles BPF at startup from /var/lib/cilium/bpf, so replacing # the source files is sufficient. -FROM docker.io/library/alpine:3.22@sha256:5291449c3df73caf6ed85e649dec1b9e818b39a5d8c871e97afc13e9cd5e8fa8 AS patcher +FROM docker.io/library/alpine:3.24@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6 AS patcher RUN apk add --no-cache patch WORKDIR /work COPY --from=upstream /var/lib/cilium/bpf/bpf_host.c ./bpf_host.c diff --git a/packages/system/dashboard/images/console/Containerfile b/packages/system/dashboard/images/console/Containerfile index d7493c60c..95765864e 100644 --- a/packages/system/dashboard/images/console/Containerfile +++ b/packages/system/dashboard/images/console/Containerfile @@ -1,4 +1,4 @@ -ARG NODE_VERSION=22-alpine@sha256:0a7108bf6c7bf5de370ffb1a3ed6be93d405b43ff159f681a8d18c0e2bc2e402 +ARG NODE_VERSION=24-alpine@sha256:ebfe2f90462722a7a4de65e91990e97fe0d401c70e0e762c5b53302f905ec1c1 # Stage 1: Install dependencies and build FROM --platform=$BUILDPLATFORM node:${NODE_VERSION} AS builder @@ -28,7 +28,7 @@ COPY tsconfig.base.json ./ RUN pnpm --filter @cozystack/console build # Stage 2: Serve with nginx -FROM nginxinc/nginx-unprivileged:1.29-alpine@sha256:0c79d56aee561a1d81c63f00eee5fb5fe29279560cdc55e91425133104c7fbe6 +FROM nginxinc/nginx-unprivileged:1.31-alpine@sha256:b9241c6e7b8e9a862f129d8d4199ab64b10390949a78bdd5603379b32c844083 COPY --from=builder /src/apps/console/dist /usr/share/nginx/html diff --git a/packages/system/harbor/images/harbor-portal/Dockerfile b/packages/system/harbor/images/harbor-portal/Dockerfile index d9d1914ea..803c570e4 100644 --- a/packages/system/harbor/images/harbor-portal/Dockerfile +++ b/packages/system/harbor/images/harbor-portal/Dockerfile @@ -26,7 +26,7 @@ RUN npm install js-yaml@4.1.0 \ && cp /harbor/LICENSE dist/ RUN cd app-swagger-ui && npm install --unsafe-perm && npm run build -FROM goharbor/photon:5.0@sha256:0e06d58615400bf2a3fe7da1175b889e2827969e3ac42e1c4010010770e6a712 +FROM goharbor/photon:5.0@sha256:f7b2f6cd0ecc44a7e3123e4fff700b64d864b147af52c77a35b78d144bd30fa3 RUN tdnf install -y nginx shadow >> /dev/null \ && tdnf clean all \ && ln -sf /dev/stdout /var/log/nginx/access.log \ diff --git a/packages/system/harbor/images/harbor/Dockerfile b/packages/system/harbor/images/harbor/Dockerfile index b269d8e2e..6ddea2114 100644 --- a/packages/system/harbor/images/harbor/Dockerfile +++ b/packages/system/harbor/images/harbor/Dockerfile @@ -137,7 +137,7 @@ RUN case "${TARGETARCH}" in \ && echo "${sum} /tmp/trivy.tgz" | sha256sum -c - \ && tar -xzf /tmp/trivy.tgz -C /out trivy -FROM goharbor/photon:5.0@sha256:0e06d58615400bf2a3fe7da1175b889e2827969e3ac42e1c4010010770e6a712 AS harbor-base +FROM goharbor/photon:5.0@sha256:f7b2f6cd0ecc44a7e3123e4fff700b64d864b147af52c77a35b78d144bd30fa3 AS harbor-base RUN tdnf install -y tzdata shadow >> /dev/null \ && tdnf clean all \ && groupadd -r -g 10000 harbor && useradd --no-log-init -r -m -g 10000 -u 10000 harbor \ @@ -185,7 +185,7 @@ USER harbor VOLUME ["/var/lib/registry"] ENTRYPOINT ["/home/harbor/start.sh"] -FROM goharbor/photon:5.0@sha256:0e06d58615400bf2a3fe7da1175b889e2827969e3ac42e1c4010010770e6a712 AS trivy-adapter-photon +FROM goharbor/photon:5.0@sha256:f7b2f6cd0ecc44a7e3123e4fff700b64d864b147af52c77a35b78d144bd30fa3 AS trivy-adapter-photon ARG TRIVY_VERSION RUN tdnf install -y rpm shadow >> /dev/null \ && tdnf clean all \ @@ -198,7 +198,7 @@ ENV TRIVY_VERSION=${TRIVY_VERSION} USER scanner ENTRYPOINT ["/home/scanner/entrypoint.sh"] -FROM goharbor/photon:5.0@sha256:0e06d58615400bf2a3fe7da1175b889e2827969e3ac42e1c4010010770e6a712 AS nginx-photon +FROM goharbor/photon:5.0@sha256:f7b2f6cd0ecc44a7e3123e4fff700b64d864b147af52c77a35b78d144bd30fa3 AS nginx-photon RUN tdnf install -y nginx shadow >> /dev/null \ && tdnf clean all \ && groupmod -g 10000 nginx && usermod -g 10000 -u 10000 -d /home/nginx -s /bin/bash nginx \ diff --git a/packages/system/keycloak-operator/images/keycloak-operator/Dockerfile b/packages/system/keycloak-operator/images/keycloak-operator/Dockerfile index bc1e00ec1..9ece9fbcd 100644 --- a/packages/system/keycloak-operator/images/keycloak-operator/Dockerfile +++ b/packages/system/keycloak-operator/images/keycloak-operator/Dockerfile @@ -1,4 +1,4 @@ -# syntax=docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3e2230a333fdbcc +# syntax=docker/dockerfile:1.28@sha256:bb22d9815c728170f72750f4e5b0d672e06176142e1d602c7e66c050100b7e5b FROM alpine@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6 AS source ARG COMMIT_REF=facbc36 diff --git a/packages/system/linstor-gui/images/linstor-gui/Dockerfile b/packages/system/linstor-gui/images/linstor-gui/Dockerfile index 57a2a1f1e..5d5b8f0ba 100644 --- a/packages/system/linstor-gui/images/linstor-gui/Dockerfile +++ b/packages/system/linstor-gui/images/linstor-gui/Dockerfile @@ -2,7 +2,7 @@ # Serves the pre-built LINSTOR GUI tarball published by LINBIT from a hardened # nginx-unprivileged image. nginx.conf is supplied by the chart via ConfigMap, # so the upstream docker-entrypoint.sh / nginx.conf.template is not used. -FROM nginxinc/nginx-unprivileged:1.29-alpine@sha256:0c79d56aee561a1d81c63f00eee5fb5fe29279560cdc55e91425133104c7fbe6 +FROM nginxinc/nginx-unprivileged:1.31-alpine@sha256:b9241c6e7b8e9a862f129d8d4199ab64b10390949a78bdd5603379b32c844083 ARG LINSTOR_GUI_VERSION USER root diff --git a/packages/system/linstor/images/linstor-csi/Dockerfile b/packages/system/linstor/images/linstor-csi/Dockerfile index 0699c406f..37915f4b4 100644 --- a/packages/system/linstor/images/linstor-csi/Dockerfile +++ b/packages/system/linstor/images/linstor-csi/Dockerfile @@ -35,7 +35,7 @@ RUN GOOS=$TARGETOS GOARCH=$TARGETARCH CGO_ENABLED=0 \ RUN curl -fsSL https://github.com/LINBIT/linstor-wait-until/releases/download/$LINSTOR_WAIT_UNTIL_VERSION/linstor-wait-until-$LINSTOR_WAIT_UNTIL_VERSION-$TARGETOS-$TARGETARCH.tar.gz | tar xvzC / -FROM debian:trixie-slim@sha256:a99cfc517144bc59b1978475ec53b46ecabec7e43635402ee5b77cc54cd1b20a +FROM debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f RUN apt-get update && apt-get install -y --no-install-recommends \ xfsprogs e2fsprogs nfs-common \ diff --git a/packages/system/metallb/images/metallb/Dockerfile b/packages/system/metallb/images/metallb/Dockerfile index 48c4f2513..0d91ea5e3 100644 --- a/packages/system/metallb/images/metallb/Dockerfile +++ b/packages/system/metallb/images/metallb/Dockerfile @@ -1,4 +1,4 @@ -# syntax=docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3e2230a333fdbcc +# syntax=docker/dockerfile:1.28@sha256:bb22d9815c728170f72750f4e5b0d672e06176142e1d602c7e66c050100b7e5b ARG VERSION diff --git a/packages/system/multus/images/multus-cni/Dockerfile b/packages/system/multus/images/multus-cni/Dockerfile index d241d0573..97c1d1f62 100644 --- a/packages/system/multus/images/multus-cni/Dockerfile +++ b/packages/system/multus/images/multus-cni/Dockerfile @@ -71,7 +71,7 @@ RUN set -eux; \ tar -xz -C /cni-plugins-licenses -f /tmp/cni-plugins.tgz ./LICENSE; \ rm -f /tmp/cni-plugins.tgz -FROM debian:stable-slim@sha256:5bc3287b25407c965a30f38e32603dc253a3869e1b12a21ac09bfc27fd8b13ce +FROM debian:stable-slim@sha256:eb593cf2c358cacef45ca0a424bbc7d30cfa3466265fc2662b9466a0ca6ba1c5 LABEL org.opencontainers.image.source=https://github.com/cozystack/cozystack COPY --from=build /usr/src/multus-cni/bin /usr/src/multus-cni/bin COPY --from=build /usr/src/multus-cni/LICENSE /usr/src/multus-cni/LICENSE diff --git a/packages/system/objectstorage-controller/images/objectstorage/Dockerfile b/packages/system/objectstorage-controller/images/objectstorage/Dockerfile index 75db62529..a2813cfc3 100644 --- a/packages/system/objectstorage-controller/images/objectstorage/Dockerfile +++ b/packages/system/objectstorage-controller/images/objectstorage/Dockerfile @@ -1,4 +1,4 @@ -# syntax=docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3e2230a333fdbcc +# syntax=docker/dockerfile:1.28@sha256:bb22d9815c728170f72750f4e5b0d672e06176142e1d602c7e66c050100b7e5b FROM alpine@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6 AS source ARG COMMIT_REF=v0.2.2 diff --git a/packages/system/talos-log-collector/images/vector/Dockerfile b/packages/system/talos-log-collector/images/vector/Dockerfile index db583abfb..34e2a8b39 100644 --- a/packages/system/talos-log-collector/images/vector/Dockerfile +++ b/packages/system/talos-log-collector/images/vector/Dockerfile @@ -1,4 +1,4 @@ -# syntax=docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3e2230a333fdbcc +# syntax=docker/dockerfile:1.28@sha256:bb22d9815c728170f72750f4e5b0d672e06176142e1d602c7e66c050100b7e5b # # Pure mirror of the upstream Vector image, re-hosted in the cozystack # registry and pinned by digest via `make image` (same pattern as metallb).