diff --git a/.custom-gcl.yml b/.custom-gcl.yml index 0cf9ceb86a8..60273ab6030 100644 --- a/.custom-gcl.yml +++ b/.custom-gcl.yml @@ -1,4 +1,4 @@ -version: v2.12.2 +version: v2.13.2 plugins: - module: github.com/siderolabs/talos/tools/loglinter import: github.com/siderolabs/talos/tools/loglinter/plugin diff --git a/.golangci.yml b/.golangci.yml index d52482bb5e3..b263e149000 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -28,7 +28,8 @@ linters: - embeddedstructfieldcheck - err113 - errorlint - - exhaustruct + - exhaustruct # new version exhaustruct_v5 + - exhaustruct_v5 - forcetypeassert - funcorder - funlen diff --git a/Dockerfile b/Dockerfile index a946ebfa040..7b9fd283c92 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# syntax = docker/dockerfile-upstream:1.26.0-labs +# syntax = docker/dockerfile-upstream:1.27.0-labs # Meta args applied to stage base names. diff --git a/Makefile b/Makefile index 07e98f1f65c..615a19786a0 100644 --- a/Makefile +++ b/Makefile @@ -26,9 +26,9 @@ ARTIFACTS := _out EMBED_TARGET ?= embed TOOLS_PREFIX ?= ghcr.io/siderolabs/tools -TOOLS ?= v1.15.0-alpha.0-5-g09ccc74 +TOOLS ?= v1.15.0-alpha.0-9-g19bb4b7 PKGS_PREFIX ?= ghcr.io/siderolabs -PKGS ?= v1.15.0-alpha.0-27-ge7b09e2 +PKGS ?= v1.15.0-alpha.0-30-gf380535 GENERATE_VEX_PREFIX ?= ghcr.io/siderolabs/generate-vex GENERATE_VEX ?= latest @@ -110,9 +110,9 @@ KUBECTL_VERSION ?= v1.37.0 # renovate: datasource=github-releases depName=kastenhq/kubestr KUBESTR_VERSION ?= v0.4.49 # renovate: datasource=github-releases depName=helm/helm -HELM_VERSION ?= v4.2.3 +HELM_VERSION ?= v4.3.0 # renovate: datasource=github-releases depName=cilium/cilium-cli -CILIUM_CLI_VERSION ?= v0.19.7 +CILIUM_CLI_VERSION ?= v0.20.0 # renovate: datasource=github-releases depName=microsoft/secureboot_objects MICROSOFT_SECUREBOOT_RELEASE ?= v1.1.3 diff --git a/cmd/talosctl/cmd/talos/image.go b/cmd/talosctl/cmd/talos/image.go index 5de79373f06..1b2c81c0f99 100644 --- a/cmd/talosctl/cmd/talos/image.go +++ b/cmd/talosctl/cmd/talos/image.go @@ -549,11 +549,11 @@ var imageK8sBundleCmd = &cobra.Command{ }, ClusterConfig: &v1alpha1.ClusterConfig{ EtcdConfig: &v1alpha1.EtcdConfig{}, - APIServerConfig: &v1alpha1.APIServerConfig{}, + APIServerConfig: &v1alpha1.APIServerConfig{}, //nolint:staticcheck // legacy configuration ControllerManagerConfig: &v1alpha1.ControllerManagerConfig{}, //nolint:staticcheck // legacy config SchedulerConfig: &v1alpha1.SchedulerConfig{}, //nolint:staticcheck // legacy config - CoreDNSConfig: &v1alpha1.CoreDNS{}, - ProxyConfig: &v1alpha1.ProxyConfig{}, //nolint:staticcheck // legacy configuration + CoreDNSConfig: &v1alpha1.CoreDNS{}, //nolint:staticcheck // legacy config + ProxyConfig: &v1alpha1.ProxyConfig{}, //nolint:staticcheck // legacy configuration }, }, ), @@ -731,11 +731,11 @@ var imageIntegrationCmd = &cobra.Command{ }, ClusterConfig: &v1alpha1.ClusterConfig{ EtcdConfig: &v1alpha1.EtcdConfig{}, - APIServerConfig: &v1alpha1.APIServerConfig{}, + APIServerConfig: &v1alpha1.APIServerConfig{}, //nolint:staticcheck // legacy configuration ControllerManagerConfig: &v1alpha1.ControllerManagerConfig{}, //nolint:staticcheck SchedulerConfig: &v1alpha1.SchedulerConfig{}, //nolint:staticcheck - CoreDNSConfig: &v1alpha1.CoreDNS{}, - ProxyConfig: &v1alpha1.ProxyConfig{}, //nolint:staticcheck + CoreDNSConfig: &v1alpha1.CoreDNS{}, //nolint:staticcheck // legacy configuration + ProxyConfig: &v1alpha1.ProxyConfig{}, //nolint:staticcheck }, })) diff --git a/hack/release.toml b/hack/release.toml index 20f667b7452..e686f1b8dda 100644 --- a/hack/release.toml +++ b/hack/release.toml @@ -23,7 +23,7 @@ Kubernetes: 1.37.0 containerd: 2.3.5 CoreDNS: 1.14.7 -Talos is built with Go 1.26.8. +Talos is built with Go 1.27.1. """ [notes.kubespan_peer_endpoint_filters] diff --git a/internal/app/apid/pkg/backend/apid.go b/internal/app/apid/pkg/backend/apid.go index 4ebf33ef70e..027724a41dd 100644 --- a/internal/app/apid/pkg/backend/apid.go +++ b/internal/app/apid/pkg/backend/apid.go @@ -223,7 +223,7 @@ func (a *APID) GetConnection(ctx context.Context, _ string) (context.Context, *g func (a *APID) AppendInfo(streaming bool, resp []byte) ([]byte, error) { payload, err := proto.Marshal(&common.Empty{ Metadata: &common.Metadata{ //nolint:staticcheck // legacy behavior - Hostname: a.target, + Hostname: a.target, //nolint:staticcheck // legacy behavior }, }) @@ -289,9 +289,9 @@ func (a *APID) AppendInfo(streaming bool, resp []byte) ([]byte, error) { func (a *APID) BuildError(streaming bool, err error) ([]byte, error) { var resp proto.Message = &common.Empty{ Metadata: &common.Metadata{ //nolint:staticcheck // legacy behavior - Hostname: a.target, - Error: err.Error(), - Status: status.Convert(err).Proto(), + Hostname: a.target, //nolint:staticcheck // legacy behavior + Error: err.Error(), //nolint:staticcheck // legacy behavior + Status: status.Convert(err).Proto(), //nolint:staticcheck // legacy behavior }, } diff --git a/internal/app/apid/pkg/backend/apid_test.go b/internal/app/apid/pkg/backend/apid_test.go index 3bd5959621d..b12bbfd6413 100644 --- a/internal/app/apid/pkg/backend/apid_test.go +++ b/internal/app/apid/pkg/backend/apid_test.go @@ -168,7 +168,7 @@ func (suite *APIDSuite) TestAppendInfoStreamingMetadata() { // to the message, but protobuf merges definitions response := &common.Data{ Metadata: &common.Metadata{ //nolint:staticcheck // legacy behavior - Error: "something went wrong", + Error: "something went wrong", //nolint:staticcheck // legacy behavior }, } diff --git a/internal/app/machined/internal/server/v1alpha1/v1alpha1_time_test.go b/internal/app/machined/internal/server/v1alpha1/v1alpha1_time_test.go index ea9ff509788..5ab3452d732 100644 --- a/internal/app/machined/internal/server/v1alpha1/v1alpha1_time_test.go +++ b/internal/app/machined/internal/server/v1alpha1/v1alpha1_time_test.go @@ -43,7 +43,7 @@ type mockConfigProvider struct { func (provider *mockConfigProvider) Config() config.Config { return container.NewV1Alpha1(&v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ - MachineTime: &v1alpha1.TimeConfig{ + MachineTime: &v1alpha1.TimeConfig{ //nolint:staticcheck // testing deprecated field TimeServers: []string{provider.timeServer}, }, }, diff --git a/internal/app/machined/pkg/controllers/block/internal/volumes/volumeconfig/resources_test.go b/internal/app/machined/pkg/controllers/block/internal/volumes/volumeconfig/resources_test.go index 83ce270253e..7dcfe423cfe 100644 --- a/internal/app/machined/pkg/controllers/block/internal/volumes/volumeconfig/resources_test.go +++ b/internal/app/machined/pkg/controllers/block/internal/volumes/volumeconfig/resources_test.go @@ -140,7 +140,7 @@ func machineConfig(t *testing.T, promoteSystemVolumes bool) configconfig.Config ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, diff --git a/internal/app/machined/pkg/controllers/block/internal/volumes/volumeconfig/system_volumes_test.go b/internal/app/machined/pkg/controllers/block/internal/volumes/volumeconfig/system_volumes_test.go index 91cc2285272..75233ad16bf 100644 --- a/internal/app/machined/pkg/controllers/block/internal/volumes/volumeconfig/system_volumes_test.go +++ b/internal/app/machined/pkg/controllers/block/internal/volumes/volumeconfig/system_volumes_test.go @@ -33,7 +33,7 @@ func init() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{URL: u}, }, }, diff --git a/internal/app/machined/pkg/controllers/block/user_disk_config_test.go b/internal/app/machined/pkg/controllers/block/user_disk_config_test.go index 4772bbd34ca..84285ff21ef 100644 --- a/internal/app/machined/pkg/controllers/block/user_disk_config_test.go +++ b/internal/app/machined/pkg/controllers/block/user_disk_config_test.go @@ -53,7 +53,7 @@ func (suite *UserDiskConfigSuite) TestReconcileDefaults() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -90,7 +90,7 @@ func (suite *UserDiskConfigSuite) TestReconcileUserDisk() { &v1alpha1.Config{ ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ - MachineDisks: []*v1alpha1.MachineDisk{ + MachineDisks: []*v1alpha1.MachineDisk{ //nolint:staticcheck // testing deprecated field { DeviceName: disk1, DiskPartitions: []*v1alpha1.DiskPartition{ @@ -116,7 +116,7 @@ func (suite *UserDiskConfigSuite) TestReconcileUserDisk() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, diff --git a/internal/app/machined/pkg/controllers/block/volume_config_test.go b/internal/app/machined/pkg/controllers/block/volume_config_test.go index 8cbaddde48a..b06167e73a4 100644 --- a/internal/app/machined/pkg/controllers/block/volume_config_test.go +++ b/internal/app/machined/pkg/controllers/block/volume_config_test.go @@ -109,7 +109,7 @@ func (suite *VolumeConfigSuite) TestReconcileDefaults() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -247,12 +247,12 @@ func (suite *VolumeConfigSuite) TestReconcileEncryptedSTATE() { &v1alpha1.Config{ ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ - MachineSystemDiskEncryption: &v1alpha1.SystemDiskEncryptionConfig{ + MachineSystemDiskEncryption: &v1alpha1.SystemDiskEncryptionConfig{ //nolint:staticcheck // testing deprecated field StatePartition: stateEncryption, }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -289,7 +289,7 @@ func (suite *VolumeConfigSuite) TestReconcileExtraEPHEMERALConfig() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -347,7 +347,7 @@ func (suite *VolumeConfigSuite) TestReconcilePromoteETCD() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -414,7 +414,7 @@ func (suite *VolumeConfigSuite) clusterEndpointConfig() *v1alpha1.Config { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, diff --git a/internal/app/machined/pkg/controllers/cluster/config_test.go b/internal/app/machined/pkg/controllers/cluster/config_test.go index 62b139e5dd7..2a390a050ce 100644 --- a/internal/app/machined/pkg/controllers/cluster/config_test.go +++ b/internal/app/machined/pkg/controllers/cluster/config_test.go @@ -32,10 +32,10 @@ func (suite *ConfigSuite) TestReconcileConfig() { cfg := config.NewMachineConfig(container.NewV1Alpha1(&v1alpha1.Config{ ConfigVersion: "v1alpha1", ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterID: "cluster1", - ClusterSecret: "kCQsKr4B28VUl7qw1sVkTDNF9fFH++ViIuKsss+C6kc=", + ClusterID: "cluster1", //nolint:staticcheck // testing deprecated field + ClusterSecret: "kCQsKr4B28VUl7qw1sVkTDNF9fFH++ViIuKsss+C6kc=", //nolint:staticcheck // testing deprecated field ClusterDiscoveryConfig: &v1alpha1.ClusterDiscoveryConfig{ //nolint:staticcheck // legacy configuration - DiscoveryEnabled: new(true), + DiscoveryEnabled: new(true), //nolint:staticcheck // legacy configuration }, }, })) @@ -64,16 +64,16 @@ func (suite *ConfigSuite) TestReconcileConfigCustom() { cfg := config.NewMachineConfig(container.NewV1Alpha1(&v1alpha1.Config{ ConfigVersion: "v1alpha1", ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterID: "cluster1", - ClusterSecret: "kCQsKr4B28VUl7qw1sVkTDNF9fFH++ViIuKsss+C6kc=", + ClusterID: "cluster1", //nolint:staticcheck // testing deprecated field + ClusterSecret: "kCQsKr4B28VUl7qw1sVkTDNF9fFH++ViIuKsss+C6kc=", //nolint:staticcheck // testing deprecated field ClusterDiscoveryConfig: &v1alpha1.ClusterDiscoveryConfig{ //nolint:staticcheck // legacy configuration - DiscoveryEnabled: new(true), + DiscoveryEnabled: new(true), //nolint:staticcheck // legacy configuration DiscoveryRegistries: v1alpha1.DiscoveryRegistriesConfig{ //nolint:staticcheck // legacy configuration RegistryKubernetes: v1alpha1.RegistryKubernetesConfig{ //nolint:staticcheck // legacy configuration RegistryDisabled: new(true), }, RegistryService: v1alpha1.RegistryServiceConfig{ //nolint:staticcheck // legacy configuration - RegistryEndpoint: "https://[2001:470:6d:30e:565d:e162:e2a0:cf5a]:3456/", + RegistryEndpoint: "https://[2001:470:6d:30e:565d:e162:e2a0:cf5a]:3456/", //nolint:staticcheck // legacy configuration }, }, }, @@ -97,16 +97,16 @@ func (suite *ConfigSuite) TestReconcileConfigCustomInsecure() { cfg := config.NewMachineConfig(container.NewV1Alpha1(&v1alpha1.Config{ ConfigVersion: "v1alpha1", ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterID: "cluster1", - ClusterSecret: "kCQsKr4B28VUl7qw1sVkTDNF9fFH++ViIuKsss+C6kc=", + ClusterID: "cluster1", //nolint:staticcheck // testing deprecated field + ClusterSecret: "kCQsKr4B28VUl7qw1sVkTDNF9fFH++ViIuKsss+C6kc=", //nolint:staticcheck // testing deprecated field ClusterDiscoveryConfig: &v1alpha1.ClusterDiscoveryConfig{ //nolint:staticcheck // legacy configuration - DiscoveryEnabled: new(true), + DiscoveryEnabled: new(true), //nolint:staticcheck // legacy configuration DiscoveryRegistries: v1alpha1.DiscoveryRegistriesConfig{ //nolint:staticcheck // legacy configuration RegistryKubernetes: v1alpha1.RegistryKubernetesConfig{ //nolint:staticcheck // legacy configuration RegistryDisabled: new(true), }, RegistryService: v1alpha1.RegistryServiceConfig{ //nolint:staticcheck // legacy configuration - RegistryEndpoint: "http://localhost:3000", + RegistryEndpoint: "http://localhost:3000", //nolint:staticcheck // legacy configuration }, }, }, @@ -177,10 +177,10 @@ func (suite *ConfigSuite) TestLegacyFieldsWithDiscoveryService() { cfg := config.NewMachineConfig(container.NewV1Alpha1(&v1alpha1.Config{ ConfigVersion: "v1alpha1", ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterID: "test-cluster", - ClusterSecret: "kCQsKr4B28VUl7qw1sVkTDNF9fFH++ViIuKsss+C6kc=", + ClusterID: "test-cluster", //nolint:staticcheck // testing deprecated field + ClusterSecret: "kCQsKr4B28VUl7qw1sVkTDNF9fFH++ViIuKsss+C6kc=", //nolint:staticcheck // testing deprecated field ClusterDiscoveryConfig: &v1alpha1.ClusterDiscoveryConfig{ //nolint:staticcheck // legacy config - DiscoveryEnabled: new(true), + DiscoveryEnabled: new(true), //nolint:staticcheck // legacy config }, }, })) @@ -226,13 +226,13 @@ func (suite *ConfigSuite) TestLegacyFieldsInsecureEndpoint() { cfg := config.NewMachineConfig(container.NewV1Alpha1(&v1alpha1.Config{ ConfigVersion: "v1alpha1", ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterID: "test-cluster", - ClusterSecret: "kCQsKr4B28VUl7qw1sVkTDNF9fFH++ViIuKsss+C6kc=", + ClusterID: "test-cluster", //nolint:staticcheck // testing deprecated field + ClusterSecret: "kCQsKr4B28VUl7qw1sVkTDNF9fFH++ViIuKsss+C6kc=", //nolint:staticcheck // testing deprecated field ClusterDiscoveryConfig: &v1alpha1.ClusterDiscoveryConfig{ //nolint:staticcheck // legacy config - DiscoveryEnabled: new(true), + DiscoveryEnabled: new(true), //nolint:staticcheck // legacy config DiscoveryRegistries: v1alpha1.DiscoveryRegistriesConfig{ //nolint:staticcheck // legacy config RegistryService: v1alpha1.RegistryServiceConfig{ //nolint:staticcheck // legacy config - RegistryEndpoint: "http://insecure.example.com:3000", + RegistryEndpoint: "http://insecure.example.com:3000", //nolint:staticcheck // legacy config }, }, }, diff --git a/internal/app/machined/pkg/controllers/cluster/info_test.go b/internal/app/machined/pkg/controllers/cluster/info_test.go index f96977703d5..fcf10a4cddd 100644 --- a/internal/app/machined/pkg/controllers/cluster/info_test.go +++ b/internal/app/machined/pkg/controllers/cluster/info_test.go @@ -30,9 +30,9 @@ func (suite *InfoSuite) TestReconcile() { cfg := config.NewMachineConfig(container.NewV1Alpha1(&v1alpha1.Config{ ConfigVersion: "v1alpha1", ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterID: "cluster1", - ClusterName: "foo", - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ClusterID: "cluster1", //nolint:staticcheck // testing deprecated field + ClusterName: "foo", //nolint:staticcheck // testing deprecated field + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: must(url.Parse("https://example.com/")), }, diff --git a/internal/app/machined/pkg/controllers/cri/image_cache_config_test.go b/internal/app/machined/pkg/controllers/cri/image_cache_config_test.go index 84220c04d04..ef4bde2b67b 100644 --- a/internal/app/machined/pkg/controllers/cri/image_cache_config_test.go +++ b/internal/app/machined/pkg/controllers/cri/image_cache_config_test.go @@ -245,7 +245,7 @@ func (suite *ImageCacheConfigSuite) TestReconcileJustDiskVolume() { cfg := config.NewMachineConfig(container.NewV1Alpha1(&v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ MachineFeatures: &v1alpha1.FeaturesConfig{ - ImageCacheSupport: &v1alpha1.ImageCacheConfig{ + ImageCacheSupport: &v1alpha1.ImageCacheConfig{ //nolint:staticcheck // testing deprecated field CacheLocalEnabled: new(true), }, }, @@ -339,7 +339,7 @@ func (suite *ImageCacheConfigSuite) TestReconcileWithImageCacheVolume() { v1alpha1Cfg := &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ MachineFeatures: &v1alpha1.FeaturesConfig{ - ImageCacheSupport: &v1alpha1.ImageCacheConfig{ + ImageCacheSupport: &v1alpha1.ImageCacheConfig{ //nolint:staticcheck // testing deprecated field CacheLocalEnabled: new(true), }, }, @@ -403,7 +403,7 @@ func (suite *ImageCacheConfigSuite) TestReconcileWithEncryptionConfig() { v1alpha1Cfg := &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ MachineFeatures: &v1alpha1.FeaturesConfig{ - ImageCacheSupport: &v1alpha1.ImageCacheConfig{ + ImageCacheSupport: &v1alpha1.ImageCacheConfig{ //nolint:staticcheck // testing deprecated field CacheLocalEnabled: new(true), }, }, diff --git a/internal/app/machined/pkg/controllers/cri/registries_config_test.go b/internal/app/machined/pkg/controllers/cri/registries_config_test.go index 8c166d6ebbc..aaa84d2d421 100644 --- a/internal/app/machined/pkg/controllers/cri/registries_config_test.go +++ b/internal/app/machined/pkg/controllers/cri/registries_config_test.go @@ -34,7 +34,7 @@ func (suite *ConfigSuite) TestRegistry() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineType: "controlplane", - MachineRegistries: v1alpha1.RegistriesConfig{ + MachineRegistries: v1alpha1.RegistriesConfig{ //nolint:staticcheck // testing deprecated field RegistryMirrors: map[string]*v1alpha1.RegistryMirrorConfig{ "docker.io": { MirrorEndpoints: []string{"https://mirror.io"}, @@ -105,7 +105,7 @@ func (suite *ConfigSuite) TestRegistryAuth() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineType: "controlplane", - MachineRegistries: v1alpha1.RegistriesConfig{ + MachineRegistries: v1alpha1.RegistriesConfig{ //nolint:staticcheck // testing deprecated field RegistryMirrors: map[string]*v1alpha1.RegistryMirrorConfig{ "docker.io": {MirrorEndpoints: []string{"https://mirror.io"}}, }, @@ -193,7 +193,7 @@ func (suite *ConfigSuite) TestRegistryTLS() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineType: "controlplane", - MachineRegistries: v1alpha1.RegistriesConfig{ + MachineRegistries: v1alpha1.RegistriesConfig{ //nolint:staticcheck // testing deprecated field RegistryMirrors: map[string]*v1alpha1.RegistryMirrorConfig{ "docker.io": {MirrorEndpoints: []string{"https://mirror.io"}}, }, diff --git a/internal/app/machined/pkg/controllers/etcd/config_test.go b/internal/app/machined/pkg/controllers/etcd/config_test.go index 0d9b3892251..c694c279903 100644 --- a/internal/app/machined/pkg/controllers/etcd/config_test.go +++ b/internal/app/machined/pkg/controllers/etcd/config_test.go @@ -85,7 +85,7 @@ func (suite *ConfigSuite) TestReconcile() { EtcdExtraArgs: meta.Args{ "arg": meta.NewArgValue("value", nil), }, - EtcdSubnet: "10.0.0.0/8", + EtcdSubnet: "10.0.0.0/8", //nolint:staticcheck // testing deprecated field }, expectedConfig: etcd.ConfigSpec{ Image: "foo/bar:v1.0.0", @@ -214,7 +214,7 @@ func (suite *ConfigSuite) TestReconcile() { MachineConfig: &v1alpha1.MachineConfig{ MachineType: "controlplane", MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - NetworkInterfaces: tt.networkConfig, + NetworkInterfaces: tt.networkConfig, //nolint:staticcheck // legacy config }, }, } diff --git a/internal/app/machined/pkg/controllers/k8s/address_filter_test.go b/internal/app/machined/pkg/controllers/k8s/address_filter_test.go index fae8044aff5..8a100e1de98 100644 --- a/internal/app/machined/pkg/controllers/k8s/address_filter_test.go +++ b/internal/app/machined/pkg/controllers/k8s/address_filter_test.go @@ -39,12 +39,12 @@ func (suite *K8sAddressFilterSuite) TestReconcileK8s() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, }, - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ //nolint:staticcheck // testing deprecated field ServiceSubnet: []string{ "10.200.0.0/22", "fd40:10:200::/112", diff --git a/internal/app/machined/pkg/controllers/k8s/control_plane_test.go b/internal/app/machined/pkg/controllers/k8s/control_plane_test.go index 42a675c67d4..bf65074a89e 100644 --- a/internal/app/machined/pkg/controllers/k8s/control_plane_test.go +++ b/internal/app/machined/pkg/controllers/k8s/control_plane_test.go @@ -57,7 +57,7 @@ func (suite *K8sControlPlaneSuite) TestReconcileDefaults() { MachineType: "controlplane", }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -124,14 +124,14 @@ func (suite *K8sControlPlaneSuite) TestReconcileEmptyAuthorizationConfigAuthoriz MachineType: "controlplane", }, ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, //nolint:staticcheck // testing deprecated field + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, }, - APIServerConfig: &v1alpha1.APIServerConfig{ - AuthorizationConfigConfig: []*v1alpha1.AuthorizationConfigAuthorizerConfig{}, + APIServerConfig: &v1alpha1.APIServerConfig{ //nolint:staticcheck // testing deprecated field + AuthorizationConfigConfig: []*v1alpha1.AuthorizationConfigAuthorizerConfig{}, //nolint:staticcheck // testing deprecated field }, }, }, @@ -160,14 +160,14 @@ func (suite *K8sControlPlaneSuite) TestReconcileAdditionalAuthorizationConfigAut MachineType: "controlplane", }, ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, //nolint:staticcheck // testing deprecated field + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, }, - APIServerConfig: &v1alpha1.APIServerConfig{ - AuthorizationConfigConfig: []*v1alpha1.AuthorizationConfigAuthorizerConfig{ + APIServerConfig: &v1alpha1.APIServerConfig{ //nolint:staticcheck // testing deprecated field + AuthorizationConfigConfig: []*v1alpha1.AuthorizationConfigAuthorizerConfig{ //nolint:staticcheck // testing deprecated field { AuthorizerType: "Webhook", AuthorizerName: "webhook", @@ -228,14 +228,14 @@ func (suite *K8sControlPlaneSuite) TestReconcileAdditionalAuthorizationConfigAut MachineType: "controlplane", }, ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, //nolint:staticcheck // testing deprecated field + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, }, - APIServerConfig: &v1alpha1.APIServerConfig{ - AuthorizationConfigConfig: []*v1alpha1.AuthorizationConfigAuthorizerConfig{ + APIServerConfig: &v1alpha1.APIServerConfig{ //nolint:staticcheck // testing deprecated field + AuthorizationConfigConfig: []*v1alpha1.AuthorizationConfigAuthorizerConfig{ //nolint:staticcheck // testing deprecated field { AuthorizerType: "RBAC", AuthorizerName: "foo", @@ -312,14 +312,14 @@ func (suite *K8sControlPlaneSuite) TestReconcileAdditionalAuthorizationConfigAut MachineType: "controlplane", }, ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, //nolint:staticcheck // testing deprecated field + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, }, - APIServerConfig: &v1alpha1.APIServerConfig{ - AuthorizationConfigConfig: []*v1alpha1.AuthorizationConfigAuthorizerConfig{ + APIServerConfig: &v1alpha1.APIServerConfig{ //nolint:staticcheck // testing deprecated field + AuthorizationConfigConfig: []*v1alpha1.AuthorizationConfigAuthorizerConfig{ //nolint:staticcheck // testing deprecated field { AuthorizerType: "Node", AuthorizerName: "foo", @@ -392,8 +392,8 @@ func (suite *K8sControlPlaneSuite) TestReconcileTransitionWorker() { MachineType: "controlplane", }, ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, //nolint:staticcheck // testing deprecated field + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -430,12 +430,12 @@ func (suite *K8sControlPlaneSuite) TestReconcileIPv6() { MachineType: "controlplane", }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, }, - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ //nolint:staticcheck // testing deprecated field PodSubnet: []string{constants.DefaultIPv6PodCIDR}, ServiceSubnet: []string{constants.DefaultIPv6ServiceCIDR}, }, @@ -467,12 +467,12 @@ func (suite *K8sControlPlaneSuite) TestReconcileDualStack() { MachineType: "controlplane", }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, }, - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ //nolint:staticcheck // testing deprecated field PodSubnet: []string{constants.DefaultIPv4PodCIDR, constants.DefaultIPv6PodCIDR}, ServiceSubnet: []string{constants.DefaultIPv4ServiceCIDR, constants.DefaultIPv6ServiceCIDR}, }, @@ -504,13 +504,13 @@ func (suite *K8sControlPlaneSuite) TestReconcileExtraVolumes() { MachineType: "controlplane", }, ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, //nolint:staticcheck // testing deprecated field + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, }, - APIServerConfig: &v1alpha1.APIServerConfig{ + APIServerConfig: &v1alpha1.APIServerConfig{ //nolint:staticcheck // testing deprecated field ExtraVolumesConfig: []v1alpha1.VolumeMountConfig{ { VolumeHostPath: "/var/lib", @@ -566,13 +566,13 @@ func (suite *K8sControlPlaneSuite) TestReconcileEnvironment() { MachineType: "controlplane", }, ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, //nolint:staticcheck // testing deprecated field + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, }, - APIServerConfig: &v1alpha1.APIServerConfig{ + APIServerConfig: &v1alpha1.APIServerConfig{ //nolint:staticcheck // testing deprecated field EnvConfig: v1alpha1.Env{ "HTTP_PROXY": "foo", }, @@ -610,13 +610,13 @@ func (suite *K8sControlPlaneSuite) TestReconcileResources() { MachineType: "controlplane", }, ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, //nolint:staticcheck // testing deprecated field + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, }, - APIServerConfig: &v1alpha1.APIServerConfig{ + APIServerConfig: &v1alpha1.APIServerConfig{ //nolint:staticcheck // testing deprecated field ResourcesConfig: &v1alpha1.ResourcesConfig{ Requests: meta.Unstructured{ Object: map[string]any{ @@ -744,8 +744,8 @@ func (suite *K8sControlPlaneSuite) TestReconcileExternalCloudProvider() { MachineType: "controlplane", }, ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, //nolint:staticcheck // testing deprecated field + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -815,8 +815,8 @@ func (suite *K8sControlPlaneSuite) TestReconcileInlineManifests() { MachineType: "controlplane", }, ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, //nolint:staticcheck // testing deprecated field + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -872,8 +872,8 @@ func (suite *K8sControlPlaneSuite) TestReconcileKubeProxyMode() { MachineType: "controlplane", }, ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{}, //nolint:staticcheck // testing deprecated field + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, diff --git a/internal/app/machined/pkg/controllers/k8s/kubelet_config_test.go b/internal/app/machined/pkg/controllers/k8s/kubelet_config_test.go index 6f1d12a9ddf..6202c25afe5 100644 --- a/internal/app/machined/pkg/controllers/k8s/kubelet_config_test.go +++ b/internal/app/machined/pkg/controllers/k8s/kubelet_config_test.go @@ -47,28 +47,28 @@ func (suite *KubeletConfigSuite) TestReconcile() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineKubelet: &v1alpha1.KubeletConfig{ //nolint:staticcheck // legacy config - KubeletImage: "kubelet", - KubeletClusterDNS: []string{"10.0.0.1"}, - KubeletExtraArgs: meta.Args{ + KubeletImage: "kubelet", //nolint:staticcheck // legacy config + KubeletClusterDNS: []string{"10.0.0.1"}, //nolint:staticcheck // legacy config + KubeletExtraArgs: meta.Args{ //nolint:staticcheck // legacy config "enable-feature": meta.NewArgValue("foo", nil), }, - KubeletExtraMounts: []v1alpha1.ExtraMount{ + KubeletExtraMounts: []v1alpha1.ExtraMount{ //nolint:staticcheck // testing deprecated field { Destination: "/tmp", Source: "/var", Type: "tmpfs", }, }, - KubeletExtraConfig: meta.Unstructured{ + KubeletExtraConfig: meta.Unstructured{ //nolint:staticcheck // testing deprecated field Object: map[string]any{ "serverTLSBootstrap": true, }, }, - KubeletDefaultRuntimeSeccompProfileEnabled: new(true), + KubeletDefaultRuntimeSeccompProfileEnabled: new(true), //nolint:staticcheck // testing deprecated field }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -76,7 +76,7 @@ func (suite *KubeletConfigSuite) TestReconcile() { ExternalCloudProviderConfig: &v1alpha1.ExternalCloudProviderConfig{ ExternalEnabled: new(true), }, - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ //nolint:staticcheck // testing deprecated field DNSDomain: "service.svc", }, }, @@ -131,16 +131,16 @@ func (suite *KubeletConfigSuite) TestReconcileDefaults() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineKubelet: &v1alpha1.KubeletConfig{ //nolint:staticcheck // legacy config - KubeletImage: "kubelet", + KubeletImage: "kubelet", //nolint:staticcheck // legacy config }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, }, - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ //nolint:staticcheck // testing deprecated field ServiceSubnet: []string{constants.DefaultIPv4ServiceCIDR}, }, }, diff --git a/internal/app/machined/pkg/controllers/k8s/kubeprism_config_test.go b/internal/app/machined/pkg/controllers/k8s/kubeprism_config_test.go index 47f6ef00a5f..2829afada65 100644 --- a/internal/app/machined/pkg/controllers/k8s/kubeprism_config_test.go +++ b/internal/app/machined/pkg/controllers/k8s/kubeprism_config_test.go @@ -35,11 +35,11 @@ func (suite *KubePrismConfigControllerSuite) TestGeneration() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: must(url.Parse("https://example.com"))(suite.Require()), }, - LocalAPIServerPort: 6445, + LocalAPIServerPort: 6445, //nolint:staticcheck // testing deprecated field }, }, } diff --git a/internal/app/machined/pkg/controllers/k8s/kubeprism_endpoints_test.go b/internal/app/machined/pkg/controllers/k8s/kubeprism_endpoints_test.go index ddf13ea44af..5611a4633b9 100644 --- a/internal/app/machined/pkg/controllers/k8s/kubeprism_endpoints_test.go +++ b/internal/app/machined/pkg/controllers/k8s/kubeprism_endpoints_test.go @@ -39,11 +39,11 @@ func (suite *KubePrismControllerSuite) TestGeneration() { MachineType: "controlplane", }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: must(url.Parse("https://example.com"))(suite.Require()), }, - LocalAPIServerPort: 6445, + LocalAPIServerPort: 6445, //nolint:staticcheck // testing deprecated field }, }, })) diff --git a/internal/app/machined/pkg/controllers/k8s/node_annotation_spec_test.go b/internal/app/machined/pkg/controllers/k8s/node_annotation_spec_test.go index f739d0f8e6b..ac4f9eab837 100644 --- a/internal/app/machined/pkg/controllers/k8s/node_annotation_spec_test.go +++ b/internal/app/machined/pkg/controllers/k8s/node_annotation_spec_test.go @@ -51,7 +51,7 @@ func (suite *NodeAnnotationsSuite) updateMachineConfig(annotations map[string]st cfg = config.NewMachineConfig(container.NewV1Alpha1(&v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ MachineType: "controlplane", - MachineNodeAnnotations: annotations, + MachineNodeAnnotations: annotations, //nolint:staticcheck // testing deprecated field }, })) diff --git a/internal/app/machined/pkg/controllers/k8s/node_label_spec_test.go b/internal/app/machined/pkg/controllers/k8s/node_label_spec_test.go index f992cd1135b..03999f8efe5 100644 --- a/internal/app/machined/pkg/controllers/k8s/node_label_spec_test.go +++ b/internal/app/machined/pkg/controllers/k8s/node_label_spec_test.go @@ -53,7 +53,7 @@ func (suite *NodeLabelsSuite) updateMachineConfig(machineType machine.Type, labe cfg = config.NewMachineConfig(container.NewV1Alpha1(&v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ MachineType: machineType.String(), - MachineNodeLabels: labels, + MachineNodeLabels: labels, //nolint:staticcheck // testing deprecated field }, })) diff --git a/internal/app/machined/pkg/controllers/k8s/node_taint_spec_test.go b/internal/app/machined/pkg/controllers/k8s/node_taint_spec_test.go index 70145bce4e5..7c7f7eedce6 100644 --- a/internal/app/machined/pkg/controllers/k8s/node_taint_spec_test.go +++ b/internal/app/machined/pkg/controllers/k8s/node_taint_spec_test.go @@ -55,10 +55,10 @@ func (suite *NodeTaintsSuite) updateMachineConfig(machineType machine.Type, allo cfg = config.NewMachineConfig(container.NewV1Alpha1(&v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ MachineType: machineType.String(), - MachineNodeTaints: nodeTaints, + MachineNodeTaints: nodeTaints, //nolint:staticcheck // testing deprecated field }, ClusterConfig: &v1alpha1.ClusterConfig{ - AllowSchedulingOnControlPlanes: new(allowScheduling), + AllowSchedulingOnControlPlanes: new(allowScheduling), //nolint:staticcheck // testing deprecated field }, })) diff --git a/internal/app/machined/pkg/controllers/k8s/nodeip_config_test.go b/internal/app/machined/pkg/controllers/k8s/nodeip_config_test.go index 084aa358d4b..fd64be1ec67 100644 --- a/internal/app/machined/pkg/controllers/k8s/nodeip_config_test.go +++ b/internal/app/machined/pkg/controllers/k8s/nodeip_config_test.go @@ -37,12 +37,12 @@ func (suite *NodeIPConfigSuite) TestReconcileWithSubnets() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineKubelet: &v1alpha1.KubeletConfig{ //nolint:staticcheck // legacy config - KubeletNodeIP: &v1alpha1.KubeletNodeIPConfig{ + KubeletNodeIP: &v1alpha1.KubeletNodeIPConfig{ //nolint:staticcheck // legacy config KubeletNodeIPValidSubnets: []string{"10.0.0.0/24"}, }, }, MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy controller - NetworkInterfaces: []*v1alpha1.Device{ + NetworkInterfaces: []*v1alpha1.Device{ //nolint:staticcheck // legacy controller { DeviceVIPConfig: &v1alpha1.DeviceVIPConfig{ SharedIP: "1.2.3.4", @@ -60,12 +60,12 @@ func (suite *NodeIPConfigSuite) TestReconcileWithSubnets() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, }, - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ //nolint:staticcheck // testing deprecated field ServiceSubnet: []string{constants.DefaultIPv4ServiceCIDR}, PodSubnet: []string{constants.DefaultIPv4PodCIDR}, }, @@ -95,12 +95,12 @@ func (suite *NodeIPConfigSuite) TestReconcileWithNewVIPs() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, }, - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ //nolint:staticcheck // testing deprecated field ServiceSubnet: []string{constants.DefaultIPv4ServiceCIDR}, PodSubnet: []string{constants.DefaultIPv4PodCIDR}, }, @@ -138,12 +138,12 @@ func (suite *NodeIPConfigSuite) TestReconcileDefaults() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, }, - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ //nolint:staticcheck // testing deprecated field ServiceSubnet: []string{constants.DefaultIPv4ServiceCIDR, constants.DefaultIPv6ServiceCIDR}, PodSubnet: []string{constants.DefaultIPv4PodCIDR, constants.DefaultIPv6PodCIDR}, }, diff --git a/internal/app/machined/pkg/controllers/k8s/nodename_test.go b/internal/app/machined/pkg/controllers/k8s/nodename_test.go index 0f88c320328..e1a8bd4604e 100644 --- a/internal/app/machined/pkg/controllers/k8s/nodename_test.go +++ b/internal/app/machined/pkg/controllers/k8s/nodename_test.go @@ -43,7 +43,7 @@ func (suite *NodenameSuite) TestDefault() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -74,11 +74,11 @@ func (suite *NodenameSuite) TestFQDN() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineKubelet: &v1alpha1.KubeletConfig{ //nolint:staticcheck // legacy config - KubeletRegisterWithFQDN: new(true), + KubeletRegisterWithFQDN: new(true), //nolint:staticcheck // legacy config }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, diff --git a/internal/app/machined/pkg/controllers/k8s/static_endpoint_test.go b/internal/app/machined/pkg/controllers/k8s/static_endpoint_test.go index 31b4dfc1657..d01ba4d84a6 100644 --- a/internal/app/machined/pkg/controllers/k8s/static_endpoint_test.go +++ b/internal/app/machined/pkg/controllers/k8s/static_endpoint_test.go @@ -36,7 +36,7 @@ func (suite *StaticEndpointControllerSuite) TestReconcile() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -69,7 +69,7 @@ func (suite *StaticEndpointControllerSuite) TestReconcileHostname() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, diff --git a/internal/app/machined/pkg/controllers/k8s/static_pod_config_test.go b/internal/app/machined/pkg/controllers/k8s/static_pod_config_test.go index 6a9fcff1958..53373bffd11 100644 --- a/internal/app/machined/pkg/controllers/k8s/static_pod_config_test.go +++ b/internal/app/machined/pkg/controllers/k8s/static_pod_config_test.go @@ -31,7 +31,7 @@ func (suite *StaticPodConfigSuite) TestReconcile() { &v1alpha1.Config{ ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ - MachinePods: []meta.Unstructured{ + MachinePods: []meta.Unstructured{ //nolint:staticcheck // testing deprecated field { Object: map[string]any{ "apiVersion": "v1", diff --git a/internal/app/machined/pkg/controllers/kubeaccess/serviceaccount/crd_controller.go b/internal/app/machined/pkg/controllers/kubeaccess/serviceaccount/crd_controller.go index 61d10496b01..ce7996ac5f2 100644 --- a/internal/app/machined/pkg/controllers/kubeaccess/serviceaccount/crd_controller.go +++ b/internal/app/machined/pkg/controllers/kubeaccess/serviceaccount/crd_controller.go @@ -341,7 +341,7 @@ func (t *CRDController) syncHandler(ctx context.Context, key string) error { return fmt.Errorf("%s: %w", msg, err) } - return errors.New(msg) + return errors.New(msg) //nolint:staticcheck // msg doubles as the user-facing Kubernetes Event message } if !slices.ContainsFunc(t.allowedNamespaces, func(allowedNS string) bool { diff --git a/internal/app/machined/pkg/controllers/kubespan/config_test.go b/internal/app/machined/pkg/controllers/kubespan/config_test.go index 624b40d2cb5..f414fbcd09c 100644 --- a/internal/app/machined/pkg/controllers/kubespan/config_test.go +++ b/internal/app/machined/pkg/controllers/kubespan/config_test.go @@ -41,8 +41,8 @@ func (suite *ConfigSuite) TestReconcileConfig() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterID: "8XuV9TZHW08DOk3bVxQjH9ih_TBKjnh-j44tsCLSBzo=", - ClusterSecret: "I+1In7fLnpcRIjUmEoeugZnSyFoTF6MztLxICL5Yu0s=", + ClusterID: "8XuV9TZHW08DOk3bVxQjH9ih_TBKjnh-j44tsCLSBzo=", //nolint:staticcheck // testing deprecated field + ClusterSecret: "I+1In7fLnpcRIjUmEoeugZnSyFoTF6MztLxICL5Yu0s=", //nolint:staticcheck // testing deprecated field }, }, &network.KubespanEndpointsConfigV1Alpha1{ @@ -76,8 +76,8 @@ func (suite *ConfigSuite) TestReconcileDisabled() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterID: "test-cluster-id", - ClusterSecret: "test-cluster-secret", + ClusterID: "test-cluster-id", //nolint:staticcheck // testing deprecated field + ClusterSecret: "test-cluster-secret", //nolint:staticcheck // testing deprecated field }, }, ), @@ -108,8 +108,8 @@ func (suite *ConfigSuite) TestReconcileMultiDoc() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterID: "test-cluster-id-multi-doc", - ClusterSecret: "test-cluster-secret-multi-doc", + ClusterID: "test-cluster-id-multi-doc", //nolint:staticcheck // testing deprecated field + ClusterSecret: "test-cluster-secret-multi-doc", //nolint:staticcheck // testing deprecated field }, }, kubeSpanCfg, @@ -147,8 +147,8 @@ func (suite *ConfigSuite) TestReconcileNoDiscoveryIdentityConfig() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterID: "", - ClusterSecret: "", + ClusterID: "", //nolint:staticcheck // testing deprecated field + ClusterSecret: "", //nolint:staticcheck // testing deprecated field }, }, ), diff --git a/internal/app/machined/pkg/controllers/network/address_config_test.go b/internal/app/machined/pkg/controllers/network/address_config_test.go index d6f4c2cbed8..f1712585955 100644 --- a/internal/app/machined/pkg/controllers/network/address_config_test.go +++ b/internal/app/machined/pkg/controllers/network/address_config_test.go @@ -124,7 +124,7 @@ func (suite *AddressConfigSuite) TestMachineConfigurationLegacy() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - NetworkInterfaces: []*v1alpha1.Device{ + NetworkInterfaces: []*v1alpha1.Device{ //nolint:staticcheck // legacy config { DeviceInterface: "eth3", DeviceCIDR: "192.168.0.24/28", @@ -168,7 +168,7 @@ func (suite *AddressConfigSuite) TestMachineConfigurationLegacy() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, diff --git a/internal/app/machined/pkg/controllers/network/device_config_test.go b/internal/app/machined/pkg/controllers/network/device_config_test.go index 7d85e13e9ae..59942712fd5 100644 --- a/internal/app/machined/pkg/controllers/network/device_config_test.go +++ b/internal/app/machined/pkg/controllers/network/device_config_test.go @@ -34,7 +34,7 @@ func (suite *DeviceConfigSpecSuite) TestDeviceConfigs() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy controller - NetworkInterfaces: []*v1alpha1.Device{ + NetworkInterfaces: []*v1alpha1.Device{ //nolint:staticcheck // legacy controller { DeviceInterface: "eth0", DeviceAddresses: []string{"192.168.2.0/24"}, @@ -81,7 +81,7 @@ func (suite *DeviceConfigSpecSuite) TestSelectors() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy controller - NetworkInterfaces: []*v1alpha1.Device{ + NetworkInterfaces: []*v1alpha1.Device{ //nolint:staticcheck // legacy controller // device selector selecing a single interface { DeviceSelector: &v1alpha1.NetworkDeviceSelector{ @@ -169,7 +169,7 @@ func (suite *DeviceConfigSpecSuite) TestBondSelectors() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy controller - NetworkInterfaces: []*v1alpha1.Device{ + NetworkInterfaces: []*v1alpha1.Device{ //nolint:staticcheck // legacy controller { DeviceInterface: "bond0", DeviceAddresses: []string{"192.168.2.0/24"}, diff --git a/internal/app/machined/pkg/controllers/network/etcfile_test.go b/internal/app/machined/pkg/controllers/network/etcfile_test.go index 055b345ed6f..ef8ec996062 100644 --- a/internal/app/machined/pkg/controllers/network/etcfile_test.go +++ b/internal/app/machined/pkg/controllers/network/etcfile_test.go @@ -80,7 +80,7 @@ func (suite *EtcFileConfigSuite) ExtraSetup() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - ExtraHostEntries: []*v1alpha1.ExtraHost{ + ExtraHostEntries: []*v1alpha1.ExtraHost{ //nolint:staticcheck // legacy config { HostIP: "10.0.0.1", HostAliases: []string{"a", "b"}, @@ -93,7 +93,7 @@ func (suite *EtcFileConfigSuite) ExtraSetup() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -273,7 +273,7 @@ func (suite *EtcFileConfigSuite) TestNoSearchDomainLegacy() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - NetworkDisableSearchDomain: new(true), + NetworkDisableSearchDomain: new(true), //nolint:staticcheck // legacy config }, }, }, diff --git a/internal/app/machined/pkg/controllers/network/hostdns_config_test.go b/internal/app/machined/pkg/controllers/network/hostdns_config_test.go index 01a4fc06551..41aef847494 100644 --- a/internal/app/machined/pkg/controllers/network/hostdns_config_test.go +++ b/internal/app/machined/pkg/controllers/network/hostdns_config_test.go @@ -91,10 +91,10 @@ func (suite *HostDNSConfigSuite) TestLegacyConfigEnabled() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{URL: u}, }, - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ //nolint:staticcheck // testing deprecated field PodSubnet: []string{constants.DefaultIPv4PodCIDR}, }, }, @@ -138,10 +138,10 @@ func (suite *HostDNSConfigSuite) TestLegacyConfigForwardKubeDNSIPv4() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{URL: u}, }, - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ //nolint:staticcheck // testing deprecated field PodSubnet: []string{constants.DefaultIPv4PodCIDR, constants.DefaultIPv6PodCIDR}, }, }, @@ -213,10 +213,10 @@ func (suite *HostDNSConfigSuite) TestLegacyConfigForwardKubeDNSIPv6Only() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{URL: u}, }, - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ //nolint:staticcheck // testing deprecated field PodSubnet: []string{constants.DefaultIPv6PodCIDR}, }, }, @@ -258,7 +258,7 @@ func (suite *HostDNSConfigSuite) TestResolverConfigDocument() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ + ClusterNetwork: &v1alpha1.ClusterNetworkConfig{ //nolint:staticcheck // testing deprecated field PodSubnet: []string{constants.DefaultIPv4PodCIDR}, }, }, diff --git a/internal/app/machined/pkg/controllers/network/hostname_config_test.go b/internal/app/machined/pkg/controllers/network/hostname_config_test.go index 525556bbe86..5705e343f2f 100644 --- a/internal/app/machined/pkg/controllers/network/hostname_config_test.go +++ b/internal/app/machined/pkg/controllers/network/hostname_config_test.go @@ -67,7 +67,7 @@ func (suite *HostnameConfigSuite) TestDefaultStableHostname() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineFeatures: &v1alpha1.FeaturesConfig{ - StableHostname: new(true), + StableHostname: new(true), //nolint:staticcheck // testing deprecated field }, }, }, @@ -113,11 +113,11 @@ func (suite *HostnameConfigSuite) TestLegacyMachineConfiguration() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - NetworkHostname: "foo", + NetworkHostname: "foo", //nolint:staticcheck // legacy config }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, diff --git a/internal/app/machined/pkg/controllers/network/link_config_test.go b/internal/app/machined/pkg/controllers/network/link_config_test.go index cb4947c6646..978d3ab7d98 100644 --- a/internal/app/machined/pkg/controllers/network/link_config_test.go +++ b/internal/app/machined/pkg/controllers/network/link_config_test.go @@ -94,7 +94,7 @@ func (suite *LinkConfigSuite) TestMachineConfiguration() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - NetworkInterfaces: []*v1alpha1.Device{ + NetworkInterfaces: []*v1alpha1.Device{ //nolint:staticcheck // legacy config { DeviceInterface: "eth0", DeviceVlans: []*v1alpha1.Vlan{ @@ -207,7 +207,7 @@ func (suite *LinkConfigSuite) TestMachineConfiguration() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -354,7 +354,7 @@ func (suite *LinkConfigSuite) TestMachineConfigurationWithAliases() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - NetworkInterfaces: []*v1alpha1.Device{ + NetworkInterfaces: []*v1alpha1.Device{ //nolint:staticcheck // legacy config { DeviceInterface: "enx0123", DeviceVlans: []*v1alpha1.Vlan{ @@ -383,7 +383,7 @@ func (suite *LinkConfigSuite) TestMachineConfigurationWithAliases() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -930,7 +930,7 @@ func (suite *LinkConfigSuite) TestDefaultUp() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - NetworkInterfaces: []*v1alpha1.Device{ + NetworkInterfaces: []*v1alpha1.Device{ //nolint:staticcheck // legacy config { DeviceInterface: "eth0", DeviceVlans: []*v1alpha1.Vlan{ @@ -961,7 +961,7 @@ func (suite *LinkConfigSuite) TestDefaultUp() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, diff --git a/internal/app/machined/pkg/controllers/network/operator_config_test.go b/internal/app/machined/pkg/controllers/network/operator_config_test.go index e167bfb0527..880e9c423ea 100644 --- a/internal/app/machined/pkg/controllers/network/operator_config_test.go +++ b/internal/app/machined/pkg/controllers/network/operator_config_test.go @@ -204,7 +204,7 @@ func (suite *OperatorConfigSuite) TestMachineConfigurationDHCP4() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - NetworkInterfaces: []*v1alpha1.Device{ + NetworkInterfaces: []*v1alpha1.Device{ //nolint:staticcheck // legacy config { DeviceInterface: "eth0", }, @@ -251,7 +251,7 @@ func (suite *OperatorConfigSuite) TestMachineConfigurationDHCP4() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -315,7 +315,7 @@ func (suite *OperatorConfigSuite) TestMachineConfigurationDHCP6() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - NetworkInterfaces: []*v1alpha1.Device{ + NetworkInterfaces: []*v1alpha1.Device{ //nolint:staticcheck // legacy config { DeviceInterface: "eth1", DeviceDHCP: new(true), @@ -342,7 +342,7 @@ func (suite *OperatorConfigSuite) TestMachineConfigurationDHCP6() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -500,7 +500,7 @@ func (suite *OperatorConfigSuite) TestMachineConfigurationWithAliases() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - NetworkInterfaces: []*v1alpha1.Device{ + NetworkInterfaces: []*v1alpha1.Device{ //nolint:staticcheck // legacy config { DeviceInterface: "enx0123", }, @@ -547,7 +547,7 @@ func (suite *OperatorConfigSuite) TestMachineConfigurationWithAliases() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, diff --git a/internal/app/machined/pkg/controllers/network/operator_vip_config_test.go b/internal/app/machined/pkg/controllers/network/operator_vip_config_test.go index e0ffc61d170..be3540e4e5a 100644 --- a/internal/app/machined/pkg/controllers/network/operator_vip_config_test.go +++ b/internal/app/machined/pkg/controllers/network/operator_vip_config_test.go @@ -63,7 +63,7 @@ func (suite *OperatorVIPConfigSuite) TestMachineConfigurationLegacyVIP() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - NetworkInterfaces: []*v1alpha1.Device{ + NetworkInterfaces: []*v1alpha1.Device{ //nolint:staticcheck // legacy config { DeviceInterface: "eth1", DeviceDHCP: new(true), @@ -101,7 +101,7 @@ func (suite *OperatorVIPConfigSuite) TestMachineConfigurationLegacyVIP() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, diff --git a/internal/app/machined/pkg/controllers/network/resolver_config_test.go b/internal/app/machined/pkg/controllers/network/resolver_config_test.go index 2c2f022df59..31a2baa72be 100644 --- a/internal/app/machined/pkg/controllers/network/resolver_config_test.go +++ b/internal/app/machined/pkg/controllers/network/resolver_config_test.go @@ -71,7 +71,7 @@ func (suite *ResolverConfigSuite) TestWithHostnameStatus() { MachineNetwork: &v1alpha1.NetworkConfig{}, //nolint:staticcheck // legacy config }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, @@ -170,12 +170,12 @@ func (suite *ResolverConfigSuite) TestMachineConfigurationLegacy() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - NameServers: []string{"2.2.2.2", "3.3.3.3"}, - Searches: []string{"example.com", "example.org"}, + NameServers: []string{"2.2.2.2", "3.3.3.3"}, //nolint:staticcheck // legacy config + Searches: []string{"example.com", "example.org"}, //nolint:staticcheck // legacy config }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, diff --git a/internal/app/machined/pkg/controllers/network/route_config_test.go b/internal/app/machined/pkg/controllers/network/route_config_test.go index ea31308c498..d8c980c5277 100644 --- a/internal/app/machined/pkg/controllers/network/route_config_test.go +++ b/internal/app/machined/pkg/controllers/network/route_config_test.go @@ -109,7 +109,7 @@ func (suite *RouteConfigSuite) TestMachineConfigurationLegacy() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - NetworkInterfaces: []*v1alpha1.Device{ + NetworkInterfaces: []*v1alpha1.Device{ //nolint:staticcheck // legacy config { DeviceInterface: "eth3", DeviceAddresses: []string{"192.168.0.24/28"}, @@ -176,7 +176,7 @@ func (suite *RouteConfigSuite) TestMachineConfigurationLegacy() { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, diff --git a/internal/app/machined/pkg/controllers/network/timeserver_config_test.go b/internal/app/machined/pkg/controllers/network/timeserver_config_test.go index 8597d68c5bf..7d50ff5fc98 100644 --- a/internal/app/machined/pkg/controllers/network/timeserver_config_test.go +++ b/internal/app/machined/pkg/controllers/network/timeserver_config_test.go @@ -76,12 +76,12 @@ func (suite *TimeServerConfigSuite) TestMachineConfigurationLegacy() { &v1alpha1.Config{ ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ - MachineTime: &v1alpha1.TimeConfig{ + MachineTime: &v1alpha1.TimeConfig{ //nolint:staticcheck // testing deprecated field TimeServers: []string{"za.pool.ntp.org", "pool.ntp.org"}, }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, diff --git a/internal/app/machined/pkg/controllers/runtime/kernel_param_config_test.go b/internal/app/machined/pkg/controllers/runtime/kernel_param_config_test.go index 0ba6f7484c8..764dcd9822a 100644 --- a/internal/app/machined/pkg/controllers/runtime/kernel_param_config_test.go +++ b/internal/app/machined/pkg/controllers/runtime/kernel_param_config_test.go @@ -37,10 +37,10 @@ func (suite *KernelParamConfigSuite) TestReconcileConfig() { &v1alpha1.Config{ ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ - MachineSysctls: map[string]string{ + MachineSysctls: map[string]string{ //nolint:staticcheck // testing deprecated field fsFileMax: value, }, - MachineSysfs: map[string]string{ + MachineSysfs: map[string]string{ //nolint:staticcheck // testing deprecated field fsFileMax: valueSysfs, }, }, diff --git a/internal/app/machined/pkg/controllers/secrets/kubelet_test.go b/internal/app/machined/pkg/controllers/secrets/kubelet_test.go index 27d9b61bfe8..5f82c0def17 100644 --- a/internal/app/machined/pkg/controllers/secrets/kubelet_test.go +++ b/internal/app/machined/pkg/controllers/secrets/kubelet_test.go @@ -52,12 +52,12 @@ func (suite *KubeletSuite) TestReconcile() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, }, - ClusterCA: k8sCA, + ClusterCA: k8sCA, //nolint:staticcheck // testing deprecated field BootstrapToken: "abc.def", }, }, @@ -90,12 +90,12 @@ func (suite *KubeletSuite) TestReconcileKubePrism() { ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{}, ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, }, - ClusterCA: k8sCA, + ClusterCA: k8sCA, //nolint:staticcheck // testing deprecated field BootstrapToken: "abc.def", }, } diff --git a/internal/app/machined/pkg/controllers/time/sync_test.go b/internal/app/machined/pkg/controllers/time/sync_test.go index 4f6f73b8a5b..50969cac582 100644 --- a/internal/app/machined/pkg/controllers/time/sync_test.go +++ b/internal/app/machined/pkg/controllers/time/sync_test.go @@ -98,7 +98,7 @@ func (suite *SyncSuite) TestReconcileSyncDisabled() { &v1alpha1.Config{ ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ - MachineTime: &v1alpha1.TimeConfig{ + MachineTime: &v1alpha1.TimeConfig{ //nolint:staticcheck // testing deprecated field TimeDisabled: new(true), }, }, @@ -260,7 +260,7 @@ func (suite *SyncSuite) TestReconcileSyncBootTimeout() { &v1alpha1.Config{ ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ - MachineTime: &v1alpha1.TimeConfig{ + MachineTime: &v1alpha1.TimeConfig{ //nolint:staticcheck // testing deprecated field TimeBootTimeout: 5 * time.Second, }, }, @@ -287,7 +287,7 @@ func (suite *SyncSuite) TestReconcileSyncBootTimeoutKeptAcrossSyncerRestart() { &v1alpha1.Config{ ConfigVersion: "v1alpha1", MachineConfig: &v1alpha1.MachineConfig{ - MachineTime: &v1alpha1.TimeConfig{ + MachineTime: &v1alpha1.TimeConfig{ //nolint:staticcheck // testing deprecated field TimeBootTimeout: time.Second, }, }, diff --git a/internal/app/machined/pkg/runtime/v1alpha1/platform/alibabacloud/alibabacloud.go b/internal/app/machined/pkg/runtime/v1alpha1/platform/alibabacloud/alibabacloud.go index a2324b451ac..764d6dfbf08 100644 --- a/internal/app/machined/pkg/runtime/v1alpha1/platform/alibabacloud/alibabacloud.go +++ b/internal/app/machined/pkg/runtime/v1alpha1/platform/alibabacloud/alibabacloud.go @@ -157,7 +157,7 @@ func (a *Alibabacloud) ParseMetadata(metadata *MetadataConfig) (*runtime.Platfor } networkConfig.Resolvers = append(networkConfig.Resolvers, network.ResolverSpecSpec{ - DNSServers: dnsIPs, + DNSServers: dnsIPs, //nolint:staticcheck // legacy resolver field ConfigLayer: network.ConfigPlatform, }) } diff --git a/internal/integration/base/k8s.go b/internal/integration/base/k8s.go index 379dc00d361..4efc64549fe 100644 --- a/internal/integration/base/k8s.go +++ b/internal/integration/base/k8s.go @@ -779,12 +779,12 @@ func (k8sSuite *K8sSuite) WaitForResource(ctx context.Context, namespace, group, fieldSelector := fields.OneTermEqualSelector("metadata.name", resourceName).String() lw := &cache.ListWatch{ - ListFunc: func(options metav1.ListOptions) (runtime.Object, error) { + ListFunc: func(options metav1.ListOptions) (runtime.Object, error) { //nolint:staticcheck // deprecated client-go ListWatch, migrate to ListWithContext options.FieldSelector = fieldSelector return dr.List(ctx, options) }, - WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) { + WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) { //nolint:staticcheck // deprecated client-go ListWatch, migrate to WatchWithContext options.FieldSelector = fieldSelector return dr.Watch(ctx, options) @@ -1054,12 +1054,12 @@ func (k8sSuite *K8sSuite) DeleteManifests(ctx context.Context, manifests []unstr // wait for the object to be deleted fieldSelector := fields.OneTermEqualSelector("metadata.name", obj.GetName()).String() lw := &cache.ListWatch{ - ListFunc: func(options metav1.ListOptions) (runtime.Object, error) { + ListFunc: func(options metav1.ListOptions) (runtime.Object, error) { //nolint:staticcheck // deprecated client-go ListWatch, migrate to ListWithContext options.FieldSelector = fieldSelector return dr.List(ctx, options) }, - WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) { + WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) { //nolint:staticcheck // deprecated client-go ListWatch, migrate to WatchWithContext options.FieldSelector = fieldSelector return dr.Watch(ctx, options) diff --git a/internal/integration/k8s/constants.go b/internal/integration/k8s/constants.go index c52ec9b697d..6001bd6b598 100644 --- a/internal/integration/k8s/constants.go +++ b/internal/integration/k8s/constants.go @@ -15,14 +15,14 @@ const ( // Starting with Rook v1.20 the CSI drivers are no longer deployed by the operator chart and // have to be installed separately via the ceph-csi-drivers chart. // renovate: datasource=helm versioning=helm depName=ceph-csi-drivers registryUrl=https://ceph.github.io/ceph-csi-operator - CephCSIDriversHelmChartVersion = "v1.0.4" + CephCSIDriversHelmChartVersion = "1.0.5" // LongHornHelmChartVersion is the version of the Longhorn Helm chart to use. // renovate: datasource=helm versioning=helm depName=longhorn registryUrl=https://charts.longhorn.io LongHornHelmChartVersion = "1.12.0" // OpenEBSChartVersion is the version of the OpenEBS Helm chart to use. // renovate: datasource=helm versioning=helm depName=openebs registryUrl=https://openebs.github.io/openebs - OpenEBSChartVersion = "4.5.1" + OpenEBSChartVersion = "4.6.1" // TridentOperatorChartVersion is the version of the NetApp Trident Operator Helm chart to use. // renovate: datasource=helm versioning=helm depName=trident-operator registryUrl=https://netapp.github.io/trident-helm-chart - TridentOperatorChartVersion = "100.2606.0" + TridentOperatorChartVersion = "100.2606.1" ) diff --git a/internal/pkg/containers/image/resolver_test.go b/internal/pkg/containers/image/resolver_test.go index c26517a0176..94ef76884e8 100644 --- a/internal/pkg/containers/image/resolver_test.go +++ b/internal/pkg/containers/image/resolver_test.go @@ -444,7 +444,7 @@ func (suite *ResolverSuite) TestRegistryHosts() { resp := &http.Response{} resp.Request = req resp.Header = http.Header{} - resp.Header.Add("Www-Authenticate", "Basic realm=\"Access to the staging site\", charset=\"UTF-8\"") + resp.Header.Add("WWW-Authenticate", "Basic realm=\"Access to the staging site\", charset=\"UTF-8\"") suite.Require().NoError(registryHosts[0].Authorizer.AddResponses(context.Background(), []*http.Response{resp})) suite.Require().NoError(registryHosts[0].Authorizer.Authorize(context.Background(), req)) diff --git a/internal/pkg/environment/environment_test.go b/internal/pkg/environment/environment_test.go index bae151ce172..0f750004110 100644 --- a/internal/pkg/environment/environment_test.go +++ b/internal/pkg/environment/environment_test.go @@ -71,7 +71,7 @@ func TestGet(t *testing.T) { cfg, err = container.New(&v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ - MachineEnv: test.cfg, + MachineEnv: test.cfg, //nolint:staticcheck // testing deprecated field }, }) require.NoError(t, err) diff --git a/pkg/archiver/untar_test.go b/pkg/archiver/untar_test.go index 26cf241b163..17e5479957e 100644 --- a/pkg/archiver/untar_test.go +++ b/pkg/archiver/untar_test.go @@ -79,7 +79,7 @@ func TestUntar(t *testing.T) { header: tar.Header{ Name: "file.txt", Mode: 0o644, - Xattrs: map[string]string{"security.selinux": "test_t"}, + Xattrs: map[string]string{"security.selinux": "test_t"}, //nolint:staticcheck // testing legacy tar xattr header }, payload: []byte("xattrs"), }, diff --git a/pkg/download/download.go b/pkg/download/download.go index 26d9e41ec51..762f8548fc5 100644 --- a/pkg/download/download.go +++ b/pkg/download/download.go @@ -238,7 +238,7 @@ func download(req *http.Request, options *downloadOptions) (data []byte, err err d := (&net.Dialer{ Timeout: 30 * time.Second, KeepAlive: 30 * time.Second, - DualStack: true, + DualStack: true, //nolint:staticcheck // no-op since Go 1.12, kept for clarity LocalAddr: localTCPAddr, }).DialContext diff --git a/pkg/kubeconfig/generate_test.go b/pkg/kubeconfig/generate_test.go index e5e40403a2f..92f42e02d82 100644 --- a/pkg/kubeconfig/generate_test.go +++ b/pkg/kubeconfig/generate_test.go @@ -35,12 +35,12 @@ func (suite *GenerateSuite) TestGenerateAdmin() { cfg := &v1alpha1.Config{ ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterName: "talos1", - ClusterCA: &x509.PEMEncodedCertificateAndKey{ + ClusterName: "talos1", //nolint:staticcheck // testing deprecated field + ClusterCA: &x509.PEMEncodedCertificateAndKey{ //nolint:staticcheck // testing deprecated field Crt: ca.CrtPEM, Key: ca.KeyPEM, }, - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing deprecated field Endpoint: &v1alpha1.Endpoint{ URL: u, }, diff --git a/pkg/machinery/api/machine/image.pb.go b/pkg/machinery/api/machine/image.pb.go index 5f5cbe04baf..65e67e10619 100644 --- a/pkg/machinery/api/machine/image.pb.go +++ b/pkg/machinery/api/machine/image.pb.go @@ -647,9 +647,9 @@ type ImageServiceVerifyRequest struct { // Image reference to verify. // // The image reference could be either in: - // - the digest form (e.g. "docker.io/library/nginx@sha256:abc123...") to ensure that the exact image is verified. - // - the tag form (e.g. "docker.io/library/nginx:latest") to verify the image currently pointed by the tag, and the resolved - // digested will be returned in the response. + // * the digest form (e.g. "docker.io/library/nginx@sha256:abc123...") to ensure that the exact image is verified. + // * the tag form (e.g. "docker.io/library/nginx:latest") to verify the image currently pointed by the tag, and the resolved + // digested will be returned in the response. // // Any other format will cause the error. ImageRef string `protobuf:"bytes,1,opt,name=image_ref,json=imageRef,proto3" json:"image_ref,omitempty"` diff --git a/pkg/machinery/client/reply_test.go b/pkg/machinery/client/reply_test.go index 0190b186252..6cddf4ae6c7 100644 --- a/pkg/machinery/client/reply_test.go +++ b/pkg/machinery/client/reply_test.go @@ -21,14 +21,14 @@ func TestFilterMessages(t *testing.T) { Messages: []*common.Data{ { Metadata: &common.Metadata{ //nolint:staticcheck // testing legacy behavior - Hostname: "host1", + Hostname: "host1", //nolint:staticcheck // testing legacy behavior }, Bytes: []byte("abc"), }, { Metadata: &common.Metadata{ //nolint:staticcheck // testing legacy behavior - Hostname: "host2", - Error: "something wrong", + Hostname: "host2", //nolint:staticcheck // testing legacy behavior + Error: "something wrong", //nolint:staticcheck // testing legacy behavior }, }, { @@ -36,8 +36,8 @@ func TestFilterMessages(t *testing.T) { }, { Metadata: &common.Metadata{ //nolint:staticcheck // testing legacy behavior - Hostname: "host4", - Error: "even more wrong", + Hostname: "host4", //nolint:staticcheck // testing legacy behavior + Error: "even more wrong", //nolint:staticcheck // testing legacy behavior }, }, }, @@ -50,7 +50,7 @@ func TestFilterMessages(t *testing.T) { Messages: []*common.Data{ { Metadata: &common.Metadata{ //nolint:staticcheck // testing legacy behavior - Hostname: "host1", + Hostname: "host1", //nolint:staticcheck // testing legacy behavior }, Bytes: []byte("abc"), }, @@ -74,14 +74,14 @@ func TestFilterMessagesOnlyErrors(t *testing.T) { Messages: []*common.Data{ { Metadata: &common.Metadata{ //nolint:staticcheck // testing legacy behavior - Hostname: "host2", - Error: "something wrong", + Hostname: "host2", //nolint:staticcheck // testing legacy behavior + Error: "something wrong", //nolint:staticcheck // testing legacy behavior }, }, { Metadata: &common.Metadata{ //nolint:staticcheck // testing legacy behavior - Hostname: "host4", - Error: "even more wrong", + Hostname: "host4", //nolint:staticcheck // testing legacy behavior + Error: "even more wrong", //nolint:staticcheck // testing legacy behavior }, }, }, @@ -97,9 +97,9 @@ func TestFilterMessagesGRPCStatus(t *testing.T) { Messages: []*common.Data{ { Metadata: &common.Metadata{ //nolint:staticcheck // testing legacy behavior - Hostname: "host2", - Error: "should be ignored", - Status: &status.Status{ + Hostname: "host2", //nolint:staticcheck // testing legacy behavior + Error: "should be ignored", //nolint:staticcheck // testing legacy behavior + Status: &status.Status{ //nolint:staticcheck // testing legacy behavior Code: int32(codes.Aborted), Message: "something aborted", }, @@ -107,9 +107,9 @@ func TestFilterMessagesGRPCStatus(t *testing.T) { }, { Metadata: &common.Metadata{ //nolint:staticcheck // testing legacy behavior - Hostname: "host4", - Error: "should be ignored", - Status: &status.Status{ + Hostname: "host4", //nolint:staticcheck // testing legacy behavior + Error: "should be ignored", //nolint:staticcheck // testing legacy behavior + Status: &status.Status{ //nolint:staticcheck // testing legacy behavior Code: int32(codes.Unknown), Message: "something went wrong", }, diff --git a/pkg/machinery/config/container/container_test.go b/pkg/machinery/config/container/container_test.go index 227e3c5237f..cb437a73865 100644 --- a/pkg/machinery/config/container/container_test.go +++ b/pkg/machinery/config/container/container_test.go @@ -41,7 +41,7 @@ func TestNew(t *testing.T) { }, }, ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterSecret: "topsecret", + ClusterSecret: "topsecret", //nolint:staticcheck // legacy config }, } @@ -239,7 +239,7 @@ func TestUdevRulesConfig(t *testing.T) { v1alpha1Cfg := &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ MachineUdev: &v1alpha1.UdevConfig{ //nolint:staticcheck // legacy config - UdevRules: []string{"legacy-rule"}, + UdevRules: []string{"legacy-rule"}, //nolint:staticcheck // legacy config }, }, } @@ -296,10 +296,10 @@ func TestDiscoveryServiceConfigs(t *testing.T) { legacyEnabled := &v1alpha1.Config{ ClusterConfig: &v1alpha1.ClusterConfig{ ClusterDiscoveryConfig: &v1alpha1.ClusterDiscoveryConfig{ //nolint:staticcheck // legacy config - DiscoveryEnabled: new(true), + DiscoveryEnabled: new(true), //nolint:staticcheck // legacy config DiscoveryRegistries: v1alpha1.DiscoveryRegistriesConfig{ //nolint:staticcheck // legacy config RegistryService: v1alpha1.RegistryServiceConfig{ //nolint:staticcheck // legacy config - RegistryEndpoint: "https://legacy.discovery.test/", + RegistryEndpoint: "https://legacy.discovery.test/", //nolint:staticcheck // legacy config }, }, }, @@ -310,7 +310,7 @@ func TestDiscoveryServiceConfigs(t *testing.T) { legacyDisabled := &v1alpha1.Config{ ClusterConfig: &v1alpha1.ClusterConfig{ ClusterDiscoveryConfig: &v1alpha1.ClusterDiscoveryConfig{ //nolint:staticcheck // legacy config - DiscoveryEnabled: new(false), + DiscoveryEnabled: new(false), //nolint:staticcheck // legacy config }, }, } diff --git a/pkg/machinery/config/container/validate_test.go b/pkg/machinery/config/container/validate_test.go index 80f0c699a6e..93335ab5fd1 100644 --- a/pkg/machinery/config/container/validate_test.go +++ b/pkg/machinery/config/container/validate_test.go @@ -42,7 +42,7 @@ func TestValidateAsClient(t *testing.T) { v1alpha1Cfg := &v1alpha1.Config{ ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing legacy features Endpoint: &v1alpha1.Endpoint{ URL: must.Value(url.Parse("https://localhost:6443"))(t), }, @@ -120,7 +120,7 @@ func TestCrossValidateEncryption(t *testing.T) { v1alpha1Cfg := &v1alpha1.Config{ ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing legacy features Endpoint: &v1alpha1.Endpoint{ URL: must.Value(url.Parse("https://localhost:6443"))(t), }, @@ -131,7 +131,7 @@ func TestCrossValidateEncryption(t *testing.T) { MachineCA: &x509.PEMEncodedCertificateAndKey{ Crt: []byte("cert"), }, - MachineSystemDiskEncryption: &v1alpha1.SystemDiskEncryptionConfig{ + MachineSystemDiskEncryption: &v1alpha1.SystemDiskEncryptionConfig{ //nolint:staticcheck // testing legacy features EphemeralPartition: &v1alpha1.EncryptionConfig{ EncryptionKeys: []*v1alpha1.EncryptionKey{ { @@ -231,7 +231,7 @@ func TestValidateContainer(t *testing.T) { v1alpha1Cfg := &v1alpha1.Config{ ClusterConfig: &v1alpha1.ClusterConfig{ - ControlPlane: &v1alpha1.ControlPlaneConfig{ + ControlPlane: &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // testing legacy features Endpoint: &v1alpha1.Endpoint{ URL: must.Value(url.Parse("https://localhost:6443"))(t), }, diff --git a/pkg/machinery/config/generate/init.go b/pkg/machinery/config/generate/init.go index e47a0654599..0e2ab5bbc42 100644 --- a/pkg/machinery/config/generate/init.go +++ b/pkg/machinery/config/generate/init.go @@ -28,13 +28,13 @@ func (in *Input) init() ([]config.Document, error) { v1alpha1Config := &v1alpha1.Config{ ConfigVersion: "v1alpha1", ConfigDebug: new(in.Options.Debug), - ConfigPersist: new(true), + ConfigPersist: new(true), //nolint:staticcheck // legacy configuration } machine := &v1alpha1.MachineConfig{ MachineType: machine.TypeInit.String(), MachineKubelet: nilIf(in.Options.VersionContract.MultidocKubernetesConfigSupported(), &v1alpha1.KubeletConfig{ //nolint:staticcheck // legacy configuration - KubeletImage: fmt.Sprintf("%s:v%s", constants.KubeletImage, in.KubernetesVersion), + KubeletImage: fmt.Sprintf("%s:v%s", constants.KubeletImage, in.KubernetesVersion), //nolint:staticcheck // legacy configuration }), MachineCA: in.Options.SecretsBundle.Certs.OS, MachineCertSANs: in.AdditionalMachineCertSANs, @@ -43,10 +43,10 @@ func (in *Input) init() ([]config.Document, error) { InstallDisk: in.Options.InstallDisk, InstallImage: in.Options.InstallImage, InstallWipe: new(false), - InstallExtraKernelArgs: in.Options.InstallExtraKernelArgs, + InstallExtraKernelArgs: in.Options.InstallExtraKernelArgs, //nolint:staticcheck // legacy configuration InstallGrubUseUKICmdline: nilIf(!in.Options.VersionContract.GrubUseUKICmdlineDefault(), new(true)), //nolint:staticcheck }), - MachineDisks: in.Options.MachineDisks, + MachineDisks: in.Options.MachineDisks, //nolint:staticcheck // legacy configuration MachineFeatures: &v1alpha1.FeaturesConfig{}, } @@ -134,15 +134,15 @@ func (in *Input) init() ([]config.Document, error) { ClusterID: nilIf(in.Options.VersionContract.DiscoveryIdentityMultidocConfig(), in.Options.SecretsBundle.Cluster.ID), //nolint:staticcheck // legacy configuration ClusterName: nilIf(in.Options.VersionContract.DiscoveryIdentityMultidocConfig(), in.ClusterName), //nolint:staticcheck // legacy configuration ClusterSecret: nilIf(in.Options.VersionContract.DiscoveryIdentityMultidocConfig(), in.Options.SecretsBundle.Cluster.Secret), //nolint:staticcheck // legacy configuration - ControlPlane: nilIf(in.Options.VersionContract.MultidocKubernetesConfigSupported(), &v1alpha1.ControlPlaneConfig{ + ControlPlane: nilIf(in.Options.VersionContract.MultidocKubernetesConfigSupported(), &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // legacy configuration Endpoint: &v1alpha1.Endpoint{URL: controlPlaneURL}, - LocalAPIServerPort: in.Options.LocalAPIServerPort, + LocalAPIServerPort: in.Options.LocalAPIServerPort, //nolint:staticcheck // legacy configuration }), - APIServerConfig: nilIf(in.Options.VersionContract.MultidocKubernetesConfigSupported(), &v1alpha1.APIServerConfig{ + APIServerConfig: nilIf(in.Options.VersionContract.MultidocKubernetesConfigSupported(), &v1alpha1.APIServerConfig{ //nolint:staticcheck // legacy configuration ExtraCertSANs: certSANs, ContainerImage: fmt.Sprintf("%s:v%s", constants.KubernetesAPIServerImage, in.KubernetesVersion), - AdmissionControlConfig: admissionControlConfig, - AuditPolicyConfig: auditPolicyConfig, + AdmissionControlConfig: admissionControlConfig, //nolint:staticcheck // legacy configuration + AuditPolicyConfig: auditPolicyConfig, //nolint:staticcheck // legacy configuration }), ControllerManagerConfig: nilIf(in.Options.VersionContract.MultidocKubernetesConfigSupported(), &v1alpha1.ControllerManagerConfig{ //nolint:staticcheck // legacy configuration ContainerImage: fmt.Sprintf("%s:v%s", constants.KubernetesControllerManagerImage, in.KubernetesVersion), @@ -156,7 +156,7 @@ func (in *Input) init() ([]config.Document, error) { EtcdConfig: nilIf(in.Options.VersionContract.EtcdDisabled(), &v1alpha1.EtcdConfig{ RootCA: in.Options.SecretsBundle.Certs.Etcd, }), - ClusterNetwork: nilIf( + ClusterNetwork: nilIf( //nolint:staticcheck // legacy configuration in.Options.VersionContract.MultidocKubernetesConfigSupported(), &v1alpha1.ClusterNetworkConfig{ DNSDomain: in.Options.DNSDomain, @@ -164,9 +164,9 @@ func (in *Input) init() ([]config.Document, error) { ServiceSubnet: in.ServiceNet, }, ), - ClusterCA: nilIf(in.Options.VersionContract.MultidocKubernetesConfigSupported(), in.Options.SecretsBundle.Certs.K8s), - ClusterAggregatorCA: nilIf(in.Options.VersionContract.MultidocKubernetesConfigSupported(), in.Options.SecretsBundle.Certs.K8sAggregator), - ClusterServiceAccount: nilIf(in.Options.VersionContract.MultidocKubernetesConfigSupported(), in.Options.SecretsBundle.Certs.K8sServiceAccount), + ClusterCA: nilIf(in.Options.VersionContract.MultidocKubernetesConfigSupported(), in.Options.SecretsBundle.Certs.K8s), //nolint:staticcheck // legacy configuration + ClusterAggregatorCA: nilIf(in.Options.VersionContract.MultidocKubernetesConfigSupported(), in.Options.SecretsBundle.Certs.K8sAggregator), //nolint:staticcheck // legacy configuration + ClusterServiceAccount: nilIf(in.Options.VersionContract.MultidocKubernetesConfigSupported(), in.Options.SecretsBundle.Certs.K8sServiceAccount), //nolint:staticcheck // legacy configuration BootstrapToken: nilIf(in.Options.VersionContract.KubernetesDisabled(), in.Options.SecretsBundle.Secrets.BootstrapToken), } @@ -197,7 +197,7 @@ func (in *Input) init() ([]config.Document, error) { if in.Options.DiscoveryEnabled != nil && !in.Options.VersionContract.DiscoveryServiceMultidocConfig() { cluster.ClusterDiscoveryConfig = &v1alpha1.ClusterDiscoveryConfig{ //nolint:staticcheck // legacy configuration - DiscoveryEnabled: new(*in.Options.DiscoveryEnabled), + DiscoveryEnabled: new(*in.Options.DiscoveryEnabled), //nolint:staticcheck // legacy configuration } if in.Options.VersionContract.KubernetesDiscoveryBackendDisabled() { diff --git a/pkg/machinery/config/generate/worker.go b/pkg/machinery/config/generate/worker.go index 2d111fcad8f..67fabcff18f 100644 --- a/pkg/machinery/config/generate/worker.go +++ b/pkg/machinery/config/generate/worker.go @@ -25,7 +25,7 @@ func (in *Input) worker() ([]config.Document, error) { v1alpha1Config := &v1alpha1.Config{ ConfigVersion: "v1alpha1", ConfigDebug: new(in.Options.Debug), - ConfigPersist: new(true), + ConfigPersist: new(true), //nolint:staticcheck // legacy configuration } machine := &v1alpha1.MachineConfig{ @@ -33,10 +33,10 @@ func (in *Input) worker() ([]config.Document, error) { MachineToken: in.Options.SecretsBundle.TrustdInfo.Token, MachineCertSANs: in.AdditionalMachineCertSANs, MachineKubelet: nilIf(in.Options.VersionContract.MultidocKubernetesConfigSupported(), &v1alpha1.KubeletConfig{ //nolint:staticcheck // legacy configuration - KubeletImage: fmt.Sprintf("%s:v%s", constants.KubeletImage, in.KubernetesVersion), + KubeletImage: fmt.Sprintf("%s:v%s", constants.KubeletImage, in.KubernetesVersion), //nolint:staticcheck // legacy configuration }), MachineCA: &x509.PEMEncodedCertificateAndKey{Crt: in.Options.SecretsBundle.Certs.OS.Crt}, - MachineDisks: in.Options.MachineDisks, + MachineDisks: in.Options.MachineDisks, //nolint:staticcheck // legacy configuration MachineFeatures: &v1alpha1.FeaturesConfig{}, } @@ -51,7 +51,7 @@ func (in *Input) worker() ([]config.Document, error) { InstallDisk: in.Options.InstallDisk, InstallImage: in.Options.InstallImage, InstallWipe: new(false), - InstallExtraKernelArgs: in.Options.InstallExtraKernelArgs, + InstallExtraKernelArgs: in.Options.InstallExtraKernelArgs, //nolint:staticcheck // legacy configuration } if in.Options.VersionContract.GrubUseUKICmdlineDefault() { @@ -111,10 +111,10 @@ func (in *Input) worker() ([]config.Document, error) { ClusterID: nilIf(in.Options.VersionContract.DiscoveryIdentityMultidocConfig(), in.Options.SecretsBundle.Cluster.ID), //nolint:staticcheck // legacy configuration ClusterSecret: nilIf(in.Options.VersionContract.DiscoveryIdentityMultidocConfig(), in.Options.SecretsBundle.Cluster.Secret), //nolint:staticcheck // legacy configuration BootstrapToken: in.Options.SecretsBundle.Secrets.BootstrapToken, - ControlPlane: nilIf(in.Options.VersionContract.MultidocKubernetesConfigSupported(), &v1alpha1.ControlPlaneConfig{ + ControlPlane: nilIf(in.Options.VersionContract.MultidocKubernetesConfigSupported(), &v1alpha1.ControlPlaneConfig{ //nolint:staticcheck // legacy configuration Endpoint: &v1alpha1.Endpoint{URL: controlPlaneURL}, }), - ClusterNetwork: nilIf( + ClusterNetwork: nilIf( //nolint:staticcheck // legacy configuration in.Options.VersionContract.MultidocKubernetesConfigSupported(), &v1alpha1.ClusterNetworkConfig{ DNSDomain: in.Options.DNSDomain, @@ -137,7 +137,7 @@ func (in *Input) worker() ([]config.Document, error) { if in.Options.DiscoveryEnabled != nil && !in.Options.VersionContract.DiscoveryServiceMultidocConfig() { cluster.ClusterDiscoveryConfig = &v1alpha1.ClusterDiscoveryConfig{ //nolint:staticcheck // legacy configuration - DiscoveryEnabled: new(*in.Options.DiscoveryEnabled), + DiscoveryEnabled: new(*in.Options.DiscoveryEnabled), //nolint:staticcheck // legacy configuration } if in.Options.VersionContract.KubernetesDiscoveryBackendDisabled() { diff --git a/pkg/machinery/config/types/cluster/discovery_service_test.go b/pkg/machinery/config/types/cluster/discovery_service_test.go index 1223393f293..76fd5182ec9 100644 --- a/pkg/machinery/config/types/cluster/discovery_service_test.go +++ b/pkg/machinery/config/types/cluster/discovery_service_test.go @@ -197,7 +197,7 @@ func TestDiscoveryServiceConfigV1Alpha1ConflictValidate(t *testing.T) { v1alpha1Cfg: &v1alpha1.Config{ ClusterConfig: &v1alpha1.ClusterConfig{ ClusterDiscoveryConfig: &v1alpha1.ClusterDiscoveryConfig{ //nolint:staticcheck // testing legacy config conflict - DiscoveryEnabled: new(true), + DiscoveryEnabled: new(true), //nolint:staticcheck // testing legacy config conflict }, }, }, @@ -209,7 +209,7 @@ func TestDiscoveryServiceConfigV1Alpha1ConflictValidate(t *testing.T) { v1alpha1Cfg: &v1alpha1.Config{ ClusterConfig: &v1alpha1.ClusterConfig{ ClusterDiscoveryConfig: &v1alpha1.ClusterDiscoveryConfig{ //nolint:staticcheck // testing legacy config conflict - DiscoveryEnabled: new(false), + DiscoveryEnabled: new(false), //nolint:staticcheck // testing legacy config conflict }, }, }, diff --git a/pkg/machinery/config/types/cri/image_cache_test.go b/pkg/machinery/config/types/cri/image_cache_test.go index 876860a5c91..f292f180ea2 100644 --- a/pkg/machinery/config/types/cri/image_cache_test.go +++ b/pkg/machinery/config/types/cri/image_cache_test.go @@ -75,7 +75,7 @@ func TestImageCacheConfigV1Alpha1Conflict(t *testing.T) { v1alpha1Cfg: &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ MachineFeatures: &v1alpha1.FeaturesConfig{ - ImageCacheSupport: &v1alpha1.ImageCacheConfig{ + ImageCacheSupport: &v1alpha1.ImageCacheConfig{ //nolint:staticcheck // test deprecated compatibility CacheLocalEnabled: new(true), }, }, @@ -90,7 +90,7 @@ func TestImageCacheConfigV1Alpha1Conflict(t *testing.T) { v1alpha1Cfg: &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ MachineFeatures: &v1alpha1.FeaturesConfig{ - ImageCacheSupport: &v1alpha1.ImageCacheConfig{ + ImageCacheSupport: &v1alpha1.ImageCacheConfig{ //nolint:staticcheck // test deprecated compatibility CacheLocalEnabled: new(false), }, }, diff --git a/pkg/machinery/config/types/k8s/admission_control_test.go b/pkg/machinery/config/types/k8s/admission_control_test.go index 53fe918cc8e..e33791fa678 100644 --- a/pkg/machinery/config/types/k8s/admission_control_test.go +++ b/pkg/machinery/config/types/k8s/admission_control_test.go @@ -130,7 +130,7 @@ func TestKubeAdmissionControlConfigV1Alpha1Validate(t *testing.T) { v1alpha1Cfg: &v1alpha1.Config{ ClusterConfig: &v1alpha1.ClusterConfig{ APIServerConfig: &v1alpha1.APIServerConfig{ //nolint:staticcheck // testing deprecated field - AdmissionControlConfig: v1alpha1.AdmissionPluginConfigList{ + AdmissionControlConfig: v1alpha1.AdmissionPluginConfigList{ //nolint:staticcheck // testing deprecated field { PluginName: "PodSecurity", }, diff --git a/pkg/machinery/config/types/k8s/aggregator_ca_test.go b/pkg/machinery/config/types/k8s/aggregator_ca_test.go index ea51f348faf..6c87753a883 100644 --- a/pkg/machinery/config/types/k8s/aggregator_ca_test.go +++ b/pkg/machinery/config/types/k8s/aggregator_ca_test.go @@ -240,7 +240,7 @@ func TestKubeAggregatorCAConfigV1Alpha1Validate(t *testing.T) { name: "v1alpha1 with aggregator CA set", v1alpha1Cfg: &v1alpha1.Config{ ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterAggregatorCA: &x509.PEMEncodedCertificateAndKey{ + ClusterAggregatorCA: &x509.PEMEncodedCertificateAndKey{ //nolint:staticcheck // testing deprecated field Crt: []byte("foo"), Key: []byte("bar"), }, diff --git a/pkg/machinery/config/types/k8s/apiserver_ca_test.go b/pkg/machinery/config/types/k8s/apiserver_ca_test.go index 889d8cafd61..6fca6bd97f1 100644 --- a/pkg/machinery/config/types/k8s/apiserver_ca_test.go +++ b/pkg/machinery/config/types/k8s/apiserver_ca_test.go @@ -233,7 +233,7 @@ func TestKubeAPIServerCAConfigV1Alpha1Validate(t *testing.T) { name: "v1alpha1 with cluster CA set", v1alpha1Cfg: &v1alpha1.Config{ ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterCA: &x509.PEMEncodedCertificateAndKey{ + ClusterCA: &x509.PEMEncodedCertificateAndKey{ //nolint:staticcheck // testing deprecated field Crt: []byte("foo"), Key: []byte("bar"), }, diff --git a/pkg/machinery/config/types/k8s/audit_policy_test.go b/pkg/machinery/config/types/k8s/audit_policy_test.go index 7512d603f7f..6dee148ac0d 100644 --- a/pkg/machinery/config/types/k8s/audit_policy_test.go +++ b/pkg/machinery/config/types/k8s/audit_policy_test.go @@ -89,7 +89,7 @@ func TestKubeAuditPolicyConfigV1Alpha1Validate(t *testing.T) { v1alpha1Cfg: &v1alpha1.Config{ ClusterConfig: &v1alpha1.ClusterConfig{ APIServerConfig: &v1alpha1.APIServerConfig{ //nolint:staticcheck // testing deprecated field - AuditPolicyConfig: meta.Unstructured{ + AuditPolicyConfig: meta.Unstructured{ //nolint:staticcheck // testing deprecated field Object: map[string]any{ "apiVersion": "audit.k8s.io/v1", "kind": "Policy", diff --git a/pkg/machinery/config/types/k8s/authorization_test.go b/pkg/machinery/config/types/k8s/authorization_test.go index 693e9a9d606..1167e9f93f3 100644 --- a/pkg/machinery/config/types/k8s/authorization_test.go +++ b/pkg/machinery/config/types/k8s/authorization_test.go @@ -181,7 +181,7 @@ func TestKubeAuthorizerConfigV1Alpha1Validate(t *testing.T) { v1alpha1Cfg: &v1alpha1.Config{ ClusterConfig: &v1alpha1.ClusterConfig{ APIServerConfig: &v1alpha1.APIServerConfig{ //nolint:staticcheck // testing deprecated field - AdmissionControlConfig: v1alpha1.AdmissionPluginConfigList{ + AdmissionControlConfig: v1alpha1.AdmissionPluginConfigList{ //nolint:staticcheck // testing deprecated field { PluginName: "PodSecurity", }, diff --git a/pkg/machinery/config/types/k8s/controller_manager_test.go b/pkg/machinery/config/types/k8s/controller_manager_test.go index a355645eca5..7408d5b3b20 100644 --- a/pkg/machinery/config/types/k8s/controller_manager_test.go +++ b/pkg/machinery/config/types/k8s/controller_manager_test.go @@ -240,7 +240,7 @@ func TestKubeControllerManagerConfigV1Alpha1Validate(t *testing.T) { name: "v1alpha1 with machine control plane ControllerManager config set", v1alpha1Cfg: &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ - MachineControlPlane: &v1alpha1.MachineControlPlaneConfig{ + MachineControlPlane: &v1alpha1.MachineControlPlaneConfig{ //nolint:staticcheck // testing deprecated field MachineControllerManager: &v1alpha1.MachineControllerManagerConfig{}, //nolint:staticcheck // testing deprecated field }, }, diff --git a/pkg/machinery/config/types/k8s/etcd_encryption_test.go b/pkg/machinery/config/types/k8s/etcd_encryption_test.go index 41d382a0409..1f6543c095a 100644 --- a/pkg/machinery/config/types/k8s/etcd_encryption_test.go +++ b/pkg/machinery/config/types/k8s/etcd_encryption_test.go @@ -221,7 +221,7 @@ func TestKubeEtcdEncryptionConfigV1Alpha1Validate(t *testing.T) { name: "v1alpha1 with etcd secretbox encryption secret set", v1alpha1Cfg: &v1alpha1.Config{ ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterSecretboxEncryptionSecret: "foo", + ClusterSecretboxEncryptionSecret: "foo", //nolint:staticcheck // testing deprecated field }, }, @@ -231,7 +231,7 @@ func TestKubeEtcdEncryptionConfigV1Alpha1Validate(t *testing.T) { name: "v1alpha1 with etcd aescbc encryption secret set", v1alpha1Cfg: &v1alpha1.Config{ ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterAESCBCEncryptionSecret: "foo", + ClusterAESCBCEncryptionSecret: "foo", //nolint:staticcheck // testing deprecated field }, }, diff --git a/pkg/machinery/config/types/k8s/node_test.go b/pkg/machinery/config/types/k8s/node_test.go index c839fb19bba..3f2370e02a7 100644 --- a/pkg/machinery/config/types/k8s/node_test.go +++ b/pkg/machinery/config/types/k8s/node_test.go @@ -202,7 +202,7 @@ func TestKubeNodeConfigV1Alpha1ConflictValidate(t *testing.T) { v1alpha1Cfg: &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ MachineKubelet: &v1alpha1.KubeletConfig{ //nolint:staticcheck // legacy config - KubeletSkipNodeRegistration: new(true), + KubeletSkipNodeRegistration: new(true), //nolint:staticcheck // legacy config }, }, }, @@ -213,7 +213,7 @@ func TestKubeNodeConfigV1Alpha1ConflictValidate(t *testing.T) { v1alpha1Cfg: &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ MachineKubelet: &v1alpha1.KubeletConfig{ //nolint:staticcheck // legacy config - KubeletRegisterWithFQDN: new(true), + KubeletRegisterWithFQDN: new(true), //nolint:staticcheck // legacy config }, }, }, @@ -224,7 +224,7 @@ func TestKubeNodeConfigV1Alpha1ConflictValidate(t *testing.T) { v1alpha1Cfg: &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ MachineKubelet: &v1alpha1.KubeletConfig{ //nolint:staticcheck // testing legacy config conflict - KubeletNodeIP: &v1alpha1.KubeletNodeIPConfig{}, + KubeletNodeIP: &v1alpha1.KubeletNodeIPConfig{}, //nolint:staticcheck // testing legacy config conflict }, }, }, diff --git a/pkg/machinery/config/types/k8s/scheduler_test.go b/pkg/machinery/config/types/k8s/scheduler_test.go index 0331bc18e4a..f6bcf0f436c 100644 --- a/pkg/machinery/config/types/k8s/scheduler_test.go +++ b/pkg/machinery/config/types/k8s/scheduler_test.go @@ -264,7 +264,7 @@ func TestKubeSchedulerConfigV1Alpha1Validate(t *testing.T) { name: "v1alpha1 with machine control plane scheduler config set", v1alpha1Cfg: &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ - MachineControlPlane: &v1alpha1.MachineControlPlaneConfig{ + MachineControlPlane: &v1alpha1.MachineControlPlaneConfig{ //nolint:staticcheck // testing deprecated field MachineScheduler: &v1alpha1.MachineSchedulerConfig{}, //nolint:staticcheck // testing deprecated field }, }, diff --git a/pkg/machinery/config/types/k8s/service_account_test.go b/pkg/machinery/config/types/k8s/service_account_test.go index 41b524365b9..d347a3f269f 100644 --- a/pkg/machinery/config/types/k8s/service_account_test.go +++ b/pkg/machinery/config/types/k8s/service_account_test.go @@ -248,7 +248,7 @@ func TestKubeServiceAccountConfigV1Alpha1Validate(t *testing.T) { name: "v1alpha1 with cluster service account set", v1alpha1Cfg: &v1alpha1.Config{ ClusterConfig: &v1alpha1.ClusterConfig{ - ClusterServiceAccount: &x509.PEMEncodedKey{ + ClusterServiceAccount: &x509.PEMEncodedKey{ //nolint:staticcheck // testing deprecated field Key: []byte("foo"), }, }, diff --git a/pkg/machinery/config/types/network/hostname_test.go b/pkg/machinery/config/types/network/hostname_test.go index 2d1e5904afe..268c4eda500 100644 --- a/pkg/machinery/config/types/network/hostname_test.go +++ b/pkg/machinery/config/types/network/hostname_test.go @@ -182,7 +182,7 @@ func TestHostnameV1Alpha1Validate(t *testing.T) { v1alpha1Cfg: &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - NetworkHostname: "foo", + NetworkHostname: "foo", //nolint:staticcheck // legacy config }, }, }, @@ -195,7 +195,7 @@ func TestHostnameV1Alpha1Validate(t *testing.T) { v1alpha1Cfg: &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ MachineFeatures: &v1alpha1.FeaturesConfig{ - StableHostname: new(true), + StableHostname: new(true), //nolint:staticcheck // legacy config }, }, }, diff --git a/pkg/machinery/config/types/network/resolver_test.go b/pkg/machinery/config/types/network/resolver_test.go index 346515e9f2b..687e3ea45f0 100644 --- a/pkg/machinery/config/types/network/resolver_test.go +++ b/pkg/machinery/config/types/network/resolver_test.go @@ -250,7 +250,7 @@ func TestResolverV1Alpha1ConflictValidate(t *testing.T) { v1alpha1Cfg: &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - NameServers: []string{"1.1.1.1"}, + NameServers: []string{"1.1.1.1"}, //nolint:staticcheck // legacy config }, }, }, @@ -263,7 +263,7 @@ func TestResolverV1Alpha1ConflictValidate(t *testing.T) { v1alpha1Cfg: &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - Searches: []string{"cluster.org"}, + Searches: []string{"cluster.org"}, //nolint:staticcheck // legacy config }, }, }, @@ -276,7 +276,7 @@ func TestResolverV1Alpha1ConflictValidate(t *testing.T) { v1alpha1Cfg: &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ MachineNetwork: &v1alpha1.NetworkConfig{ //nolint:staticcheck // legacy config - NetworkDisableSearchDomain: new(true), + NetworkDisableSearchDomain: new(true), //nolint:staticcheck // legacy config }, }, }, diff --git a/pkg/machinery/config/types/network/time_sync_test.go b/pkg/machinery/config/types/network/time_sync_test.go index b84f8016f21..f3060ce0325 100644 --- a/pkg/machinery/config/types/network/time_sync_test.go +++ b/pkg/machinery/config/types/network/time_sync_test.go @@ -210,7 +210,7 @@ func TestTimeSyncV1Alpha1Validate(t *testing.T) { name: "v1alpha1 timeservers set", v1alpha1Cfg: &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ - MachineTime: &v1alpha1.TimeConfig{ + MachineTime: &v1alpha1.TimeConfig{ //nolint:staticcheck // legacy config TimeServers: []string{"za.pool.ntp.org"}, }, }, @@ -223,7 +223,7 @@ func TestTimeSyncV1Alpha1Validate(t *testing.T) { name: "v1alpha1 boot timeout set", v1alpha1Cfg: &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ - MachineTime: &v1alpha1.TimeConfig{ + MachineTime: &v1alpha1.TimeConfig{ //nolint:staticcheck // legacy config TimeBootTimeout: time.Second, }, }, @@ -236,7 +236,7 @@ func TestTimeSyncV1Alpha1Validate(t *testing.T) { name: "v1alpha1 disable set", v1alpha1Cfg: &v1alpha1.Config{ MachineConfig: &v1alpha1.MachineConfig{ - MachineTime: &v1alpha1.TimeConfig{ + MachineTime: &v1alpha1.TimeConfig{ //nolint:staticcheck // legacy config TimeDisabled: new(true), }, }, diff --git a/pkg/machinery/constants/constants.go b/pkg/machinery/constants/constants.go index 243da2015c2..bd4c8d2ab08 100644 --- a/pkg/machinery/constants/constants.go +++ b/pkg/machinery/constants/constants.go @@ -1248,7 +1248,7 @@ const ( ProcModulesPath = "/proc/modules" // GoVersion is the version of Go compiler this release was built with. - GoVersion = "go1.26.8" + GoVersion = "go1.27.1" // KubernetesTalosAPIServiceName is the name of the Kubernetes service to access Talos API. KubernetesTalosAPIServiceName = "talos" diff --git a/pkg/machinery/gendata/data/pkgs b/pkg/machinery/gendata/data/pkgs index c5c2a8211c2..247da4ab64c 100644 --- a/pkg/machinery/gendata/data/pkgs +++ b/pkg/machinery/gendata/data/pkgs @@ -1 +1 @@ -v1.15.0-alpha.0-27-ge7b09e2 \ No newline at end of file +v1.15.0-alpha.0-30-gf380535 \ No newline at end of file diff --git a/pkg/machinery/gendata/data/tools b/pkg/machinery/gendata/data/tools index 06d25cd8c5e..518d84c11e5 100644 --- a/pkg/machinery/gendata/data/tools +++ b/pkg/machinery/gendata/data/tools @@ -1 +1 @@ -v1.15.0-alpha.0-5-g09ccc74 \ No newline at end of file +v1.15.0-alpha.0-9-g19bb4b7 \ No newline at end of file diff --git a/pkg/machinery/meta/meta_test.go b/pkg/machinery/meta/meta_test.go index 7b303d1f850..0dcd37296c1 100644 --- a/pkg/machinery/meta/meta_test.go +++ b/pkg/machinery/meta/meta_test.go @@ -70,7 +70,7 @@ func TestEncodeDecodeValues(t *testing.T) { }, expectedEncodedSize: 3084, - expectedGzippedSize: 80, + expectedGzippedSize: 76, }, } { t.Run(test.name, func(t *testing.T) { diff --git a/pkg/provision/providers/vm/internal/ipxe/data/ipxe/amd64/snp.efi b/pkg/provision/providers/vm/internal/ipxe/data/ipxe/amd64/snp.efi index 4628241aa51..65d8b3337b3 100644 Binary files a/pkg/provision/providers/vm/internal/ipxe/data/ipxe/amd64/snp.efi and b/pkg/provision/providers/vm/internal/ipxe/data/ipxe/amd64/snp.efi differ diff --git a/pkg/provision/providers/vm/internal/ipxe/data/ipxe/arm64/snp.efi b/pkg/provision/providers/vm/internal/ipxe/data/ipxe/arm64/snp.efi index 16f6ec750bf..cd9d8ca9930 100644 Binary files a/pkg/provision/providers/vm/internal/ipxe/data/ipxe/arm64/snp.efi and b/pkg/provision/providers/vm/internal/ipxe/data/ipxe/arm64/snp.efi differ diff --git a/tools/cloud-image-uploader/go.sum b/tools/cloud-image-uploader/go.sum index 5a0ec979a2b..582f6b57ede 100644 --- a/tools/cloud-image-uploader/go.sum +++ b/tools/cloud-image-uploader/go.sum @@ -2,8 +2,6 @@ cel.dev/expr v0.25.2 h1:K6j46C81hXtZQfuX60cVWQFBJahKSE2gfRbNuvr5bFs= cel.dev/expr v0.25.2/go.mod h1:hrXvqGP6G6gyx8UAHSHJ5RGk//1Oj5nXQ2NI02Nrsg4= cloud.google.com/go v0.123.0 h1:2NAUJwPR47q+E35uaJeYoNhuNEM9kM8SjgRgdeOJUSE= cloud.google.com/go v0.123.0/go.mod h1:xBoMV08QcqUGuPW65Qfm1o9Y4zKZBpGS+7bImXLTAZU= -cloud.google.com/go/auth v0.22.0 h1:Xp9wAKkLoeaYb5pYZZoQGz4E9sdPxIbzS3gywZE3ciQ= -cloud.google.com/go/auth v0.22.0/go.mod h1:M9o2Oz+YI2jAfxewJgb1vyI3vceHF+eohmxyzmrl+9s= cloud.google.com/go/auth v0.23.0 h1:6Gg1CMgpgubRG7DGz5Vf1pcoNo8RfiRiRAPS4crTp54= cloud.google.com/go/auth v0.23.0/go.mod h1:4DhBRcqvtljQN3dJ57qtqbib5ZGCYE5f2crfiiC2EM0= cloud.google.com/go/auth/oauth2adapt v0.2.8 h1:keo8NaayQZ6wimpNSmW5OPc283g65QNIiLpZnkHRbnc= @@ -30,90 +28,44 @@ github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0 github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.58.0/go.mod h1:dzcEjy1WJ0Q4u9twNR3LcLhNoYMRCrMCMafpxa0TjPQ= github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.58.0 h1:SBZzZCiPmDrUV7NSCWY54OnKikO/oTydPCvyEyYaDDE= github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.58.0/go.mod h1:YqwkQPrWSC7+byyc1VlKbWLBF5JsW5IoL6xUkemYSXk= -github.com/aws/aws-sdk-go-v2 v1.43.4 h1:b9FTvbRwy+JCsfp2Wp6wV/KbOx3Aj7nkoFb2cRX0IhE= -github.com/aws/aws-sdk-go-v2 v1.43.4/go.mod h1:70vwSy16txshwG+g55WkpgPKDIByzHI8ccBsOteo3bQ= github.com/aws/aws-sdk-go-v2 v1.43.5 h1:yKT5GYnFWhuDo+DqKvE5ZPwVn3RjC4MAeBtZGlh6AVM= github.com/aws/aws-sdk-go-v2 v1.43.5/go.mod h1:wZjAJppCntyOGgVSmgVTfDyRJK5PHOasO6Wsy8U7Axk= -github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.16 h1:aiuaKlDweRC5qExJondpWjOgyzMHpofpwspGXUtwn4c= -github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.16/go.mod h1:nG/LOlmox9BDe9HvQnXWzgcK8uKbgBMZ/Hp5pVt/21I= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.17 h1:mn+Vxb9zgz/FE/yDTcFim3DZ1qpcrxR+qBQkBrl6bzA= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.17/go.mod h1:eDfmEFxu+BSVsUGLbzJhWjpOurv1mqczClS97yI8wdk= -github.com/aws/aws-sdk-go-v2/config v1.32.35 h1:UEzXuET8E42lxBPijuACu/tEK7v5lFPlk0Q+GT5WD9E= -github.com/aws/aws-sdk-go-v2/config v1.32.35/go.mod h1:KaMtJpFa2JlL2BStjjHQVwQpzZEmw+ND/EgVrfFoo2g= github.com/aws/aws-sdk-go-v2/config v1.32.36 h1:mX6ietU7UlB4w/2IUaexJdsyUDvhTd+jYPjVePiyi6s= github.com/aws/aws-sdk-go-v2/config v1.32.36/go.mod h1:rMpV4xk7ZK59edraSaHP0jsWrztWTT5tbCwWY495hug= -github.com/aws/aws-sdk-go-v2/credentials v1.19.34 h1:y6GkSmcv5myd1ngrYbGmiLlwQqB6TQhOuN/tbSSuWDY= -github.com/aws/aws-sdk-go-v2/credentials v1.19.34/go.mod h1:w3dTcnDVoQIewjo7JG45hduAToikiIFLC4FIO7fndvw= github.com/aws/aws-sdk-go-v2/credentials v1.19.35 h1:Cxua2RVdRwL0sfjHM/SnQoOnQ7xKng9m5EQBO8BnZlg= github.com/aws/aws-sdk-go-v2/credentials v1.19.35/go.mod h1:9XQ+RSIGPkycr+oCJYnB1uTv5kMVVR+rd2vYK0Hxj2w= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.35 h1:+S7kbJoLDDQ5tE+lHrUBgMkzC8NLgsaioS2F3dVoFAE= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.35/go.mod h1:Ak7xXviIARfFdNUJ9Etb0bdVDt/KAvKjMGJVLWXDzik= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.36 h1:gucL1KH/PAYbpTpBg09CiVpBdTu4qkCl8C7xOTBixUg= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.36/go.mod h1:usTB+PHhNMhrx2dxUeHcM7OrT5pySvmjYI++IsefPN0= -github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager v0.3.10 h1:HTlKXO5sYRzuhg9HjcxoH1U5RQrNQVrUSMckJv8OMr4= -github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager v0.3.10/go.mod h1:FfSlIcbXD1TwObBVUAJtPWV9YAu2moXHaK6pgDXuJW8= -github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager v0.3.11 h1:eBXB8KZgzQ8A9QB4iJS4aw/u6+4OY3i2hQXPABeAIOg= -github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager v0.3.11/go.mod h1:N9+5pG27Fy61GUL5YXVLXDTLmUudMrgwsuDbgBMNLxQ= github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager v0.3.12 h1:yIZV4/Eg+W8AN0MaI+PshJQ0sfsv6Hgsos6WmaojzFk= github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager v0.3.12/go.mod h1:lBJJRVakFaZwpIFvzSBKcLkLCki8jg086seIleOq8Ic= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.35 h1:kzVuGlatQtYinwBJEEyLAbggepCoavosiaHHX9+fD+c= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.35/go.mod h1:0yLx0yEI+SfqeJMPvOtIEFoZbiQYXMGszBueiutQyaI= github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.36 h1:5CrzwxDqf4w3x1Vs3/NiZ0nsC34Hbm3pIDMWbsLebOE= github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.36/go.mod h1:A3gHdKZIvG/QXERzZwcxNS3RNDFcRCuhhTFBYp+V/nw= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.35 h1:WK6CjihTuLisCjSKKbildJ79sGZZgbBz3iNa7VsKIhU= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.35/go.mod h1:KYleN57luLoe97R7vTnx8PMcVrr9gAcRECtOjl91DNg= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.36 h1:A4N2f4YPcST0v+dWtX+xrpPPCL9VTBhoIFFUWYqbacE= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.36/go.mod h1:B/Qr859uxWUEfZeGotK5KAEoof4Q9YWgNtPSwV6jcyk= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.36 h1:jbGY4CXLzZElOXgGsexlC3Hi+3YM0rSmk4opFXKqg/k= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.36/go.mod h1:uBu/9aKsS/UQGc72RAt3y54kjgYQxmhut8ZD2dXCDNE= github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.37 h1:oyd3ke4V9AhKcRR7rRgxk1VyI+DjK2CBQtbxh3OkdaA= github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.37/go.mod h1:aA9D7SqfG9IC1b7FLD7Iyc8Q4JN0a8gHhNjN4zPlIaI= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.319.1 h1:+czrxOpRRTbqtD3hRk+eDohm4TBBfCLnz5iKs9zBDSg= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.319.1/go.mod h1:Gi5mEHpABbT34fHwafgyxqrIte9oHUEHscusPBYEdHA= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.321.0 h1:XxzwotCCRk2Un1OWcJujk4vAC2OZkGh5l816W1w+Fd8= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.321.0/go.mod h1:Gi5mEHpABbT34fHwafgyxqrIte9oHUEHscusPBYEdHA= github.com/aws/aws-sdk-go-v2/service/ec2 v1.321.1 h1:rywWzHJUn9975OI1crMvzPzCPnwm1n5yVmU0HDc/izE= github.com/aws/aws-sdk-go-v2/service/ec2 v1.321.1/go.mod h1:r6DvSY3Gc51qW84EFQ175rEriqyz9cIOU9zxAGSnb7A= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.15 h1:JJLBQxwY+AFwuPAi5ivGc1ChnTdUt4cXMv7e76m2c/Y= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.15/go.mod h1:lQknBIe78MVL0cQOQDlag8KGflMbMEVFx9mB6O8ENvk= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.16 h1:iE4NGbvqUZnHDqddQAauZzCILYtFjOHwRM5MOOKLB5A= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.16/go.mod h1:VsjEgrP+ibcou8TlWA4tYaB+0OojuhirsmCe+U60hTA= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.28 h1:Q1TF1J9jVD+vFo0LzNnmNdQ9EAt52TS+MQlq9Ir+Yxo= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.28/go.mod h1:4KqXXC/p1hrotmouDFbrRoWaLy962b9PMUReCG6+uWo= github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.29 h1:E65Hj648dOV6FuUfI0mYXXhQRHbsi7n+B9h6fZPJO/E= github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.29/go.mod h1:xLrF9yNTCs92VZSpdEd68EJbgcdw3SMR74RO6QDzWHE= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.35 h1:BBEElKh4a+rKshvjrfpajTe9CbpZvrbb4Jkg2PB7RzA= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.35/go.mod h1:zaZk983w//8beSruBVec/mr4CmDwgZitW/qzGhAAX0g= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.36 h1:fx2ujmozWn+C/GtfXfz5k6Ckzza40ElOpIW7d92fLWQ= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.36/go.mod h1:QT2ufGVJ+xTRxtXPHTQ1kHkAdWIKPCmD+BqYAXWv8/4= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.36 h1:EUIwBoN+q7UmhAejxgD27APiRjh1vwCFo53gSqdT0BM= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.36/go.mod h1:6u00gmlTGR6W0b2k9NBrld7MnOEmf1Spqx0VVt6AqyE= github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.37 h1:KGHa9iZCrgtkOsFfXb0S4ywsjostA/hau7WE9aSb43E= github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.37/go.mod h1:FV79f0DSnZIEGsQjWenENGtUycrasyAaJZO+zRanLHA= -github.com/aws/aws-sdk-go-v2/service/s3 v1.106.5 h1:HpN6GgZ3T8pSvRp81ZsgumNjlvRsa+9M0ZL2o6W4uLY= -github.com/aws/aws-sdk-go-v2/service/s3 v1.106.5/go.mod h1:5FTZoQxhmLEiCAtYVk6V+t0iS/B5yGZVLZ3Wq5FDJZI= -github.com/aws/aws-sdk-go-v2/service/s3 v1.107.0 h1:OkYV+1171za+ab9otU1tGxMXhx6uZvwVEtVddjLuYTg= -github.com/aws/aws-sdk-go-v2/service/s3 v1.107.0/go.mod h1:5FTZoQxhmLEiCAtYVk6V+t0iS/B5yGZVLZ3Wq5FDJZI= github.com/aws/aws-sdk-go-v2/service/s3 v1.107.1 h1:VUTtUJMuRNMkb/7NIKmd8NQaeQLPGCMoTJxkYKre4qM= github.com/aws/aws-sdk-go-v2/service/s3 v1.107.1/go.mod h1:WvUaO0lP5GNMs1R6cs6qvB3mqo16GLta8yfOuf55Rpc= -github.com/aws/aws-sdk-go-v2/service/signin v1.5.4 h1:cOJELVNrq5Q3Udry2GLuHUM7MhwpeaQRdYaoa6GI/yI= -github.com/aws/aws-sdk-go-v2/service/signin v1.5.4/go.mod h1:f4LxzKBtaTxD7xh3PiVg3CE1tchQemfmghaJr+NbK2c= github.com/aws/aws-sdk-go-v2/service/signin v1.5.5 h1:0VTFBfOgPJrUSpGMgzoi8qLcXF5dbmiBuxpo14eBWUw= github.com/aws/aws-sdk-go-v2/service/signin v1.5.5/go.mod h1:sNZYlBxoohYMBYl47BO/bFtAM6I8HSsPa1qwwPPRGoQ= -github.com/aws/aws-sdk-go-v2/service/sso v1.33.4 h1:AMW7a7S8iQaHjBYZdU3PCq4GKRPijTPRAc7e6XtEThY= -github.com/aws/aws-sdk-go-v2/service/sso v1.33.4/go.mod h1:QQNsFV1DVXoXcZt18FS8lI8rtUrlDyAuWZLQ5shunv4= github.com/aws/aws-sdk-go-v2/service/sso v1.33.5 h1:jDQARFp1mJ2PEnllQf01nfFXGfWMJ59e0/HCHUTTZCk= github.com/aws/aws-sdk-go-v2/service/sso v1.33.5/go.mod h1:OcT2AhgTuxGAwZk5hgxaNLGpS33W8s8dUQadGVDVY9I= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.38.4 h1:AsbZcJAQPRmHDJG8K1N0pof/1zPWjVT8TFlTWuGLSvo= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.38.4/go.mod h1:6imqztH0//t0mKbl6yWl7swSEl7F/w32oAmqB3vP1ag= github.com/aws/aws-sdk-go-v2/service/ssooidc v1.38.5 h1:8xo1q9ttkYqMJ6vOXX67FPSpVEI7BWKVTKh77g82w+8= github.com/aws/aws-sdk-go-v2/service/ssooidc v1.38.5/go.mod h1:hbBeEUrZg6VddXYZpbKPyF0tl4XEnM+Dbx92RW3vmZI= -github.com/aws/aws-sdk-go-v2/service/sts v1.45.4 h1:w/AryDYMjSUANSQ2uoZxJovUsMTwWJNTv3IMex30Y+4= -github.com/aws/aws-sdk-go-v2/service/sts v1.45.4/go.mod h1:WeBiAa67azG7Su9Vf+ChGDBLiAozJCXzdjXiPBUwtbc= github.com/aws/aws-sdk-go-v2/service/sts v1.45.5 h1:eQ5BtXDrPg2wK0AjtVPzeBhUpYPeqHE/ptiH7xJRGek= github.com/aws/aws-sdk-go-v2/service/sts v1.45.5/go.mod h1:f9ImhnOISY7BuTZLM8qHepCYnglHBVLk5wVzatmP++w= -github.com/aws/smithy-go v1.27.6 h1:0zjT8jgK3jbrTT7JJ3EE6JsMhX8JTrZ+f1sEndYDXrA= -github.com/aws/smithy-go v1.27.6/go.mod h1:YE2RhdIuDbA5E5bTdciG9KrW3+TiEONeUWCqxX9i1Fc= github.com/aws/smithy-go v1.27.7 h1:Zgj5z4LfcDYoQIVk+n/yGdTkP/2y6ZT5vYxe0fp7bqE= github.com/aws/smithy-go v1.27.7/go.mod h1:YE2RhdIuDbA5E5bTdciG9KrW3+TiEONeUWCqxX9i1Fc= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= @@ -149,14 +101,10 @@ github.com/google/s2a-go v0.1.9 h1:LGD7gtMgezd8a/Xak7mEWL0PjoTQFvpRudN895yqKW0= github.com/google/s2a-go v0.1.9/go.mod h1:YA0Ei2ZQL3acow2O62kdp9UlnvMmU7kA6Eutn0dXayM= 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/googleapis/enterprise-certificate-proxy v0.3.19 h1:mMOE7DN2+p76/EdIrmAy9B9bH+yC4563vmnJ34QR8i4= -github.com/googleapis/enterprise-certificate-proxy v0.3.19/go.mod h1:rSEsBUemEBZEexP2y6jPp16LUmUbjmSbcPMQizR0o4k= github.com/googleapis/enterprise-certificate-proxy v0.3.20 h1:t/xL64VUoN69MuMRQuJETqYGOw4Z9mSRJK9epIEtwFk= github.com/googleapis/enterprise-certificate-proxy v0.3.20/go.mod h1:L3D/IQExI6LqEjBdXcZQ1WluSgigQmSwBboFstVPM4w= github.com/googleapis/gax-go/v2 v2.23.0 h1:Tchl7qkvE7Ip3y+ztvNufYFvkfqTe7NfLTYGIdJRLuE= github.com/googleapis/gax-go/v2 v2.23.0/go.mod h1:rBQKOVJCdb8IFEzg+FCwlt1LP/xMDGuqUXhUG+XMXEg= -github.com/klauspost/compress v1.19.1 h1:VsB4HPswih7mmZ8WleSFQ75c/Ui1M4trX5oAsJnhSlk= -github.com/klauspost/compress v1.19.1/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ= github.com/klauspost/compress v1.19.2 h1:hMRETovs/pu/dVWN7zIT1PGG8t509MwT6bO7XSi26R8= github.com/klauspost/compress v1.19.2/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ= github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo= @@ -213,16 +161,12 @@ golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U= golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno= gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4= gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E= -google.golang.org/api v0.292.0 h1:Ewiwo/GTtiaPZSNAZQUcWLh8AYDEoPmIXyJfeoTSMHU= -google.golang.org/api v0.292.0/go.mod h1:07kjmMnFGm2RQuCza2EZM/5N68G/fVvFb1xKjWqoFA0= google.golang.org/api v0.293.0 h1:p9XIWOf63U4OgYx120ZwVU8+vl4XTPmWfgVPnmOAS9w= google.golang.org/api v0.293.0/go.mod h1:6n5tjEB1gzwniZTepZ0g5u+wM7Bof5GeULCx/zh8ZE0= google.golang.org/genproto v0.0.0-20260713224248-f5fc221cf8c4 h1:PWVFocb6Y93aqxY7m9ArHu5zQiLkIrXBLr+ajQxRHH0= google.golang.org/genproto v0.0.0-20260713224248-f5fc221cf8c4/go.mod h1:v47/Kzm6KzB/2uGxuDjGww+7Dk7ny/VFIaIw4WxEtu0= google.golang.org/genproto/googleapis/api v0.0.0-20260713224248-f5fc221cf8c4 h1:lI0NbdWVmT6lOJJNDd7vyeTdfxP/7ouCLSJUKNNXa0k= google.golang.org/genproto/googleapis/api v0.0.0-20260713224248-f5fc221cf8c4/go.mod h1:WRrQ7/7N19PypuT0fxLOL5Lq0waoiRri4FbtHDEKrGE= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260803160001-6ac0973c030d h1:IL4hdHzcUv2l/gcg98/Rj3FbtE6axwqslOW8SW0C+S0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260803160001-6ac0973c030d/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8= google.golang.org/genproto/googleapis/rpc v0.0.0-20260807164820-c8921c73eeea h1:kVhQEPTpKQahD5+JSBTfBB19wcgQTTjAIn45MBqnyHk= google.golang.org/genproto/googleapis/rpc v0.0.0-20260807164820-c8921c73eeea/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8= google.golang.org/grpc v1.83.0 h1:JeNZEKJFbQxArAMl+hiytHauacDNqJUllNfmIMmpqnQ= diff --git a/tools/go.mod b/tools/go.mod index 4dc6524d6c5..b2e662f6953 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -44,7 +44,7 @@ replace ( ) require ( - 4d63.com/gocheckcompilerdirectives v1.3.0 // indirect + 4d63.com/gocheckcompilerdirectives v1.4.0 // indirect 4d63.com/gochecknoglobals v0.2.2 // indirect buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.36.11-20260626152828-968bf0468096.1 // indirect buf.build/gen/go/bufbuild/protodescriptor/protocolbuffers/go v1.36.11-20250109164928-1da0de137947.1 // indirect @@ -61,7 +61,7 @@ require ( buf.build/go/spdx v0.2.0 // indirect buf.build/go/standard v0.1.1-0.20260325175353-2b287e071df5 // indirect cel.dev/expr v0.25.2 // indirect - charm.land/lipgloss/v2 v2.0.3 // indirect + charm.land/lipgloss/v2 v2.0.6 // indirect cloud.google.com/go v0.123.0 // indirect cloud.google.com/go/auth v0.23.0 // indirect cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect @@ -75,16 +75,17 @@ require ( connectrpc.com/otelconnect v0.9.0 // indirect dario.cat/mergo v1.0.2 // indirect dev.gaijin.team/go/exhaustruct/v4 v4.0.0 // indirect + dev.gaijin.team/go/exhaustruct/v5 v5.0.3 // indirect dev.gaijin.team/go/golib v0.8.1 // indirect github.com/4meepo/tagalign v1.4.3 // indirect - github.com/Abirdcfly/dupword v0.1.7 // indirect + github.com/Abirdcfly/dupword v0.1.8 // indirect github.com/AdminBenni/iota-mixing v1.0.0 // indirect - github.com/AlwxSin/noinlineerr v1.0.5 // indirect - github.com/Antonboom/errname v1.1.1 // indirect - github.com/Antonboom/nilnil v1.1.1 // indirect + github.com/AlwxSin/noinlineerr v1.0.6 // indirect + github.com/Antonboom/errname v1.1.2 // indirect + github.com/Antonboom/nilnil v1.1.2 // indirect github.com/Antonboom/testifylint v1.6.4 // indirect github.com/BurntSushi/toml v1.6.0 // indirect - github.com/ClickHouse/clickhouse-go-linter v1.2.0 // indirect + github.com/ClickHouse/clickhouse-go-linter v1.2.1 // indirect github.com/CycloneDX/cyclonedx-go v0.11.0 // indirect github.com/DataDog/zstd v1.5.7 // indirect github.com/Djarvur/go-err113 v0.1.1 // indirect @@ -113,7 +114,7 @@ require ( github.com/acobaugh/osrelease v0.1.0 // indirect github.com/adrg/xdg v0.5.3 // indirect github.com/agext/levenshtein v1.2.3 // indirect - github.com/alecthomas/chroma/v2 v2.24.1 // indirect + github.com/alecthomas/chroma/v2 v2.27.0 // indirect github.com/alecthomas/go-check-sumtype v0.3.1 // indirect github.com/alexkohler/nakedret/v2 v2.0.6 // indirect github.com/alexkohler/prealloc v1.1.0 // indirect @@ -181,7 +182,7 @@ require ( github.com/bodgit/sevenzip v1.6.5 // indirect github.com/bodgit/windows v1.0.1 // indirect github.com/bombsimon/wsl/v4 v4.7.0 // indirect - github.com/bombsimon/wsl/v5 v5.8.0 // indirect + github.com/bombsimon/wsl/v5 v5.9.0 // indirect github.com/breml/bidichk v0.3.3 // indirect github.com/breml/errchkjson v0.4.1 // indirect github.com/briandowns/spinner v1.23.2 // indirect @@ -190,7 +191,7 @@ require ( github.com/bufbuild/protoplugin v0.0.0-20260414125817-25d1d281b46b // indirect github.com/buger/jsonparser v1.2.0 // indirect github.com/butuzov/ireturn v0.4.1 // indirect - github.com/butuzov/mirror v1.3.0 // indirect + github.com/butuzov/mirror v1.3.3 // indirect github.com/catenacyber/perfsprint v0.10.1 // indirect github.com/ccojocar/zxcvbn-go v1.0.4 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect @@ -200,8 +201,8 @@ require ( github.com/charmbracelet/colorprofile v0.4.3 // indirect github.com/charmbracelet/harmonica v0.2.0 // indirect github.com/charmbracelet/lipgloss v1.1.0 // indirect - github.com/charmbracelet/ultraviolet v0.0.0-20251205161215-1948445e3318 // indirect - github.com/charmbracelet/x/ansi v0.11.7 // indirect + github.com/charmbracelet/ultraviolet v0.0.0-20260811164956-006e29f97886 // indirect + github.com/charmbracelet/x/ansi v0.11.8 // indirect github.com/charmbracelet/x/cellbuf v0.0.15 // indirect github.com/charmbracelet/x/term v0.2.2 // indirect github.com/charmbracelet/x/termios v0.1.1 // indirect @@ -229,13 +230,12 @@ require ( github.com/cyphar/filepath-securejoin v0.7.0 // indirect github.com/daixiang0/gci v0.13.7 // indirect github.com/dave/dst v0.27.3 // indirect - github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/deitch/magic v0.0.0-20240306090643-c67ab88f10cb // indirect github.com/denis-tingaikin/go-header v0.5.0 // indirect github.com/dghubble/trie v0.1.0 // indirect github.com/diskfs/go-diskfs v1.9.4 // indirect github.com/distribution/reference v0.6.0 // indirect - github.com/dlclark/regexp2 v1.12.0 // indirect + github.com/dlclark/regexp2/v2 v2.2.1 // indirect github.com/dmarkham/enumer v1.6.3 // indirect github.com/docker/cli v29.6.1+incompatible // indirect github.com/docker/docker v28.5.2+incompatible // indirect @@ -255,15 +255,15 @@ require ( github.com/fatih/structtag v1.2.0 // indirect github.com/felixge/fgprof v0.9.5 // indirect github.com/felixge/httpsnoop v1.1.0 // indirect - github.com/firefart/nonamedreturns v1.0.6 // indirect + github.com/firefart/nonamedreturns v1.0.8 // indirect github.com/fsnotify/fsnotify v1.10.1 // indirect github.com/fzipp/gocyclo v0.6.0 // indirect github.com/gabriel-vasile/mimetype v1.4.13 // indirect - github.com/ghostiam/protogetter v0.3.20 // indirect + github.com/ghostiam/protogetter v0.3.21 // indirect github.com/github/go-spdx/v2 v2.7.0 // indirect github.com/glebarez/go-sqlite v1.22.0 // indirect github.com/glebarez/sqlite v1.11.0 // indirect - github.com/go-critic/go-critic v0.14.3 // indirect + github.com/go-critic/go-critic v0.14.4 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect github.com/go-git/go-billy/v5 v5.9.1 // indirect github.com/go-git/go-git/v5 v5.19.2 // indirect @@ -291,10 +291,11 @@ require ( github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect github.com/golang/protobuf v1.5.4 // indirect github.com/golangci/asciicheck v0.5.0 // indirect + github.com/golangci/canonicalheader v0.0.0-20260827115959-a25c71c521f6 // indirect github.com/golangci/dupl v0.0.0-20260401084720-c99c5cf5c202 // indirect github.com/golangci/go-printf-func-name v0.1.1 // indirect - github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d // indirect - github.com/golangci/golangci-lint/v2 v2.12.2 // indirect + github.com/golangci/gofmt v0.0.0-20260820135601-e84e05053792 // indirect + github.com/golangci/golangci-lint/v2 v2.13.2 // indirect github.com/golangci/golines v0.15.0 // indirect github.com/golangci/misspell v0.8.0 // indirect github.com/golangci/plugin-module-register v0.1.2 // indirect @@ -342,7 +343,7 @@ require ( github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/jdx/go-netrc v1.0.0 // indirect github.com/jedib0t/go-pretty/v6 v6.8.3 // indirect - github.com/jgautheron/goconst v1.10.0 // indirect + github.com/jgautheron/goconst v1.11.0 // indirect github.com/jinzhu/copier v0.4.0 // indirect github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect @@ -352,7 +353,7 @@ require ( github.com/karamaru-alpha/copyloopvar v1.2.2 // indirect github.com/kastenhq/goversion v0.0.0-20230811215019-93b2f8823953 // indirect github.com/kevinburke/ssh_config v1.6.0 // indirect - github.com/kisielk/errcheck v1.10.0 // indirect + github.com/kisielk/errcheck v1.20.0 // indirect github.com/kkHAIKE/contextcheck v1.1.6 // indirect github.com/klauspost/compress v1.19.2 // indirect github.com/klauspost/cpuid/v2 v2.4.0 // indirect @@ -361,15 +362,14 @@ require ( github.com/knqyf263/go-deb-version v0.0.0-20241115132648-6f4aee6ccd23 // indirect github.com/kulti/thelper v0.7.1 // indirect github.com/kunwardeep/paralleltest v1.0.15 // indirect - github.com/lasiar/canonicalheader v1.1.2 // indirect github.com/ldez/exptostd v0.4.5 // indirect - github.com/ldez/gomoddirectives v0.8.0 // indirect + github.com/ldez/gomoddirectives v0.9.0 // indirect github.com/ldez/grignotin v0.10.1 // indirect github.com/ldez/structtags v0.6.1 // indirect github.com/ldez/tagliatelle v0.7.2 // indirect github.com/ldez/usetesting v0.5.0 // indirect github.com/leonklingele/grouper v1.1.2 // indirect - github.com/lucasb-eyer/go-colorful v1.4.0 // indirect + github.com/lucasb-eyer/go-colorful v1.4.1 // indirect github.com/macabu/inamedparam v0.2.0 // indirect github.com/manuelarte/embeddedstructfieldcheck v0.4.0 // indirect github.com/manuelarte/funcorder v0.6.0 // indirect @@ -413,7 +413,7 @@ require ( github.com/nishanths/exhaustive v0.12.0 // indirect github.com/nishanths/predeclared v0.2.2 // indirect github.com/nix-community/go-nix v0.0.0-20250101154619-4bdde671e0a1 // indirect - github.com/nunnatsa/ginkgolinter v0.23.0 // indirect + github.com/nunnatsa/ginkgolinter v0.24.0 // indirect github.com/nwaples/rardecode/v2 v2.2.5 // indirect github.com/olekukonko/cat v0.0.0-20250911104152-50322a0618f6 // indirect github.com/olekukonko/errors v1.3.0 // indirect @@ -439,7 +439,6 @@ require ( github.com/pkg/profile v1.7.0 // indirect github.com/pkg/xattr v0.4.12 // indirect github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect - github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35 // indirect github.com/prometheus/client_golang v1.23.2 // indirect github.com/prometheus/client_model v0.6.2 // indirect @@ -454,10 +453,10 @@ require ( github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect github.com/quic-go/qpack v0.6.0 // indirect github.com/quic-go/quic-go v0.60.0 // indirect - github.com/raeperd/recvcheck v0.2.0 // indirect + github.com/raeperd/recvcheck v0.3.0 // indirect github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect github.com/rivo/uniseg v0.4.7 // indirect - github.com/rogpeppe/go-internal v1.15.0 // indirect + github.com/rogpeppe/go-internal v1.16.0 // indirect github.com/rs/cors v1.11.1 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/rust-secure-code/go-rustaudit v0.0.0-20250226111315-e20ec32e963c // indirect @@ -472,7 +471,7 @@ require ( github.com/sashamelentyev/usestdlibvars v1.29.0 // indirect github.com/sassoftware/go-rpmutils v0.4.0 // indirect github.com/scylladb/go-set v1.0.3-0.20200225121959-cc7b2070d91e // indirect - github.com/securego/gosec/v2 v2.26.1 // indirect + github.com/securego/gosec/v2 v2.28.0 // indirect github.com/segmentio/asm v1.2.1 // indirect github.com/segmentio/encoding v0.5.4 // indirect github.com/sergi/go-diff v1.4.0 // indirect @@ -490,7 +489,7 @@ require ( github.com/siderolabs/talos/tools/redactgen v0.0.0-20260722162145-c68085286288 // indirect github.com/siderolabs/talos/tools/sbom-builder v0.0.0-20260722162145-c68085286288 // indirect github.com/siderolabs/talos/tools/structprotogen v0.0.0-20260722162145-c68085286288 // indirect - github.com/sirupsen/logrus v1.9.4 // indirect + github.com/sirupsen/logrus v1.10.1 // indirect github.com/sivchari/containedctx v1.0.3 // indirect github.com/skeema/knownhosts v1.3.2 // indirect github.com/smallnest/ringbuffer v0.1.1 // indirect @@ -509,7 +508,7 @@ require ( github.com/stangelandcl/ppmd v0.1.1 // indirect github.com/stbenjam/no-sprintf-host-port v0.3.1 // indirect github.com/stretchr/objx v0.5.3 // indirect - github.com/stretchr/testify v1.11.1 // indirect + github.com/stretchr/testify v1.12.1 // indirect github.com/subosito/gotenv v1.6.0 // indirect github.com/sylabs/sif/v2 v2.24.1 // indirect github.com/sylabs/squashfs v1.0.6 // indirect @@ -526,7 +525,7 @@ require ( github.com/ultraware/funlen v0.2.0 // indirect github.com/ultraware/whitespace v0.2.0 // indirect github.com/uudashr/gocognit v1.2.1 // indirect - github.com/uudashr/iface v1.4.2 // indirect + github.com/uudashr/iface v1.5.1 // indirect github.com/vbatts/go-mtree v0.7.0 // indirect github.com/vifraa/gopom v1.0.0 // indirect github.com/wagoodman/go-partybus v0.0.0-20230516145632-8ccac152c651 // indirect @@ -545,7 +544,7 @@ require ( go-simpler.org/musttag v0.14.0 // indirect go-simpler.org/sloglint v0.12.0 // indirect go.augendre.info/arangolint v0.4.0 // indirect - go.augendre.info/fatcontext v0.9.0 // indirect + go.augendre.info/fatcontext v0.10.0 // indirect go.etcd.io/bbolt v1.4.3 // indirect go.lsp.dev/jsonrpc2 v0.10.0 // indirect go.lsp.dev/pkg v0.0.0-20210717090340-384b27a52fb2 // indirect @@ -569,7 +568,7 @@ require ( go4.org v0.0.0-20260112195520-a5071408f32f // indirect golang.org/x/crypto v0.55.0 // indirect golang.org/x/exp v0.0.0-20260709172345-9ea1abe57597 // indirect - golang.org/x/exp/typeparams v0.0.0-20260218203240-3dfff04db8fa // indirect + golang.org/x/exp/typeparams v0.0.0-20260811152304-ee035b5b010f // indirect golang.org/x/mod v0.40.0 // indirect golang.org/x/net v0.58.0 // indirect golang.org/x/oauth2 v0.36.0 // indirect @@ -594,7 +593,7 @@ require ( gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect gorm.io/gorm v1.31.2 // indirect - honnef.co/go/tools v0.7.0 // indirect + honnef.co/go/tools v0.8.1 // indirect howett.net/plist v1.0.1 // indirect k8s.io/code-generator v0.36.2 // indirect k8s.io/gengo/v2 v2.0.0-20251215205346-5ee0d033ba5b // indirect @@ -604,7 +603,7 @@ require ( modernc.org/memory v1.11.0 // indirect modernc.org/sqlite v1.56.0 // indirect mvdan.cc/gofumpt v0.11.0 // indirect - mvdan.cc/unparam v0.0.0-20251027182757-5beb8c8f8f15 // indirect + mvdan.cc/unparam v0.0.0-20260823230713-2fa3d841b0c8 // indirect mvdan.cc/xurls/v2 v2.6.0 // indirect pluginrpc.com/pluginrpc v0.5.0 // indirect ) diff --git a/tools/go.sum b/tools/go.sum index 11f24a64f24..8a1e8c28a0c 100644 --- a/tools/go.sum +++ b/tools/go.sum @@ -1,5 +1,5 @@ -4d63.com/gocheckcompilerdirectives v1.3.0 h1:Ew5y5CtcAAQeTVKUVFrE7EwHMrTO6BggtEj8BZSjZ3A= -4d63.com/gocheckcompilerdirectives v1.3.0/go.mod h1:ofsJ4zx2QAuIP/NO/NAh1ig6R1Fb18/GI7RVMwz7kAY= +4d63.com/gocheckcompilerdirectives v1.4.0 h1:ZLq62rbGWVmQhiZ8kuNVIT/M09xCSTdJz9K3xOdT/CY= +4d63.com/gocheckcompilerdirectives v1.4.0/go.mod h1:9ZOAiMOjqC/nRwci2fcUXVHUNLG/cH6r6rhUh+jTFtQ= 4d63.com/gochecknoglobals v0.2.2 h1:H1vdnwnMaZdQW/N+NrkT1SZMTBmcwHe9Vq8lJcYYTtU= 4d63.com/gochecknoglobals v0.2.2/go.mod h1:lLxwTQjL5eIesRbvnzIP3jZtG140FnTdz+AlMa+ogt0= buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.36.11-20260626152828-968bf0468096.1 h1:bHi5/cwz7IPRhFcrRA4iytTjDI3WwFkv1m5K7y+YOTc= @@ -32,8 +32,8 @@ buf.build/go/standard v0.1.1-0.20260325175353-2b287e071df5 h1:njYKSWoLiq2i5O7y2b buf.build/go/standard v0.1.1-0.20260325175353-2b287e071df5/go.mod h1:DQmodNT9EHX94WzUaWiZK+/4EaFa/xZTc1gzfCxZVXU= cel.dev/expr v0.25.2 h1:K6j46C81hXtZQfuX60cVWQFBJahKSE2gfRbNuvr5bFs= cel.dev/expr v0.25.2/go.mod h1:hrXvqGP6G6gyx8UAHSHJ5RGk//1Oj5nXQ2NI02Nrsg4= -charm.land/lipgloss/v2 v2.0.3 h1:yM2zJ4Cf5Y51b7RHIwioil4ApI/aypFXXVHSwlM6RzU= -charm.land/lipgloss/v2 v2.0.3/go.mod h1:7myLU9iG/3xluAWzpY/fSxYYHCgoKTie7laxk6ATwXA= +charm.land/lipgloss/v2 v2.0.6 h1:EaGKeuA8FvF+v2BT5VmZd2LoYLaMZJXA5n34th8nCIQ= +charm.land/lipgloss/v2 v2.0.6/go.mod h1:ipDDJNSGa1hlwDtSfW1s2/xR8Vdhbut4PXh2zEKZd0Q= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= @@ -115,23 +115,25 @@ dario.cat/mergo v1.0.2 h1:85+piFYR1tMbRrLcDwR18y4UKJ3aH1Tbzi24VRW1TK8= dario.cat/mergo v1.0.2/go.mod h1:E/hbnu0NxMFBjpMIE34DRGLWqDy0g5FuKDhCb31ngxA= dev.gaijin.team/go/exhaustruct/v4 v4.0.0 h1:873r7aNneqoBB3IaFIzhvt2RFYTuHgmMjoKfwODoI1Y= dev.gaijin.team/go/exhaustruct/v4 v4.0.0/go.mod h1:aZ/k2o4Y05aMJtiux15x8iXaumE88YdiB0Ai4fXOzPI= +dev.gaijin.team/go/exhaustruct/v5 v5.0.3 h1:yOeA7DNjlT8y4yfmN6nWWYYggA13N523YAj9/TXbuTM= +dev.gaijin.team/go/exhaustruct/v5 v5.0.3/go.mod h1:KwtBsX8nHHH1YxhxkpiBq6bfsmw5WnazWpNvJPHgY9Y= dev.gaijin.team/go/golib v0.8.1 h1:JYju4x9BSo+QD/AYeHULVDcvEhiFg8wOi6pT0IaZF5E= dev.gaijin.team/go/golib v0.8.1/go.mod h1:c5fu7t1RSGMxSQgcUYO1sODbzsYnOCXJLmHeNG1Eb+0= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/4meepo/tagalign v1.4.3 h1:Bnu7jGWwbfpAie2vyl63Zup5KuRv21olsPIha53BJr8= github.com/4meepo/tagalign v1.4.3/go.mod h1:00WwRjiuSbrRJnSVeGWPLp2epS5Q/l4UEy0apLLS37c= -github.com/Abirdcfly/dupword v0.1.7 h1:2j8sInznrje4I0CMisSL6ipEBkeJUJAmK1/lfoNGWrQ= -github.com/Abirdcfly/dupword v0.1.7/go.mod h1:K0DkBeOebJ4VyOICFdppB23Q0YMOgVafM0zYW0n9lF4= +github.com/Abirdcfly/dupword v0.1.8 h1:SrhcUuGsROBuChFxHALRYzyyPODWn9zwghmzPvD9Cd8= +github.com/Abirdcfly/dupword v0.1.8/go.mod h1:XZrhVnI7YGpsTiWZANSQaBJ4QpL/Tq5vIEdKJJAs9WI= github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6 h1:He8afgbRMd7mFxO99hRNu+6tazq8nFF9lIwo9JFroBk= github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6/go.mod h1:8o94RPi1/7XTJvwPpRSzSUedZrtlirdB3r9Z20bi2f8= github.com/AdminBenni/iota-mixing v1.0.0 h1:Os6lpjG2dp/AE5fYBPAA1zfa2qMdCAWwPMCgpwKq7wo= github.com/AdminBenni/iota-mixing v1.0.0/go.mod h1:i4+tpAaB+qMVIV9OK3m4/DAynOd5bQFaOu+2AhtBCNY= -github.com/AlwxSin/noinlineerr v1.0.5 h1:RUjt63wk1AYWTXtVXbSqemlbVTb23JOSRiNsshj7TbY= -github.com/AlwxSin/noinlineerr v1.0.5/go.mod h1:+QgkkoYrMH7RHvcdxdlI7vYYEdgeoFOVjU9sUhw/rQc= -github.com/Antonboom/errname v1.1.1 h1:bllB7mlIbTVzO9jmSWVWLjxTEbGBVQ1Ff/ClQgtPw9Q= -github.com/Antonboom/errname v1.1.1/go.mod h1:gjhe24xoxXp0ScLtHzjiXp0Exi1RFLKJb0bVBtWKCWQ= -github.com/Antonboom/nilnil v1.1.1 h1:9Mdr6BYd8WHCDngQnNVV0b554xyisFioEKi30sksufQ= -github.com/Antonboom/nilnil v1.1.1/go.mod h1:yCyAmSw3doopbOWhJlVci+HuyNRuHJKIv6V2oYQa8II= +github.com/AlwxSin/noinlineerr v1.0.6 h1:KAvuxunTe9QxvqrFB7nZTdb/7Wzas4AvifslTnG0Ld8= +github.com/AlwxSin/noinlineerr v1.0.6/go.mod h1:+QgkkoYrMH7RHvcdxdlI7vYYEdgeoFOVjU9sUhw/rQc= +github.com/Antonboom/errname v1.1.2 h1:dxwONZJua3VB8Xh/VaCjqAcqF645sWWv7xj26zy7tdQ= +github.com/Antonboom/errname v1.1.2/go.mod h1:YeZIpgLMxT+SNkruGgYkLhzq/9vs3fsolTZegKaKDZI= +github.com/Antonboom/nilnil v1.1.2 h1:aNlFuJhaEseXe4fHO3xbjXlSeEiQVYa2lEkWD2s2hAY= +github.com/Antonboom/nilnil v1.1.2/go.mod h1:0ynwvphOLmAuMwTNDyBnDZmSwZoDpcFXmUHmzoHH2WA= github.com/Antonboom/testifylint v1.6.4 h1:gs9fUEy+egzxkEbq9P4cpcMB6/G0DYdMeiFS87UiqmQ= github.com/Antonboom/testifylint v1.6.4/go.mod h1:YO33FROXX2OoUfwjz8g+gUxQXio5i9qpVy7nXGbxDD4= github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c h1:udKWzYgxTojEKWjV8V+WSxDXJ4NFATAsZjh8iIbsQIg= @@ -141,8 +143,8 @@ github.com/BurntSushi/toml v0.4.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbi github.com/BurntSushi/toml v1.6.0 h1:dRaEfpa2VI55EwlIW72hMRHdWouJeRF7TPYhI+AUQjk= github.com/BurntSushi/toml v1.6.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/ClickHouse/clickhouse-go-linter v1.2.0 h1:zbm174up3hTKjp0wKZVnTzRiG7tSF5XZF0FJG/MuCBI= -github.com/ClickHouse/clickhouse-go-linter v1.2.0/go.mod h1:pLorS7ffPTfuUV9M0SJgfHA/h/WQPQUk2FWG9x74cQ4= +github.com/ClickHouse/clickhouse-go-linter v1.2.1 h1:zGEKIyd5YL08ieWG/LOUmlau2DxbxPVOfAeo+4Jz3ck= +github.com/ClickHouse/clickhouse-go-linter v1.2.1/go.mod h1:pLorS7ffPTfuUV9M0SJgfHA/h/WQPQUk2FWG9x74cQ4= github.com/CycloneDX/cyclonedx-go v0.11.0 h1:GokP8FiRC+foiuwWhSSLpSD5H4hSWtGnR3wo7apkBFI= github.com/CycloneDX/cyclonedx-go v0.11.0/go.mod h1:vUvbCXQsEm48OI6oOlanxstwNByXjCZ2wuleUlwGEO8= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= @@ -206,8 +208,8 @@ github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7l github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0= github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k= -github.com/alecthomas/chroma/v2 v2.24.1 h1:m5ffpfZbIb++k8AqFEKy9uVgY12xIQtBsQlc6DfZJQM= -github.com/alecthomas/chroma/v2 v2.24.1/go.mod h1:l+ohZ9xRXIbGe7cIW+YZgOGbvuVLjMps/FYN/CwuabI= +github.com/alecthomas/chroma/v2 v2.27.0 h1:FodwmyOBgJULFYmDqibcp9pvfDLWdtPRh9v/r5BXYZs= +github.com/alecthomas/chroma/v2 v2.27.0/go.mod h1:NjJ3ciIgrqBNeIkWZ4e46nseoLDslxU1LmfCoL+wcY8= github.com/alecthomas/go-check-sumtype v0.3.1 h1:u9aUvbGINJxLVXiFvHUlPEaD7VDULsrxJb4Aq31NLkU= github.com/alecthomas/go-check-sumtype v0.3.1/go.mod h1:A8TSiN3UPRw3laIgWEUOHHLPa6/r9MtoigdlP5h3K/E= github.com/alecthomas/repr v0.5.2 h1:SU73FTI9D1P5UNtvseffFSGmdNci/O6RsqzeXJtP0Qs= @@ -364,8 +366,8 @@ github.com/bodgit/windows v1.0.1 h1:tF7K6KOluPYygXa3Z2594zxlkbKPAOvqr97etrGNIz4= github.com/bodgit/windows v1.0.1/go.mod h1:a6JLwrB4KrTR5hBpp8FI9/9W9jJfeQ2h4XDXU74ZCdM= github.com/bombsimon/wsl/v4 v4.7.0 h1:1Ilm9JBPRczjyUs6hvOPKvd7VL1Q++PL8M0SXBDf+jQ= github.com/bombsimon/wsl/v4 v4.7.0/go.mod h1:uV/+6BkffuzSAVYD+yGyld1AChO7/EuLrCF/8xTiapg= -github.com/bombsimon/wsl/v5 v5.8.0 h1:JTkyfs4yl8SPejrCF2GdABXE+mO1WvM7iUYzRWlsxDs= -github.com/bombsimon/wsl/v5 v5.8.0/go.mod h1:AbOLsulgkqP4ZnitHf9gwPtCOGlrzkk0jb0uNxRSY0o= +github.com/bombsimon/wsl/v5 v5.9.0 h1:WCrgZ7RQnZO5oEwbVTlYgBdU3wL294kR1BSWV8vTfsU= +github.com/bombsimon/wsl/v5 v5.9.0/go.mod h1:kjo4HiAV5FDkHC8/uzJq9mBffEEd6WT/nvN7DoMovDM= github.com/bradleyjkemp/cupaloy/v2 v2.8.0 h1:any4BmKE+jGIaMpnU8YgH/I2LPiLBufr6oMMlVBbn9M= github.com/bradleyjkemp/cupaloy/v2 v2.8.0/go.mod h1:bm7JXdkRd4BHJk9HpwqAI8BoAY1lps46Enkdqw6aRX0= github.com/breml/bidichk v0.3.3 h1:WSM67ztRusf1sMoqH6/c4OBCUlRVTKq+CbSeo0R17sE= @@ -386,8 +388,8 @@ github.com/buger/jsonparser v1.2.0 h1:4EFcvK1kD4jyj6YqNK6skK6w+y7FHHBR+XBCtxwu/6 github.com/buger/jsonparser v1.2.0/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= github.com/butuzov/ireturn v0.4.1 h1:vWb3NO4t77iku/sjCQ/2pHTQeOmxEhjIriJqRLg1Y+I= github.com/butuzov/ireturn v0.4.1/go.mod h1:q+DXKzTDV5guNuXLnIab9fKXizTn2miZHLhxH7V/GB4= -github.com/butuzov/mirror v1.3.0 h1:HdWCXzmwlQHdVhwvsfBb2Au0r3HyINry3bDWLYXiKoc= -github.com/butuzov/mirror v1.3.0/go.mod h1:AEij0Z8YMALaq4yQj9CPPVYOyJQyiexpQEQgihajRfI= +github.com/butuzov/mirror v1.3.3 h1:v0RsWBhfFc1RQqE/f3sHpSttKDtodFn0gFmtYyD4/hA= +github.com/butuzov/mirror v1.3.3/go.mod h1:h9BzzwYnTiHO0GzgvaTqIg7VSsOUhdIv51cHFFBmX1w= github.com/catenacyber/perfsprint v0.10.1 h1:u7Riei30bk46XsG8nknMhKLXG9BcXz3+3tl/WpKm0PQ= github.com/catenacyber/perfsprint v0.10.1/go.mod h1:DJTGsi/Zufpuus6XPGJyKOTMELe347o6akPvWG9Zcsc= github.com/ccojocar/zxcvbn-go v1.0.4 h1:FWnCIRMXPj43ukfX000kvBZvV6raSxakYr1nzyNrUcc= @@ -413,10 +415,10 @@ github.com/charmbracelet/harmonica v0.2.0 h1:8NxJWRWg/bzKqqEaaeFNipOu77YR5t8aSwG github.com/charmbracelet/harmonica v0.2.0/go.mod h1:KSri/1RMQOZLbw7AHqgcBycp8pgJnQMYYT8QZRqZ1Ao= github.com/charmbracelet/lipgloss v1.1.0 h1:vYXsiLHVkK7fp74RkV7b2kq9+zDLoEU4MZoFqR/noCY= github.com/charmbracelet/lipgloss v1.1.0/go.mod h1:/6Q8FR2o+kj8rz4Dq0zQc3vYf7X+B0binUUBwA0aL30= -github.com/charmbracelet/ultraviolet v0.0.0-20251205161215-1948445e3318 h1:OqDqxQZliC7C8adA7KjelW3OjtAxREfeHkNcd66wpeI= -github.com/charmbracelet/ultraviolet v0.0.0-20251205161215-1948445e3318/go.mod h1:Y6kE2GzHfkyQQVCSL9r2hwokSrIlHGzZG+71+wDYSZI= -github.com/charmbracelet/x/ansi v0.11.7 h1:kzv1kJvjg2S3r9KHo8hDdHFQLEqn4RBCb39dAYC84jI= -github.com/charmbracelet/x/ansi v0.11.7/go.mod h1:9qGpnAVYz+8ACONkZBUWPtL7lulP9No6p1epAihUZwQ= +github.com/charmbracelet/ultraviolet v0.0.0-20260811164956-006e29f97886 h1:rdnVWKgJpTVXKuKuJyxDJ+NFJdUaUqGvyGy61OcvlbA= +github.com/charmbracelet/ultraviolet v0.0.0-20260811164956-006e29f97886/go.mod h1:nAw0d9PhFp1qdzi2xhQU5YOu5sVpDIHWlaW2Uz/bCro= +github.com/charmbracelet/x/ansi v0.11.8 h1:JMFwp0CgDC2+jcOB162HH5k7I3FVbgFSMMYg7dSPBQQ= +github.com/charmbracelet/x/ansi v0.11.8/go.mod h1:ZNN+3mXny/516oTQPLMPIBeSINvNJJQ8uQXDgbeJxY0= github.com/charmbracelet/x/cellbuf v0.0.15 h1:ur3pZy0o6z/R7EylET877CBxaiE1Sp1GMxoFPAIztPI= github.com/charmbracelet/x/cellbuf v0.0.15/go.mod h1:J1YVbR7MUuEGIFPCaaZ96KDl5NoS0DAWkskup+mOY+Q= github.com/charmbracelet/x/term v0.2.2 h1:xVRT/S2ZcKdhhOuSP4t5cLi5o+JxklsoEObBSgfgZRk= @@ -518,6 +520,8 @@ github.com/djherbis/times v1.6.0 h1:w2ctJ92J8fBvWPxugmXIv7Nz7Q3iDMKNx9v5ocVH20c= github.com/djherbis/times v1.6.0/go.mod h1:gOHeRAz2h+VJNZ5Gmc/o7iD9k4wW7NMVqieYCY99oc0= github.com/dlclark/regexp2 v1.12.0 h1:0j4c5qQmnC6XOWNjP3PIXURXN2gWx76rd3KvgdPkCz8= github.com/dlclark/regexp2 v1.12.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= +github.com/dlclark/regexp2/v2 v2.2.1 h1:mf4KkFUj0gJuarK8P+LgiS+Lit7m9N1yAwEfPbee7R0= +github.com/dlclark/regexp2/v2 v2.2.1/go.mod h1:avUrQvPaLz2DrFNHJF0taWAFFX2C1GMSSoeiqFjcBmU= github.com/dmarkham/enumer v1.6.3 h1:B4aV4OsfzbrS5rvjILt4mMjiWBA//cKxJUMsvHZ8mEI= github.com/dmarkham/enumer v1.6.3/go.mod h1:DyjXaqCglj4GhELF73oWiparNkYkXvmOBLza/o4kO74= github.com/docker/cli v29.6.1+incompatible h1:oO7F4nn3Ovr/5TlfTUWFbMwBSS/B7Xs6Epv26gBrUP8= @@ -585,8 +589,8 @@ github.com/felixge/fgprof v0.9.5 h1:8+vR6yu2vvSKn08urWyEuxx75NWPEvybbkBirEpsbVY= github.com/felixge/fgprof v0.9.5/go.mod h1:yKl+ERSa++RYOs32d8K6WEXCB4uXdLls4ZaZPpayhMM= github.com/felixge/httpsnoop v1.1.0 h1:3YtUj32ZZkqZtt3sZZsClsymw/QDuVfpNhoA31zeORc= github.com/felixge/httpsnoop v1.1.0/go.mod h1:Zqxgdd+1Rkcz8euOqdr7lqgCRJztwr5hp9vDSi5UZCE= -github.com/firefart/nonamedreturns v1.0.6 h1:vmiBcKV/3EqKY3ZiPxCINmpS431OcE1S47AQUwhrg8E= -github.com/firefart/nonamedreturns v1.0.6/go.mod h1:R8NisJnSIpvPWheCq0mNRXJok6D8h7fagJTF8EMEwCo= +github.com/firefart/nonamedreturns v1.0.8 h1:iB32Dl17zJl1zlVEj/WlUWgx0HiRyQ85OUw1WHa4/II= +github.com/firefart/nonamedreturns v1.0.8/go.mod h1:vxFNvm5AfP/8rgAKFzYmnqx0yp1HjrYsErZ9pHPTznA= github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= @@ -597,8 +601,8 @@ github.com/fzipp/gocyclo v0.6.0/go.mod h1:rXPyn8fnlpa0R2csP/31uerbiVBugk5whMdlya github.com/gabriel-vasile/mimetype v1.4.13 h1:46nXokslUBsAJE/wMsp5gtO500a4F3Nkz9Ufpk2AcUM= github.com/gabriel-vasile/mimetype v1.4.13/go.mod h1:d+9Oxyo1wTzWdyVUPMmXFvp4F9tea18J8ufA774AB3s= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/ghostiam/protogetter v0.3.20 h1:oW7OPFit2FxZOpmMRPP9FffU4uUpfeE/rEdE1f+MzD0= -github.com/ghostiam/protogetter v0.3.20/go.mod h1:FjIu5Yfs6FT391m+Fjp3fbAYJ6rkL/J6ySpZBfnODuI= +github.com/ghostiam/protogetter v0.3.21 h1:EeWTGvL/Eyosp653hiWb6Byx4b69iJC4/E+za7vQHoI= +github.com/ghostiam/protogetter v0.3.21/go.mod h1:iAKSpyoHwYzay+OpjoWgwzRtPFthEfuUvmlomTThck0= github.com/github/go-spdx/v2 v2.7.0 h1:GzfXx4wFdlilARxmFRXW/mgUy3A4vSqZocCMFV6XFdQ= github.com/github/go-spdx/v2 v2.7.0/go.mod h1:Ftc45YYG1WzpzwEPKRVm9Jv8vDqOrN4gWoCkK+bHer0= github.com/gkampitakis/ciinfo v0.3.4 h1:5eBSibVuSMbb/H6Elc0IIEFbkzCJi3lm94n0+U7Z0KY= @@ -611,8 +615,8 @@ github.com/glebarez/sqlite v1.11.0 h1:wSG0irqzP6VurnMEpFGer5Li19RpIRi2qvQz++w0GM github.com/glebarez/sqlite v1.11.0/go.mod h1:h8/o8j5wiAsqSPoWELDUdJXhjAhsVliSn7bWZjOhrgQ= github.com/gliderlabs/ssh v0.3.8 h1:a4YXD1V7xMF9g5nTkdfnja3Sxy1PVDCj1Zg4Wb8vY6c= github.com/gliderlabs/ssh v0.3.8/go.mod h1:xYoytBv1sV0aL3CavoDuJIQNURXkkfPA/wxQ1pL1fAU= -github.com/go-critic/go-critic v0.14.3 h1:5R1qH2iFeo4I/RJU8vTezdqs08Egi4u5p6vOESA0pog= -github.com/go-critic/go-critic v0.14.3/go.mod h1:xwntfW6SYAd7h1OqDzmN6hBX/JxsEKl5up/Y2bsxgVQ= +github.com/go-critic/go-critic v0.14.4 h1:dSX4C3pWSeuMVxvQh6yG8U0ReSf3YOmKi4nwX5q7n/8= +github.com/go-critic/go-critic v0.14.4/go.mod h1:xwntfW6SYAd7h1OqDzmN6hBX/JxsEKl5up/Y2bsxgVQ= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= github.com/go-git/go-billy/v5 v5.9.1 h1:8U73XiOTfINdItHVa6z4Gv7ToObcZ6grkqQbLryLCdA= @@ -728,14 +732,16 @@ github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6 github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golangci/asciicheck v0.5.0 h1:jczN/BorERZwK8oiFBOGvlGPknhvq0bjnysTj4nUfo0= github.com/golangci/asciicheck v0.5.0/go.mod h1:5RMNAInbNFw2krqN6ibBxN/zfRFa9S6tA1nPdM0l8qQ= +github.com/golangci/canonicalheader v0.0.0-20260827115959-a25c71c521f6 h1:fVLolA3dG6s0brGetsiDAtcnpMSwVa2LqXJEw/9RJG4= +github.com/golangci/canonicalheader v0.0.0-20260827115959-a25c71c521f6/go.mod h1:1xo+NFW5S+bEf2DKXhaxuzvcDN5AR6o/KMwvqC5Mkpo= github.com/golangci/dupl v0.0.0-20260401084720-c99c5cf5c202 h1:CbTB8KpqnViI6lIXxp03Oclc4VFHi3K4BWC1TacsZ+A= github.com/golangci/dupl v0.0.0-20260401084720-c99c5cf5c202/go.mod h1:NUw9Zr2Sy7+HxzdjIULge71wI6yEg1lWQr7Evcu8K0E= github.com/golangci/go-printf-func-name v0.1.1 h1:hIYTFJqAGp1iwoIfsNTpoq1xZAarogrvjO9AfiW3B4U= github.com/golangci/go-printf-func-name v0.1.1/go.mod h1:Es64MpWEZbh0UBtTAICOZiB+miW53w/K9Or/4QogJss= -github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d h1:viFft9sS/dxoYY0aiOTsLKO2aZQAPT4nlQCsimGcSGE= -github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d/go.mod h1:ivJ9QDg0XucIkmwhzCDsqcnxxlDStoTl89jDMIoNxKY= -github.com/golangci/golangci-lint/v2 v2.12.2 h1:7+d1uY0bq1MU2UV3R5pW5Q7QWdcoq4naMRXM+gsJKrs= -github.com/golangci/golangci-lint/v2 v2.12.2/go.mod h1:opqHHuIcTG2R+4akzWMd4o1BnD9/1LcjICWOujr91U8= +github.com/golangci/gofmt v0.0.0-20260820135601-e84e05053792 h1:WL8YKrt3UbOBqSRU7GpP5BTtQTMWtVtj+mfPijgZeIg= +github.com/golangci/gofmt v0.0.0-20260820135601-e84e05053792/go.mod h1:te5hX0dW4C5r6YbXs+6ysNr8Q5UTmdIqGbb+mlFiYmA= +github.com/golangci/golangci-lint/v2 v2.13.2 h1:bCyq3E4vo9qwzifjpzJqYndEt7Ncva80qkk8G2B4TXU= +github.com/golangci/golangci-lint/v2 v2.13.2/go.mod h1:5xaMd1kAxV7GSBPEyngw8gnnjoRocqW9UVKdBR6627w= github.com/golangci/golines v0.15.0 h1:Qnph25g8Y1c5fdo1X7GaRDGgnMHgnxh4Gk4VfPTtRx0= github.com/golangci/golines v0.15.0/go.mod h1:AZjXd23tbHMpowhtnGlj9KCNsysj72aeZVVHnVcZx10= github.com/golangci/misspell v0.8.0 h1:qvxQhiE2/5z+BVRo1kwYA8yGz+lOlu5Jfvtx2b04Jbg= @@ -933,8 +939,8 @@ github.com/jdx/go-netrc v1.0.0/go.mod h1:Gh9eFQJnoTNIRHXl2j5bJXA1u84hQWJWgGh569z github.com/jedib0t/go-pretty/v6 v6.8.3 h1:yVSk5aemoYHCvcrtqyXklwqcgHQIQzmy/oUzFlmffSQ= github.com/jedib0t/go-pretty/v6 v6.8.3/go.mod h1:YwC5CE4fJ1HFUDeivSV1r//AmANFHyqczZk+U6BDALU= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jgautheron/goconst v1.10.0 h1:Ptt+OoE4NaEWKhLrWrrN3IpZdGLiqaf7WLnEX/iv4Jw= -github.com/jgautheron/goconst v1.10.0/go.mod h1:0p+wv1lFOiUr0IlNNT1nrm6+8DB8u2sU6KHGzFRXHDc= +github.com/jgautheron/goconst v1.11.0 h1:KgN90z5qXt5f0Uzf3cWXev3hfMMFUyNeKdpkSBRvLDk= +github.com/jgautheron/goconst v1.11.0/go.mod h1:0p+wv1lFOiUr0IlNNT1nrm6+8DB8u2sU6KHGzFRXHDc= github.com/jhump/protoreflect/v2 v2.0.0-beta.2 h1:qZU+rEZUOYTz1Bnhi3xbwn+VxdXkLVeEpAeZzVXLY88= github.com/jhump/protoreflect/v2 v2.0.0-beta.2/go.mod h1:4tnOYkB/mq7QTyS3YKtVtNrJv4Psqout8HA1U+hZtgM= github.com/jinzhu/copier v0.4.0 h1:w3ciUoD19shMCRargcpm0cm91ytaBhDvuRpz1ODO/U8= @@ -966,8 +972,8 @@ github.com/kevinburke/ssh_config v1.6.0 h1:J1FBfmuVosPHf5GRdltRLhPJtJpTlMdKTBjRg github.com/kevinburke/ssh_config v1.6.0/go.mod h1:q2RIzfka+BXARoNexmF9gkxEX7DmvbW9P4hIVx2Kg4M= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/errcheck v1.10.0 h1:Lvs/YAHP24YKg08LA8oDw2z9fJVme090RAXd90S+rrw= -github.com/kisielk/errcheck v1.10.0/go.mod h1:kQxWMMVZgIkDq7U8xtG/n2juOjbLgZtedi0D+/VL/i8= +github.com/kisielk/errcheck v1.20.0 h1:9rwHBNKzd4wkDWcROy3DvFGNqEPlkxBg305rvk7HabI= +github.com/kisielk/errcheck v1.20.0/go.mod h1:O+f80MKNwX8Oor2jwgpeQ9An7uJm+hRSgT+h22knRJU= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kkHAIKE/contextcheck v1.1.6 h1:7HIyRcnyzxL9Lz06NGhiKvenXq7Zw6Q0UQu/ttjfJCE= github.com/kkHAIKE/contextcheck v1.1.6/go.mod h1:3dDbMRNBFaq8HFXWC1JyvDSPm43CmE6IuHam8Wr0rkg= @@ -998,12 +1004,10 @@ github.com/kulti/thelper v0.7.1 h1:fI8QITAoFVLx+y+vSyuLBP+rcVIB8jKooNSCT2EiI98= github.com/kulti/thelper v0.7.1/go.mod h1:NsMjfQEy6sd+9Kfw8kCP61W1I0nerGSYSFnGaxQkcbs= github.com/kunwardeep/paralleltest v1.0.15 h1:ZMk4Qt306tHIgKISHWFJAO1IDQJLc6uDyJMLyncOb6w= github.com/kunwardeep/paralleltest v1.0.15/go.mod h1:di4moFqtfz3ToSKxhNjhOZL+696QtJGCFe132CbBLGk= -github.com/lasiar/canonicalheader v1.1.2 h1:vZ5uqwvDbyJCnMhmFYimgMZnJMjwljN5VGY0VKbMXb4= -github.com/lasiar/canonicalheader v1.1.2/go.mod h1:qJCeLFS0G/QlLQ506T+Fk/fWMa2VmBUiEI2cuMK4djI= github.com/ldez/exptostd v0.4.5 h1:kv2ZGUVI6VwRfp/+bcQ6Nbx0ghFWcGIKInkG/oFn1aQ= github.com/ldez/exptostd v0.4.5/go.mod h1:QRjHRMXJrCTIm9WxVNH6VW7oN7KrGSht69bIRwvdFsM= -github.com/ldez/gomoddirectives v0.8.0 h1:JqIuTtgvFC2RdH1s357vrE23WJF2cpDCPFgA/TWDGpk= -github.com/ldez/gomoddirectives v0.8.0/go.mod h1:jutzamvZR4XYJLr0d5Honycp4Gy6GEg2mS9+2YX3F1Q= +github.com/ldez/gomoddirectives v0.9.0 h1:2YV/EX7nVlWL4jySusYTzBKHuE3D2fgcRsQuMa3yIoo= +github.com/ldez/gomoddirectives v0.9.0/go.mod h1:DdZzfm9MdXCjn2/UGYXCFfo+tzrp2Ib4iD2Q0kIJkwE= github.com/ldez/grignotin v0.10.1 h1:keYi9rYsgbvqAZGI1liek5c+jv9UUjbvdj3Tbn5fn4o= github.com/ldez/grignotin v0.10.1/go.mod h1:UlDbXFCARrXbWGNGP3S5vsysNXAPhnSuBufpTEbwOas= github.com/ldez/structtags v0.6.1 h1:bUooFLbXx41tW8SvkfwfFkkjPYvFFs59AAMgVg6DUBk= @@ -1015,8 +1019,8 @@ github.com/ldez/usetesting v0.5.0/go.mod h1:Spnb4Qppf8JTuRgblLrEWb7IE6rDmUpGvxY3 github.com/ledongthuc/pdf v0.0.0-20220302134840-0c2507a12d80/go.mod h1:imJHygn/1yfhB7XSJJKlFZKl/J+dCPAknuiaGOshXAs= github.com/leonklingele/grouper v1.1.2 h1:o1ARBDLOmmasUaNDesWqWCIFH3u7hoFlM84YrjT3mIY= github.com/leonklingele/grouper v1.1.2/go.mod h1:6D0M/HVkhs2yRKRFZUoGjeDy7EZTfFBE9gl4kjmIGkA= -github.com/lucasb-eyer/go-colorful v1.4.0 h1:UtrWVfLdarDgc44HcS7pYloGHJUjHV/4FwW4TvVgFr4= -github.com/lucasb-eyer/go-colorful v1.4.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= +github.com/lucasb-eyer/go-colorful v1.4.1 h1:1EO+WB73+EH8EVbzlrG3KLAfEypQWVHIBqlTf+2hNss= +github.com/lucasb-eyer/go-colorful v1.4.1/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= github.com/lyft/protoc-gen-star v0.5.3/go.mod h1:V0xaHgaf5oCCqmcxYcWiDfTiKsZsRc87/1qhoTACD8w= github.com/macabu/inamedparam v0.2.0 h1:VyPYpOc10nkhI2qeNUdh3Zket4fcZjEWe35poddBCpE= github.com/macabu/inamedparam v0.2.0/go.mod h1:+Pee9/YfGe5LJ62pYXqB89lJ+0k5bsR8Wgz/C0Zlq3U= @@ -1148,8 +1152,8 @@ github.com/nix-community/go-nix v0.0.0-20250101154619-4bdde671e0a1 h1:kpt9ZfKcm+ github.com/nix-community/go-nix v0.0.0-20250101154619-4bdde671e0a1/go.mod h1:qgCw4bBKZX8qMgGeEZzGFVT3notl42dBjNqO2jut0M0= github.com/nsf/jsondiff v0.0.0-20210926074059-1e845ec5d249 h1:NHrXEjTNQY7P0Zfx1aMrNhpgxHmow66XQtm0aQLY0AE= github.com/nsf/jsondiff v0.0.0-20210926074059-1e845ec5d249/go.mod h1:mpRZBD8SJ55OIICQ3iWH0Yz3cjzA61JdqMLoWXeB2+8= -github.com/nunnatsa/ginkgolinter v0.23.0 h1:x3o4DGYOWbBMP/VdNQKgSj+25aJKx2Pe6lHr8gBcgf8= -github.com/nunnatsa/ginkgolinter v0.23.0/go.mod h1:9qN1+0akwXEccwV1CAcCDfcoBlWXHB+ML9884pL4SZ4= +github.com/nunnatsa/ginkgolinter v0.24.0 h1:Mp0EagluLFP98JatP6nqp/gGEoljNG97uf9AcxcBVy8= +github.com/nunnatsa/ginkgolinter v0.24.0/go.mod h1:2ZMRuzX6+3XXyY6UZOwb6n+MCocVGbkIsDBC4vuWz5c= github.com/nwaples/rardecode/v2 v2.2.5 h1:L5doqgGfQwI7qADJMqnkrSB86rpPsqQDrHeO0HWa5JY= github.com/nwaples/rardecode/v2 v2.2.5/go.mod h1:7uz379lSxPe6j9nvzxUZ+n7mnJNgjsRNb6IbvGVHRmw= github.com/olekukonko/cat v0.0.0-20250911104152-50322a0618f6 h1:zrbMGy9YXpIeTnGj4EljqMiZsIcE09mmF8XsD5AYOJc= @@ -1160,10 +1164,10 @@ github.com/olekukonko/ll v0.1.8 h1:ysHCJRGHYKzmBSdz9w5AySztx7lG8SQY+naTGYUbsz8= github.com/olekukonko/ll v0.1.8/go.mod h1:RPRC6UcscfFZgjo1nulkfMH5IM0QAYim0LfnMvUuozw= github.com/olekukonko/tablewriter v1.1.4 h1:ORUMI3dXbMnRlRggJX3+q7OzQFDdvgbN9nVWj1drm6I= github.com/olekukonko/tablewriter v1.1.4/go.mod h1:+kedxuyTtgoZLwif3P1Em4hARJs+mVnzKxmsCL/C5RY= -github.com/onsi/ginkgo/v2 v2.28.2 h1:DTrMfpqxiNUyQ3Y0zhn1n3cOO2euFgQPYIpkWwxVFps= -github.com/onsi/ginkgo/v2 v2.28.2/go.mod h1:CLtbVInNckU3/+gC8LzkGUb9oF+e8W8TdUsxPwvdOgE= -github.com/onsi/gomega v1.39.1 h1:1IJLAad4zjPn2PsnhH70V4DKRFlrCzGBNrNaru+Vf28= -github.com/onsi/gomega v1.39.1/go.mod h1:hL6yVALoTOxeWudERyfppUcZXjMwIMLnuSfruD2lcfg= +github.com/onsi/ginkgo/v2 v2.32.0 h1:Hw7s2pVrQo/8Yz5N77qdnpHaoc+c6cC9WIV1Jce+J6E= +github.com/onsi/ginkgo/v2 v2.32.0/go.mod h1:+aXOY+vzZ5mu2iI2HpTZUPmM//oQfsNFX6gU9kNcA44= +github.com/onsi/gomega v1.42.1 h1:iN1rCUX+44NZ1Dc97MPoeFYbFR0vh8zxoxMFwKdyZ6I= +github.com/onsi/gomega v1.42.1/go.mod h1:REff/hsDsodHoKlWsP2mAPhu1+5/6hVYNf9rIEBpeSg= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.1.1 h1:y0fUlFfIZhPF1W537XOLg0/fcx6zcHCJwooC2xJA040= @@ -1267,8 +1271,8 @@ github.com/quic-go/qpack v0.6.0 h1:g7W+BMYynC1LbYLSqRt8PBg5Tgwxn214ZZR34VIOjz8= github.com/quic-go/qpack v0.6.0/go.mod h1:lUpLKChi8njB4ty2bFLX2x4gzDqXwUpaO1DP9qMDZII= github.com/quic-go/quic-go v0.60.0 h1:xcQioE8OM66UQLeUMHltK1CCcOu3JbVB4JAQdDQSB+0= github.com/quic-go/quic-go v0.60.0/go.mod h1:wpKpjmPpftl30sL6pFh7REVpjbcCVy4zt2vDyK1TuJk= -github.com/raeperd/recvcheck v0.2.0 h1:GnU+NsbiCqdC2XX5+vMZzP+jAJC5fht7rcVTAhX74UI= -github.com/raeperd/recvcheck v0.2.0/go.mod h1:n04eYkwIR0JbgD73wT8wL4JjPC3wm0nFtzBnWNocnYU= +github.com/raeperd/recvcheck v0.3.0 h1:PM+XYvyxIj3bo+kobJfFTdTuU3Lmfu96mKDbyHDbRt8= +github.com/raeperd/recvcheck v0.3.0/go.mod h1:PZNwG+HztFYMH2ZPq0Hu3QgkV2yiA6VrtNz9c1fXWJo= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= @@ -1278,8 +1282,8 @@ github.com/rodaine/protogofakeit v0.1.1 h1:ZKouljuRM3A+TArppfBqnH8tGZHOwM/pjvtXe github.com/rodaine/protogofakeit v0.1.1/go.mod h1:pXn/AstBYMaSfc1/RqH3N82pBuxtWgejz1AlYpY1mI0= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.15.0 h1:D0RCU5rMAp+SpgkiNdrjfJ+LX4J1M32V2NeCY7EJ6hc= -github.com/rogpeppe/go-internal v1.15.0/go.mod h1:DrUVZyrJU+txYW5/1kwtXQSMFio52ZOxX7yM1VHvnxs= +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/rs/cors v1.11.1 h1:eU3gRzXLRK57F5rKMGMZURNdIG4EoAmX8k94r9wXWHA= github.com/rs/cors v1.11.1/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= @@ -1318,8 +1322,8 @@ github.com/scylladb/termtables v0.0.0-20191203121021-c4c0b6d42ff4/go.mod h1:C1a7 github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= github.com/sebdah/goldie/v2 v2.8.0 h1:dZb9wR8q5++oplmEiJT+U/5KyotVD+HNGCAc5gNr8rc= github.com/sebdah/goldie/v2 v2.8.0/go.mod h1:oZ9fp0+se1eapSRjfYbsV/0Hqhbuu3bJVvKI/NNtssI= -github.com/securego/gosec/v2 v2.26.1 h1:gdkttGhQFVehqRJ8grKH4DrpqM/QlPKNHBnl8QgcEC4= -github.com/securego/gosec/v2 v2.26.1/go.mod h1:57UW4p0uoP3kxoTkhoo3axLdVAi+OWrLg/Ax/kdqtPE= +github.com/securego/gosec/v2 v2.28.0 h1:ZsSdiDb0AtTpLFVol5z91gbMei9ZiLEPG/pZjZujp7c= +github.com/securego/gosec/v2 v2.28.0/go.mod h1:lb4/9AHe+lJy/kjWmWRWWsEipvbwGKuxf+tY1Pmjdnk= github.com/segmentio/asm v1.2.1 h1:DTNbBqs57ioxAD4PrArqftgypG4/qNpXoJx8TVXxPR0= github.com/segmentio/asm v1.2.1/go.mod h1:BqMnlJP91P8d+4ibuonYZw9mfnzI9HfxselHZr5aAcs= github.com/segmentio/encoding v0.5.4 h1:OW1VRern8Nw6ITAtwSZ7Idrl3MXCFwXHPgqESYfvNt0= @@ -1346,8 +1350,8 @@ github.com/siderolabs/importvet v0.2.0/go.mod h1:X0AIl/3MnvlEeCzYRJe/t9YOk4FjPhT github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/sirupsen/logrus v1.9.4 h1:TsZE7l11zFCLZnZ+teH4Umoq5BhEIfIzfRDZ1Uzql2w= -github.com/sirupsen/logrus v1.9.4/go.mod h1:ftWc9WdOfJ0a92nsE2jF5u5ZwH8Bv2zdeOC42RjbV2g= +github.com/sirupsen/logrus v1.10.1 h1:xi4336Zh11WpU14fXR6I67V3yaTPQYwRx2WEtHbRg4Q= +github.com/sirupsen/logrus v1.10.1/go.mod h1:vsQHnG7xzNsxk3NrwboUiWPnIC3dmbjcGPykD7+tiHk= github.com/sivchari/containedctx v1.0.3 h1:x+etemjbsh2fB5ewm5FeLNi5bUjK0V8n0RB+Wwfd0XE= github.com/sivchari/containedctx v1.0.3/go.mod h1:c1RDvCbnJLtH4lLcYD/GqwiBSSf4F5Qk0xld2rBqzJ4= github.com/skeema/knownhosts v1.3.2 h1:EDL9mgf4NzwMXCTfaxSD/o/a5fxDw/xL9nkU28JjdBg= @@ -1411,8 +1415,8 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ 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.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= -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= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= @@ -1438,8 +1442,8 @@ github.com/tidwall/btree v1.8.1 h1:27ehoXvm5AG/g+1VxLS1SD3vRhp/H7LuEfwNvddEdmA= github.com/tidwall/btree v1.8.1/go.mod h1:jBbTdUWhSZClZWoDg54VnvV7/54modSOzDN7VXftj1A= github.com/tidwall/gjson v1.19.0 h1:xwxm7n691Uf3u5OFjzngavjGTh55KX5q/9w9xHW88JU= github.com/tidwall/gjson v1.19.0/go.mod h1:V37/opeE/JbLUOfH0QTXiNez2l0RUjYUhpT4szFQAfc= -github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= -github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= +github.com/tidwall/match v1.2.0 h1:0pt8FlkOwjN2fPt4bIl4BoNxb98gGHN2ObFEDkrfZnM= +github.com/tidwall/match v1.2.0/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= github.com/tidwall/pretty v1.2.1 h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4= github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY= @@ -1464,8 +1468,8 @@ github.com/umisama/go-cpe v0.0.0-20190323060751-cdd6c3c28a23 h1:+168JmE638t0Oxro github.com/umisama/go-cpe v0.0.0-20190323060751-cdd6c3c28a23/go.mod h1:Jv/KoYWD3+46wW8r3pEwISwtgv5Q8NTfFto2wFRKvoA= github.com/uudashr/gocognit v1.2.1 h1:CSJynt5txTnORn/DkhiB4mZjwPuifyASC8/6Q0I/QS4= github.com/uudashr/gocognit v1.2.1/go.mod h1:acaubQc6xYlXFEMb9nWX2dYBzJ/bIjEkc1zzvyIZg5Q= -github.com/uudashr/iface v1.4.2 h1:06Vq5RKVYThBsj0Bnw4oasMjD1r+7CE/bcKOA8dVSvg= -github.com/uudashr/iface v1.4.2/go.mod h1:pbeBPlbuU2qkNDn0mmfrxP2X+wjPMIQAy+r1MBXSXtg= +github.com/uudashr/iface v1.5.1 h1:BS3yrgaT55s3dAtJoxuTnsZNbsejq/mVuzp49YDyfBA= +github.com/uudashr/iface v1.5.1/go.mod h1:5UWoT6SvTdTww/KToRj6clO+n4Kg3/NrAQvgOB+5Ggw= github.com/vbatts/go-mtree v0.7.0 h1:ytmOc3MTRidZiBi9VBCyZ2BHe4fZS47L5v7BVXDWW4E= github.com/vbatts/go-mtree v0.7.0/go.mod h1:EjdpFC+LZy1TXbRGNa1MKKgjQ+7ew3foMFJK8o4/TdY= github.com/vifraa/gopom v1.0.0 h1:L9XlKbyvid8PAIK8nr0lihMApJQg/12OBvMA28BcWh0= @@ -1524,8 +1528,8 @@ go-simpler.org/sloglint v0.12.0 h1:UzWDlLWNE5FLqsvyq3tWYHuQMbqrervOhT8qPl4Mmw4= go-simpler.org/sloglint v0.12.0/go.mod h1:jBjjC2bm8rYrs88oTRlFX497kWjJsyZWYoNaXkGRI6I= go.augendre.info/arangolint v0.4.0 h1:xSCZjRoS93nXazBSg5d0OGCi9APPLNMmmLrC995tR50= go.augendre.info/arangolint v0.4.0/go.mod h1:l+f/b4plABuFISuKnTGD4RioXiCCgghv2xqst/xOvAA= -go.augendre.info/fatcontext v0.9.0 h1:Gt5jGD4Zcj8CDMVzjOJITlSb9cEch54hjRRlN3qDojE= -go.augendre.info/fatcontext v0.9.0/go.mod h1:L94brOAT1OOUNue6ph/2HnwxoNlds9aXDF2FcUntbNw= +go.augendre.info/fatcontext v0.10.0 h1:HhFopmivh8U1+AU7f0kuwUeg2eiIns7YsGQOMHwSJ90= +go.augendre.info/fatcontext v0.10.0/go.mod h1:pqpGvA9GlrXy+aXkp8L2dKz12Zp4g2FhzcAtwToU+2w= go.etcd.io/bbolt v1.4.3 h1:dEadXpI6G79deX5prL3QRNP6JB8UxVkqo4UPnHaNXJo= go.etcd.io/bbolt v1.4.3/go.mod h1:tKQlpPaYCVFctUIgFKFnAlvbmB3tpy1vkTnDWohtc0E= go.etcd.io/etcd/api/v3 v3.5.1/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= @@ -1625,8 +1629,8 @@ golang.org/x/exp v0.0.0-20260709172345-9ea1abe57597 h1:qLvzZeaANDgyVOA8pyHCOStGl golang.org/x/exp v0.0.0-20260709172345-9ea1abe57597/go.mod h1:EdfpwwqSu+0Li0mzskwHU6FWDV3t9Q+RZDo3QMUtL3Q= golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/exp/typeparams v0.0.0-20230203172020-98cc5a0785f9/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= -golang.org/x/exp/typeparams v0.0.0-20260218203240-3dfff04db8fa h1:6Wi43P0isP8Nl8D4qJmA3VC4FswVH0RJkr5cauo67SQ= -golang.org/x/exp/typeparams v0.0.0-20260218203240-3dfff04db8fa/go.mod h1:PqrXSW65cXDZH0k4IeUbhmg/bcAZDbzNz3byBpKCsXo= +golang.org/x/exp/typeparams v0.0.0-20260811152304-ee035b5b010f h1:+lI8cDJ4uceLipg2f1ODay7fEuLkk0BIHXd6PB8icxo= +golang.org/x/exp/typeparams v0.0.0-20260811152304-ee035b5b010f/go.mod h1:PqrXSW65cXDZH0k4IeUbhmg/bcAZDbzNz3byBpKCsXo= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -2114,8 +2118,8 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.7.0 h1:w6WUp1VbkqPEgLz4rkBzH/CSU6HkoqNLp6GstyTx3lU= -honnef.co/go/tools v0.7.0/go.mod h1:pm29oPxeP3P82ISxZDgIYeOaf9ta6Pi0EWvCFoLG2vc= +honnef.co/go/tools v0.8.1 h1:+JKf3xJ1ni4CwrhVg4/pqsfPGP6vNAXcKbMXJodYx3w= +honnef.co/go/tools v0.8.1/go.mod h1:XA+OnlRA9EDh/ukGvXMNSZNKGwFQJ+5dER0ioUkOxks= howett.net/plist v1.0.1 h1:37GdZ8tP09Q35o9ych3ehygcsL+HqKSwzctveSlarvM= howett.net/plist v1.0.1/go.mod h1:lqaXoTrLY4hg8tnEzNru53gicrbv7rrk+2xJA/7hw9g= k8s.io/code-generator v0.36.2 h1:iBNFYhClojQaVrF99Z3iTAad7LztQh3yCtwR8L8Ocpg= @@ -2154,8 +2158,8 @@ modernc.org/token v1.1.0 h1:Xl7Ap9dKaEs5kLoOQeQmPWevfnk/DM5qcLcYlA8ys6Y= modernc.org/token v1.1.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= mvdan.cc/gofumpt v0.11.0 h1:0H01XB95PnN2QgCSR9ELdZyTlJqNZ7181B0BTMh5VZc= mvdan.cc/gofumpt v0.11.0/go.mod h1:BeT5wCsOJt6J9zT2MZIOGszjUHzFkn1/l9g6xAzqsXo= -mvdan.cc/unparam v0.0.0-20251027182757-5beb8c8f8f15 h1:ssMzja7PDPJV8FStj7hq9IKiuiKhgz9ErWw+m68e7DI= -mvdan.cc/unparam v0.0.0-20251027182757-5beb8c8f8f15/go.mod h1:4M5MMXl2kW6fivUT6yRGpLLPNfuGtU2Z0cPvFquGDYU= +mvdan.cc/unparam v0.0.0-20260823230713-2fa3d841b0c8 h1:Re1NRyLpiAt9kB+ImaaoapwWiQXrKwER4tY8fLOkDew= +mvdan.cc/unparam v0.0.0-20260823230713-2fa3d841b0c8/go.mod h1:MrS/+zJ1M2xvGXhKktiHbNQeQPyg3Qel+KkzT+f7/i4= mvdan.cc/xurls/v2 v2.6.0 h1:3NTZpeTxYVWNSokW3MKeyVkz/j7uYXYiMtXRUfmjbgI= mvdan.cc/xurls/v2 v2.6.0/go.mod h1:bCvEZ1XvdA6wDnxY7jPPjEmigDtvtvPXAD/Exa9IMSk= pgregory.net/rapid v1.2.0 h1:keKAYRcjm+e1F0oAuU5F5+YPAWcyxNNRK2wud503Gnk=