Skip to content

Commit 67e45df

Browse files
author
Craig Ingram
authored
Dependency Updates (#46)
* Updated go version from 1.15 to 1.17 Updated all dependencies * Missed some places that still referenced go 1.15 * Updated kind version and their respective node images Updated k8s versions to be tested in e2e tests Signed-off-by: Craig Ingram <[email protected]> * Updated redis_exporter image version Tested to make sure dashboards are still working too Running performance tests right now Signed-off-by: Craig Ingram <[email protected]>
1 parent 16005d0 commit 67e45df

File tree

10 files changed

+727
-311
lines changed

10 files changed

+727
-311
lines changed

.github/workflows/pull_request.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77

88
env:
9-
GO_VERSION: 1.15
9+
GO_VERSION: 1.17
1010
HELM_VERSION: v3.6.3
1111
PYTHON_VERSION: 3.7 # required for helm tester
1212

@@ -136,16 +136,22 @@ jobs:
136136
strategy:
137137
fail-fast: false
138138
matrix:
139-
kubernetes-version: ["1.21", "1.20", "1.19", "1.18"]
139+
kubernetes-version: ["1.24", "1.23", "1.22", "1.21"] #, "1.20", "1.19", "1.18"]
140140
include:
141+
- kubernetes-version: "1.24"
142+
kind-node: kindest/node:v1.24.0@sha256:0866296e693efe1fed79d5e6c7af8df71fc73ae45e3679af05342239cdc5bc8e
143+
- kubernetes-version: "1.23"
144+
kind-node: kindest/node:v1.23.6@sha256:b1fa224cc6c7ff32455e0b1fd9cbfd3d3bc87ecaa8fcb06961ed1afb3db0f9ae
145+
- kubernetes-version: "1.22"
146+
kind-node: kindest/node:v1.22.9@sha256:8135260b959dfe320206eb36b3aeda9cffcb262f4b44cda6b33f7bb73f453105
141147
- kubernetes-version: "1.21"
142148
kind-node: kindest/node:v1.21.1@sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6
143-
- kubernetes-version: "1.20"
144-
kind-node: kindest/node:v1.20.7@sha256:cbeaf907fc78ac97ce7b625e4bf0de16e3ea725daf6b04f930bd14c67c671ff9
145-
- kubernetes-version: "1.19"
146-
kind-node: kindest/node:v1.19.11@sha256:07db187ae84b4b7de440a73886f008cf903fcf5764ba8106a9fd5243d6f32729
147-
- kubernetes-version: "1.18"
148-
kind-node: kindest/node:v1.18.19@sha256:7af1492e19b3192a79f606e43c35fb741e520d195f96399284515f077b3b622c
149+
# - kubernetes-version: "1.20"
150+
# kind-node: kindest/node:v1.20.15@sha256:6f2d011dffe182bad80b85f6c00e8ca9d86b5b8922cdf433d53575c4c5212248
151+
# - kubernetes-version: "1.19"
152+
# kind-node: kindest/node:v1.19.16@sha256:d9c819e8668de8d5030708e484a9fdff44d95ec4675d136ef0a0a584e587f65c
153+
# - kubernetes-version: "1.18"
154+
# kind-node: kindest/node:v1.18.20@sha256:738cdc23ed4be6cc0b7ea277a2ebcc454c8373d7d8fb991a7fcdbd126188e6d7
149155
steps:
150156
- name: Checkout
151157
uses: actions/checkout@v3
@@ -164,7 +170,7 @@ jobs:
164170
- name: kind create cluster
165171
uses: helm/[email protected]
166172
with:
167-
version: v0.11.1
173+
version: v0.14.0
168174
config: ./test/e2e/kind_config.yml
169175
cluster_name: kind
170176
node_image: ${{ matrix.kind-node }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- published
77

88
env:
9-
GO_VERSION: 1.15
9+
GO_VERSION: 1.17
1010
HELM_VERSION: v3.6.3
1111
REDIS_VERSION: 6.2.6
1212
CRD_PATH: charts/operator-for-redis/crds/db.ibm.com_redisclusters.yaml

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ vendor
4242
.idea
4343
*.iml
4444
examples
45+
skaffold.yaml

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PREFIX=ibmcom/
66
SOURCES := $(shell find . ! -name "*_test.go" -name '*.go')
77

88
CMDBINS := operator node metrics
9-
CRD_OPTIONS ?= "crd:crdVersions=v1,trivialVersions=false,generateEmbeddedObjectMeta=true"
9+
CRD_OPTIONS ?= "crd:crdVersions=v1,generateEmbeddedObjectMeta=true"
1010

1111
ifeq (,$(shell go env GOBIN))
1212
GOBIN=$(shell go env GOPATH)/bin
@@ -57,7 +57,7 @@ ifeq (, $(shell which controller-gen))
5757
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
5858
cd $$CONTROLLER_GEN_TMP_DIR ;\
5959
go mod init tmp ;\
60-
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.6.1 ;\
60+
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.9.2 ;\
6161
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
6262
}
6363
CONTROLLER_GEN=$(GOBIN)/controller-gen

api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/node-for-redis/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ metrics:
142142
exporter:
143143
image:
144144
repository: oliver006/redis_exporter
145-
tag: v1.32.0
145+
tag: v1.43.0
146146
pullPolicy: IfNotPresent
147147
port:
148148
name: metrics

docs/docs/cookbook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Operator for Redis Cluster is written in [Go](https://golang.org/).
1212
### Required Dependencies
1313

1414
* `make`
15-
* [Go 1.15+](https://golang.org/doc/install)
15+
* [Go 1.17+](https://golang.org/doc/install)
1616
* [Docker](https://www.docker.com/)
1717
* [Helm 3](https://helm.sh)
1818

go.mod

Lines changed: 82 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,92 @@
11
module github.com/IBM/operator-for-redis-cluster
22

3-
go 1.15
3+
go 1.17
44

55
require (
6-
github.com/caarlos0/env/v6 v6.5.0
6+
github.com/caarlos0/env/v6 v6.9.3
77
github.com/gogo/protobuf v1.3.2
8-
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
9-
github.com/heptiolabs/healthcheck v0.0.0-20180807145615-6ff867650f40
10-
github.com/mattn/go-runewidth v0.0.10 // indirect
11-
github.com/mediocregopher/radix/v4 v4.0.0-beta.1
8+
github.com/golang/glog v1.0.0
9+
github.com/heptiolabs/healthcheck v0.0.0-20211123025425-613501dd5deb
10+
github.com/mediocregopher/radix/v4 v4.1.0
1211
github.com/olekukonko/tablewriter v0.0.5
13-
github.com/onsi/ginkgo v1.15.0
14-
github.com/onsi/gomega v1.10.5
15-
github.com/prometheus/client_golang v1.9.0
12+
github.com/onsi/ginkgo v1.16.5
13+
github.com/onsi/gomega v1.19.0
14+
github.com/prometheus/client_golang v1.12.2
1615
github.com/spf13/pflag v1.0.5
16+
gopkg.in/yaml.v3 v3.0.1
17+
k8s.io/api v0.24.2
18+
k8s.io/apimachinery v0.24.2
19+
k8s.io/client-go v0.24.2
20+
sigs.k8s.io/controller-runtime v0.12.3
21+
)
22+
23+
require (
24+
cloud.google.com/go/compute v1.7.0 // indirect
25+
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
26+
github.com/Azure/go-autorest/autorest v0.11.27 // indirect
27+
github.com/Azure/go-autorest/autorest/adal v0.9.20 // indirect
28+
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
29+
github.com/Azure/go-autorest/logger v0.2.1 // indirect
30+
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
31+
github.com/beorn7/perks v1.0.1 // indirect
32+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
33+
github.com/davecgh/go-spew v1.1.1 // indirect
34+
github.com/emicklei/go-restful/v3 v3.8.0 // indirect
35+
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
36+
github.com/fsnotify/fsnotify v1.5.4 // indirect
37+
github.com/go-logr/logr v1.2.3 // indirect
38+
github.com/go-logr/zapr v1.2.3 // indirect
39+
github.com/go-openapi/jsonpointer v0.19.5 // indirect
40+
github.com/go-openapi/jsonreference v0.20.0 // indirect
41+
github.com/go-openapi/swag v0.21.1 // indirect
42+
github.com/golang-jwt/jwt/v4 v4.4.2 // indirect
43+
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
44+
github.com/golang/protobuf v1.5.2 // indirect
45+
github.com/google/gnostic v0.6.9 // indirect
46+
github.com/google/go-cmp v0.5.8 // indirect
47+
github.com/google/gofuzz v1.2.0 // indirect
48+
github.com/google/uuid v1.3.0 // indirect
49+
github.com/imdario/mergo v0.3.13 // indirect
50+
github.com/josharian/intern v1.0.0 // indirect
51+
github.com/json-iterator/go v1.1.12 // indirect
52+
github.com/mailru/easyjson v0.7.7 // indirect
53+
github.com/mattn/go-runewidth v0.0.13 // indirect
54+
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
55+
github.com/moby/spdystream v0.2.0 // indirect
56+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
57+
github.com/modern-go/reflect2 v1.0.2 // indirect
58+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
59+
github.com/nxadm/tail v1.4.8 // indirect
60+
github.com/pkg/errors v0.9.1 // indirect
61+
github.com/prometheus/client_model v0.2.0 // indirect
62+
github.com/prometheus/common v0.36.0 // indirect
63+
github.com/prometheus/procfs v0.7.3 // indirect
64+
github.com/rivo/uniseg v0.2.0 // indirect
65+
github.com/tilinna/clock v1.1.0 // indirect
66+
go.uber.org/atomic v1.9.0 // indirect
67+
go.uber.org/multierr v1.8.0 // indirect
68+
go.uber.org/zap v1.21.0 // indirect
69+
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d // indirect
70+
golang.org/x/net v0.0.0-20220708220712-1185a9018129 // indirect
71+
golang.org/x/oauth2 v0.0.0-20220630143837-2104d58473e0 // indirect
72+
golang.org/x/sys v0.0.0-20220712014510-0a85c31ab51e // indirect
73+
golang.org/x/term v0.0.0-20220526004731-065cf7ba2467 // indirect
74+
golang.org/x/text v0.3.7 // indirect
75+
golang.org/x/time v0.0.0-20220609170525-579cf78fd858 // indirect
76+
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
77+
google.golang.org/appengine v1.6.7 // indirect
78+
google.golang.org/protobuf v1.28.0 // indirect
1779
gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 // indirect
1880
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
19-
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776
20-
k8s.io/api v0.20.2
21-
k8s.io/apimachinery v0.20.2
22-
k8s.io/client-go v0.20.2
23-
sigs.k8s.io/controller-runtime v0.8.3
81+
gopkg.in/inf.v0 v0.9.1 // indirect
82+
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
83+
gopkg.in/yaml.v2 v2.4.0 // indirect
84+
k8s.io/apiextensions-apiserver v0.24.2 // indirect
85+
k8s.io/component-base v0.24.2 // indirect
86+
k8s.io/klog/v2 v2.70.1 // indirect
87+
k8s.io/kube-openapi v0.0.0-20220627174259-011e075b9cb8 // indirect
88+
k8s.io/utils v0.0.0-20220706174534-f6158b442e7c // indirect
89+
sigs.k8s.io/json v0.0.0-20220525155127-227cbc7cc124 // indirect
90+
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
91+
sigs.k8s.io/yaml v1.3.0 // indirect
2492
)

0 commit comments

Comments
 (0)