Skip to content

Commit 672996f

Browse files
52095 bump dependencies (#1126)
* Bump dependencies stemming from lasso-v0.2.5-rc.1 * Backout golangci bump brought in by a renovate PR -- too early for that.
1 parent 9aaf74a commit 672996f

File tree

6 files changed

+29
-51
lines changed

6 files changed

+29
-51
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ jobs:
4040
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
4141
with:
4242
go-version-file: 'go.mod'
43+
- name: Install golangci-lint
44+
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6.5.2
45+
with:
46+
version: v1.64.8
4347

4448
# TODO: Pull this next one out once there's a helm-release for rancher 2.9
4549
- name: Checkout rancher/rancher and build the chart

.golangci.json

Lines changed: 7 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,22 @@
11
{
2-
"version": "2",
3-
"formatters": {
4-
"enable": [
5-
"goimports",
6-
"gofmt"
7-
],
8-
"exclusions": {
9-
"paths": [
10-
"pkg/generated/objects/auditlog.cattle.io/v1/objects.go",
11-
"pkg/generated/objects/catalog.cattle.io/v1/objects.go",
12-
"pkg/generated/objects/core/v1/objects.go",
13-
"pkg/generated/objects/management.cattle.io/v3/objects.go",
14-
"pkg/generated/objects/provisioning.cattle.io/v1/objects.go",
15-
"pkg/generated/objects/rbac.authorization.k8s.io/v1/objects.go"
16-
]
17-
}
18-
},
192
"linters": {
203
"disable-all": true,
214
"enable": [
225
"govet",
6+
"revive",
7+
"goimports",
238
"misspell",
24-
"ineffassign"
25-
],
26-
"disable": [
27-
"revive"
9+
"ineffassign",
10+
"gofmt"
2811
]
2912
},
30-
"linters-settings": {
31-
"revive": {
32-
"rules": [
33-
{
34-
"name" : "exported",
35-
"disabled": true
36-
}
37-
]
38-
},
39-
"comment": [
40-
"This next block doesn't suppress the comment-requirement for exported names",
41-
"so disable revive until it does."
42-
]
13+
"run": {
14+
"timeout": "10m"
4315
},
4416
"issues": {
4517
"exclude-rules": [
4618
{
47-
"linters": "revive",
19+
"linters": ["revive"],
4820
"text": "should have comment or be unexported"
4921
}
5022
],

Dockerfile.dapper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN zypper -n install git docker vim less file curl wget awk
1111
RUN curl -sL https://get.helm.sh/helm-${HELM_VERSION}-linux-${ARCH}.tar.gz | tar xvzf - -C /usr/local/bin --strip-components=1
1212

1313
RUN if [ "${ARCH}" = "amd64" ]; then \
14-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v2.4.0; \
14+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.64.8; \
1515
helm plugin install https://github.com/helm-unittest/helm-unittest.git --version ${HELM_UNITTEST_VERSION}>/out.txt 2>&1; \
1616
fi
1717

go.mod

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ require (
3636
github.com/evanphx/json-patch v5.9.11+incompatible
3737
github.com/go-ldap/ldap/v3 v3.4.11
3838
github.com/gorilla/mux v1.8.1
39-
github.com/rancher/dynamiclistener v0.7.2-rc1
39+
github.com/rancher/dynamiclistener v0.7.2-rc.3
4040
github.com/rancher/jsonpath v0.0.0-20250620213443-ad24535cf0c1
4141
github.com/rancher/lasso v0.2.5-rc.1
4242
github.com/rancher/rancher/pkg/apis v0.0.0-20250918152046-69e9a6ff0ae9
4343
github.com/rancher/rke v1.8.6
44-
github.com/rancher/wrangler/v3 v3.2.4
44+
github.com/rancher/wrangler/v3 v3.3.0-rc.2
4545
github.com/robfig/cron v1.2.0
4646
github.com/sirupsen/logrus v1.9.3
4747
github.com/stretchr/testify v1.11.1
@@ -59,6 +59,8 @@ require (
5959
sigs.k8s.io/yaml v1.6.0
6060
)
6161

62+
require golang.org/x/tools/go/expect v0.1.0-deprecated // indirect
63+
6264
require (
6365
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect
6466
github.com/beorn7/perks v1.0.1 // indirect
@@ -96,7 +98,8 @@ require (
9698
github.com/rancher/eks-operator v1.12.1 // indirect
9799
github.com/rancher/fleet/pkg/apis v0.13.0 // indirect
98100
github.com/rancher/gke-operator v1.12.1 // indirect
99-
github.com/rancher/norman v0.7.0 // indirect
101+
//TODO: Replace with a tag during un-rc'ing
102+
github.com/rancher/norman v0.7.1-0.20251002202451-d14394e537ab // indirect
100103
github.com/spf13/pflag v1.0.6 // indirect
101104
github.com/x448/float16 v0.8.4 // indirect
102105
go.opentelemetry.io/otel v1.36.0 // indirect
@@ -111,9 +114,8 @@ require (
111114
golang.org/x/sys v0.36.0 // indirect
112115
golang.org/x/term v0.35.0 // indirect
113116
golang.org/x/time v0.12.0 // indirect
114-
golang.org/x/tools/go/packages/packagestest v0.1.1-deprecated // indirect
115117
gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect
116-
google.golang.org/protobuf v1.36.6 // indirect
118+
google.golang.org/protobuf v1.36.8 // indirect
117119
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
118120
gopkg.in/inf.v0 v0.9.1 // indirect
119121
gopkg.in/yaml.v2 v2.4.0 // indirect
@@ -126,7 +128,7 @@ require (
126128
k8s.io/gengo v0.0.0-20250130153323-76c5745d3511 // indirect
127129
k8s.io/gengo/v2 v2.0.0-20250604051438-85fd79dbfd9f // indirect
128130
k8s.io/klog/v2 v2.130.1 // indirect
129-
k8s.io/kube-aggregator v0.33.1 // indirect
131+
k8s.io/kube-aggregator v0.34.1 // indirect
130132
k8s.io/kube-openapi v0.0.0-20250710124328-f3f2b991d03b // indirect
131133
k8s.io/kubelet v0.0.0 // indirect
132134
sigs.k8s.io/cluster-api v1.10.2 // indirect

go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ github.com/rancher/aks-operator v1.12.1 h1:xh6zog+7+kQLwoaRDqz/LMf9/SD3L3G4tNsgY
120120
github.com/rancher/aks-operator v1.12.1/go.mod h1:egCt7JaCf4SqBtF+PbHS6mJ06pbXvkWfjF1o3VhHqVs=
121121
github.com/rancher/ali-operator v0.0.0-20250910043122-2aba32fbfe4c h1:ioRrTYE/YDv1p4c0d+BxsExto/PEQuTs2ISjgsWGaMM=
122122
github.com/rancher/ali-operator v0.0.0-20250910043122-2aba32fbfe4c/go.mod h1:bKYlqC8k0Eco8zAelCLS2JMXIZgVyR2EeM9PKMPMGCI=
123-
github.com/rancher/dynamiclistener v0.7.2-rc1 h1:KATDDyzlpE8VvqAjOOwqrwHaPY80XlFyA7tOlw6AyXw=
124-
github.com/rancher/dynamiclistener v0.7.2-rc1/go.mod h1:kq+3QHceIpW3f2xVpYgok7ILn1JcS8+O2utC42y8ZNY=
123+
github.com/rancher/dynamiclistener v0.7.2-rc.3 h1:geymeVB2kxxT6cGWl6p4emjW6HxLq/O1vkBLpSJHung=
124+
github.com/rancher/dynamiclistener v0.7.2-rc.3/go.mod h1:maKY4eN3hrEm9hi65ltyGIpCk/H5uTezEvLmqOXHN4U=
125125
github.com/rancher/eks-operator v1.12.1 h1:ZsaDyQa1Ykrf9b1Ux11DICIV4JXRy14kWKqE0JfAZg0=
126126
github.com/rancher/eks-operator v1.12.1/go.mod h1:3hz8e7XqekMw/76TShanMS/iMBcQoom2j7/B9nyKbVQ=
127127
github.com/rancher/fleet/pkg/apis v0.13.0 h1:soXF3cKWD9sMRcX5OlVnOY8aoPr+/FF8DP/zZtLLe3g=
@@ -132,14 +132,14 @@ github.com/rancher/jsonpath v0.0.0-20250620213443-ad24535cf0c1 h1:vRtxuvIF0UarXI
132132
github.com/rancher/jsonpath v0.0.0-20250620213443-ad24535cf0c1/go.mod h1:xavYr3cNyyAeA72nMVB60+q/EJ8Anu+loQWFJyXOeP8=
133133
github.com/rancher/lasso v0.2.5-rc.1 h1:E88eG3FDYGmccJjGDjv7HrknSaYQz4WNGgJ/gGjmGFc=
134134
github.com/rancher/lasso v0.2.5-rc.1/go.mod h1:71rWfv+KkdSmSxZ9Ly5QYhxAu0nEUcaq9N2ByjcHqAM=
135-
github.com/rancher/norman v0.7.0 h1:duBZxekBj13k/2RTyWKZgV/ntXkIXm0sRKqwFO8ui+I=
136-
github.com/rancher/norman v0.7.0/go.mod h1:IOQn3CNCms6UK72QHujesLKedqZh4+SP8/FDEFc+7Ns=
135+
github.com/rancher/norman v0.7.1-0.20251002202451-d14394e537ab h1:mlAFQmWWLkNtujC9RGIqGdDBmpLXjR1QkskytbR/S9o=
136+
github.com/rancher/norman v0.7.1-0.20251002202451-d14394e537ab/go.mod h1:vZ5qL+eKodJ7zOMQYdl6jwMrSFrqTKpA+KYSFEKew2M=
137137
github.com/rancher/rancher/pkg/apis v0.0.0-20250918152046-69e9a6ff0ae9 h1:kdGZC/Ijnlffagb6XaqxJU8m8ovLBB9v/ktN3qtS/F4=
138138
github.com/rancher/rancher/pkg/apis v0.0.0-20250918152046-69e9a6ff0ae9/go.mod h1:gzvaaU7euECAI990DY6JAIsrQxZ5FUdoJXVaXxT5Dso=
139139
github.com/rancher/rke v1.8.6 h1:JHVWweWOUYFGirt5an7jmOZDRrrE6aU3ZpV1a1jSeSs=
140140
github.com/rancher/rke v1.8.6/go.mod h1:EaAkq796bgmmx/s15Xz0TvCkBOfepMOqO8tFockOmis=
141-
github.com/rancher/wrangler/v3 v3.2.4 h1:pgpLwsmgQvTSSknxddJDq+ObIiOXFggCWdDyB0z7YcA=
142-
github.com/rancher/wrangler/v3 v3.2.4/go.mod h1:TA1QuuQxrtn/kmJbBLW/l24IcfHBmSXBa9an3IRlqQQ=
141+
github.com/rancher/wrangler/v3 v3.3.0-rc.2 h1:o/jNO0uQmcAUTxIwu7q3VBTkS82XDh7gb0Ofv0DpVoQ=
142+
github.com/rancher/wrangler/v3 v3.3.0-rc.2/go.mod h1:0RpxDgbQ4Lgzfuy7JPNk5jZfTKJQoCN6qUhlrDgNY9E=
143143
github.com/robfig/cron v1.2.0 h1:ZjScXvvxeQ63Dbyxy76Fj3AT3Ut0aKsyd2/tl3DTMuQ=
144144
github.com/robfig/cron v1.2.0/go.mod h1:JGuDeoQd7Z6yL4zQhZ3OPEVHB7fL6Ka6skscFHfmt2k=
145145
github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII=
@@ -231,8 +231,8 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T
231231
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
232232
gomodules.xyz/jsonpatch/v2 v2.5.0 h1:JELs8RLM12qJGXU4u/TO3V25KW8GreMKl9pdkk14RM0=
233233
gomodules.xyz/jsonpatch/v2 v2.5.0/go.mod h1:AH3dM2RI6uoBZxn3LVrfvJ3E0/9dG4cSrbuBJT4moAY=
234-
google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY=
235-
google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY=
234+
google.golang.org/protobuf v1.36.8 h1:xHScyCOEuuwZEc6UtSOvPbAT4zRh0xcNRYekJwfqyMc=
235+
google.golang.org/protobuf v1.36.8/go.mod h1:fuxRtAxBytpl4zzqUh6/eyUujkJdNiuEkXntxiD/uRU=
236236
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
237237
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
238238
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=

scripts/validate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ if ! command -v golangci-lint; then
1111
fi
1212

1313
echo Running: golangci-lint
14-
golangci-lint run
14+
golangci-lint run

0 commit comments

Comments
 (0)