Skip to content

Commit

Permalink
chore: pins/linter update
Browse files Browse the repository at this point in the history
  • Loading branch information
carlmontanari committed Sep 16, 2024
1 parent 50f8abc commit 4fa74f2
Show file tree
Hide file tree
Showing 7 changed files with 166 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/vars.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ GO_VERSION=1.22
DEVSPACE_VERSION=v6.3.12
GCI_VERSION=v0.13.4
GOFUMPT_VERSION=v0.6.0
GOLANGCI_LINT_VERSION=v1.59.1
GOLANGCI_LINT_VERSION=v1.61.0
GOLINES_VERSION=v0.12.2
GOTESTSUM_VERSION=v1.12.0
HELM_VERSION=v3.15.3
Expand Down
4 changes: 2 additions & 2 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ linters:
enable:
- asciicheck
- bodyclose
- copyloopvar
- decorder
- dogsled
- dupl
Expand All @@ -70,7 +71,6 @@ linters:
- errname
- errorlint
- exhaustive
- exportloopref
- forbidigo
- forcetypeassert
- funlen
Expand Down Expand Up @@ -189,4 +189,4 @@ output:
uniq-by-line: false

service:
golangci-lint-version: 1.59.x
golangci-lint-version: 1.61.x
2 changes: 1 addition & 1 deletion controllers/topology/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ func (r *DeploymentReconciler) renderDeploymentContainerStatus(
TimeoutSeconds: 1,
SuccessThreshold: 1,
PeriodSeconds: probePeriodSeconds,
FailureThreshold: int32(failureThresholds),
FailureThreshold: int32(failureThresholds), //nolint:gosec
}

// after the startup probe has done its thing we set run the readiness probe -- since the
Expand Down
4 changes: 2 additions & 2 deletions controllers/topology/serviceexpose.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ func (r *ServiceExposeReconciler) parseContainerlabTopologyPortsSection(
"port-%d-%s", typedPort.DestinationPort, strings.ToLower(typedPort.Protocol),
),
Protocol: k8scorev1.Protocol(typedPort.Protocol),
Port: int32(typedPort.DestinationPort),
Port: int32(typedPort.DestinationPort), //nolint: gosec
TargetPort: intstr.IntOrString{
IntVal: int32(typedPort.ExposePort),
IntVal: int32(typedPort.ExposePort), //nolint: gosec
},
}
}
Expand Down
63 changes: 52 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,70 +5,111 @@ go 1.22.1
require (
github.com/carlmontanari/difflibgo v0.0.0-20240227210139-93685b1c22ae
github.com/carlmontanari/slurpeeth v0.0.0-20240209224827-246fa87e31f3
github.com/openconfig/kne v0.1.18
github.com/openconfig/kne v0.2.1
github.com/urfave/cli/v2 v2.27.4
google.golang.org/protobuf v1.34.2
gopkg.in/yaml.v3 v3.0.1
k8s.io/api v0.31.0
k8s.io/apiextensions-apiserver v0.31.0
k8s.io/apimachinery v0.31.0
k8s.io/client-go v0.31.0
k8s.io/api v0.31.1
k8s.io/apiextensions-apiserver v0.31.1
k8s.io/apimachinery v0.31.1
k8s.io/client-go v0.31.1
k8s.io/klog/v2 v2.130.1
k8s.io/kube-openapi v0.0.0-20240812233141-91dab695df6f
k8s.io/kube-openapi v0.0.0-20240903163716-9e1beecbcb38
sigs.k8s.io/controller-runtime v0.19.0
sigs.k8s.io/yaml v1.4.0
)

require golang.org/x/crypto v0.26.0
require golang.org/x/crypto v0.27.0

require (
github.com/NYTimes/gziphandler v1.1.1 // indirect
github.com/antlr4-go/antlr/v4 v4.13.0 // indirect
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/coreos/go-semver v0.3.1 // indirect
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/jsonreference v0.21.0 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/cel-go v0.20.1 // indirect
github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
github.com/imdario/mergo v0.3.15 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/moby/spdystream v0.4.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.55.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/spf13/cobra v1.8.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/stoewer/go-strcase v1.2.0 // indirect
github.com/x448/float16 v0.8.4 // indirect
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
go.etcd.io/etcd/api/v3 v3.5.14 // indirect
go.etcd.io/etcd/client/pkg/v3 v3.5.14 // indirect
go.etcd.io/etcd/client/v3 v3.5.14 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.53.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 // indirect
go.opentelemetry.io/otel v1.28.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 // indirect
go.opentelemetry.io/otel/metric v1.28.0 // indirect
go.opentelemetry.io/otel/sdk v1.28.0 // indirect
go.opentelemetry.io/otel/trace v1.28.0 // indirect
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.26.0 // indirect
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/oauth2 v0.21.0 // indirect
golang.org/x/sys v0.23.0 // indirect
golang.org/x/term v0.23.0 // indirect
golang.org/x/text v0.17.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.25.0 // indirect
golang.org/x/term v0.24.0 // indirect
golang.org/x/text v0.18.0 // indirect
golang.org/x/time v0.5.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240701130421-f6361c86f094 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 // indirect
google.golang.org/grpc v1.65.0 // indirect
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
k8s.io/apiserver v0.31.1 // indirect
k8s.io/component-base v0.31.1 // indirect
k8s.io/kms v0.31.1 // indirect
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 // indirect
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
)
Loading

0 comments on commit 4fa74f2

Please sign in to comment.