Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove upgrade for version below 5.0.0 #2398

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22.x
go-version: 1.23.x
- # Add support for more platforms with QEMU (optional)
# https://github.com/docker/setup-qemu-action
name: Set up QEMU
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22.x
go-version: 1.23.x
workdir: sidecar
- # Add support for more platforms with QEMU (optional)
# https://github.com/docker/setup-qemu-action
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/kubernetes-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
Expand All @@ -32,7 +32,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]

steps:
Expand All @@ -48,7 +48,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]

steps:
Expand All @@ -65,7 +65,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
steps:
- name: Check out code
uses: actions/checkout@v3
Expand All @@ -88,7 +88,7 @@ jobs:
- govet
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]

steps:
Expand All @@ -104,7 +104,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]

steps:
Expand All @@ -121,7 +121,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]

steps:
Expand All @@ -139,7 +139,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
steps:
- name: Check out code
uses: actions/checkout@v3
Expand All @@ -163,7 +163,7 @@ jobs:
- govet-sidecar
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]

steps:
Expand All @@ -184,7 +184,7 @@ jobs:
- shellcheck
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]

steps:
Expand All @@ -209,7 +209,7 @@ jobs:
- govet-sidecar
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]

steps:
Expand All @@ -235,7 +235,7 @@ jobs:
- sidecar
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]

steps:
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
- operator
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]

steps:
Expand Down Expand Up @@ -295,7 +295,7 @@ jobs:
# - operator
# strategy:
# matrix:
# go-version: [ 1.22.x ]
# go-version: [ 1.23.x ]
# os: [ ubuntu-latest ]
#
# steps:
Expand Down Expand Up @@ -325,7 +325,7 @@ jobs:
- operator
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]

steps:
Expand Down Expand Up @@ -355,7 +355,7 @@ jobs:
- operator
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]

steps:
Expand Down Expand Up @@ -385,7 +385,7 @@ jobs:
- operator
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -414,7 +414,7 @@ jobs:
- operator
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]
steps:
- name: Free Disk Space (Ubuntu)
Expand Down Expand Up @@ -454,7 +454,7 @@ jobs:
- operator
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]

# Steps represent a sequence of tasks that will be executed as part of the job
Expand Down Expand Up @@ -491,7 +491,7 @@ jobs:
- operator
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]

# Steps represent a sequence of tasks that will be executed as part of the job
Expand Down
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ linters-settings:
locale: US

run:
go: '1.21'
go: '1.23'

linters:
disable-all: true
Expand Down Expand Up @@ -35,4 +35,4 @@ issues:
- deadcode

service:
golangci-lint-version: 1.51.2 # use the fixed version to not introduce new linters unexpectedly
golangci-lint-version: 1.64.6 # use the fixed version to not introduce new linters unexpectedly
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ getdeps:
@echo "Checking dependencies"
@mkdir -p ${GOPATH}/bin
@echo "Installing golangci-lint" && \
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.2 && \
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.6 && \
echo "Installing govulncheck" && \
go install golang.org/x/vuln/cmd/govulncheck@latest &&\
echo "installing gopls" && \
Expand Down
47 changes: 25 additions & 22 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/minio/operator

go 1.22.0
go 1.23.0

toolchain go1.23.7

require (
github.com/blang/semver/v4 v4.0.0
Expand All @@ -26,27 +28,27 @@ require (
github.com/rs/xid v1.5.0 // indirect
github.com/secure-io/sio-go v0.3.1 // indirect
github.com/stretchr/testify v1.9.0
golang.org/x/crypto v0.32.0
golang.org/x/net v0.34.0 // indirect
golang.org/x/crypto v0.36.0
golang.org/x/net v0.37.0 // indirect
golang.org/x/oauth2 v0.21.0
// Added to include security fix for
// https://github.com/golang/go/issues/56152
golang.org/x/text v0.21.0 // indirect
golang.org/x/time v0.5.0
golang.org/x/text v0.23.0 // indirect
golang.org/x/time v0.7.0
gopkg.in/yaml.v2 v2.4.0
k8s.io/api v0.31.1
k8s.io/apimachinery v0.31.1
k8s.io/apimachinery v0.32.2
k8s.io/client-go v0.31.1
k8s.io/code-generator v0.31.1
k8s.io/code-generator v0.32.2
k8s.io/klog/v2 v2.130.1
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.6.0
)

require (
github.com/go-test/deep v1.1.1
github.com/minio/kes-go v0.2.1
golang.org/x/mod v0.18.0
golang.org/x/mod v0.24.0
sigs.k8s.io/controller-runtime v0.19.0
)

Expand All @@ -58,7 +60,7 @@ require (
github.com/docker/distribution v2.8.3+incompatible // indirect
github.com/docker/docker v27.1.1+incompatible // indirect
github.com/docker/docker-credential-helpers v0.8.2 // indirect
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
github.com/emicklei/go-restful/v3 v3.12.2 // indirect
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
github.com/go-logr/logr v1.4.2 // indirect
Expand All @@ -69,7 +71,7 @@ require (
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/gnostic-models v0.6.8 // indirect
github.com/google/gnostic-models v0.6.9 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/imdario/mergo v0.3.16 // indirect
Expand All @@ -83,7 +85,7 @@ require (
github.com/lestrrat-go/jwx v1.2.29 // indirect
github.com/lestrrat-go/option v1.0.1 // indirect
github.com/lufia/plan9stats v0.0.0-20240513124658-fba389f38bae // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mailru/easyjson v0.9.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
Expand All @@ -107,26 +109,27 @@ require (
github.com/shirou/gopsutil/v3 v3.24.5 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/pflag v1.0.6 // indirect
github.com/tinylib/msgp v1.1.9 // indirect
github.com/tklauser/go-sysconf v0.3.14 // indirect
github.com/tklauser/numcpus v0.8.0 // indirect
github.com/vbatts/tar-split v0.11.5 // indirect
github.com/x448/float16 v0.8.4 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/sys v0.29.0 // indirect
golang.org/x/term v0.28.0 // indirect
golang.org/x/tools v0.22.0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
golang.org/x/sync v0.12.0 // indirect
golang.org/x/sys v0.31.0 // indirect
golang.org/x/term v0.30.0 // indirect
golang.org/x/tools v0.31.0 // indirect
google.golang.org/protobuf v1.36.5 // indirect
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/apiextensions-apiserver v0.31.0 // indirect
k8s.io/gengo/v2 v2.0.0-20240228010128-51d4e06bde70 // indirect
k8s.io/kube-openapi v0.0.0-20240620174524-b456828f718b // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
k8s.io/gengo/v2 v2.0.0-20250207200755-1244d31929d7 // indirect
k8s.io/kube-openapi v0.0.0-20250304201544-e5f78fe3ede9 // indirect
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
sigs.k8s.io/randfill v1.0.0 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)
Loading
Loading