Skip to content

Commit

Permalink
Merge pull request #311 from Miciah/BZ2043787-bump-to-kubernetes-1.23…
Browse files Browse the repository at this point in the history
…-and-go-1.17

Bug 2043787: Bump to Kubernetes 1.23 and Go 1.17
  • Loading branch information
openshift-merge-robot committed Jan 24, 2022
2 parents 0fcb6e5 + 3dbea3c commit bc48e0a
Show file tree
Hide file tree
Showing 695 changed files with 50,852 additions and 13,637 deletions.
2 changes: 1 addition & 1 deletion .ci-operator.yaml
@@ -1,4 +1,4 @@
build_root_image:
name: release
namespace: openshift
tag: rhel-8-release-golang-1.16-openshift-4.10
tag: rhel-8-release-golang-1.17-openshift-4.10
2 changes: 1 addition & 1 deletion Dockerfile
@@ -1,4 +1,4 @@
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.16-openshift-4.10 AS builder
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.17-openshift-4.10 AS builder
WORKDIR /dns-operator
COPY . .
RUN make build
Expand Down
61 changes: 53 additions & 8 deletions go.mod
@@ -1,18 +1,63 @@
module github.com/openshift/cluster-dns-operator

go 1.16
go 1.17

require (
github.com/apparentlymart/go-cidr v1.0.0
github.com/google/go-cmp v0.5.5
github.com/google/gofuzz v1.2.0 // indirect
github.com/kevinburke/go-bindata v3.11.0+incompatible
github.com/openshift/api v0.0.0-20211201130627-34f305c3af47
github.com/openshift/api v0.0.0-20220121101128-0a830aea20c2
github.com/openshift/build-machinery-go v0.0.0-20211213093930-7e33a7eb4ce3
github.com/sirupsen/logrus v1.8.1
k8s.io/api v0.22.4
k8s.io/apimachinery v0.22.4
k8s.io/client-go v0.22.4
k8s.io/kubectl v0.21.0
sigs.k8s.io/controller-runtime v0.9.0
k8s.io/api v0.23.0
k8s.io/apimachinery v0.23.0
k8s.io/client-go v0.23.0
k8s.io/kubectl v0.23.0
sigs.k8s.io/controller-runtime v0.11.0
)

require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
github.com/fsnotify/fsnotify v1.5.1 // indirect
github.com/go-logr/logr v1.2.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.2 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/uuid v1.1.2 // indirect
github.com/googleapis/gnostic v0.5.5 // indirect
github.com/imdario/mergo v0.3.12 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/prometheus/client_golang v1.11.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.28.0 // indirect
github.com/prometheus/procfs v0.6.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
golang.org/x/net v0.0.0-20210825183410-e898025ed96a // indirect
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect
golang.org/x/sys v0.0.0-20211029165221-6e7872819dc8 // indirect
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
k8s.io/component-base v0.23.0 // indirect
k8s.io/klog/v2 v2.30.0 // indirect
k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 // indirect
k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b // indirect
sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.0 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
)
502 changes: 311 additions & 191 deletions go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pkg/operator/controller/controller_dns_daemonset_test.go
Expand Up @@ -223,7 +223,7 @@ func TestDaemonsetConfigChanged(t *testing.T) {
{
description: "if the readiness probe endpoint changes",
mutate: func(daemonset *appsv1.DaemonSet) {
daemonset.Spec.Template.Spec.Containers[0].ReadinessProbe.Handler.HTTPGet.Path = "/ready"
daemonset.Spec.Template.Spec.Containers[0].ReadinessProbe.ProbeHandler.HTTPGet.Path = "/ready"
},
expect: true,
},
Expand Down Expand Up @@ -285,7 +285,7 @@ func TestDaemonsetConfigChanged(t *testing.T) {
},
ReadinessProbe: &corev1.Probe{
PeriodSeconds: 10,
Handler: corev1.Handler{
ProbeHandler: corev1.ProbeHandler{
HTTPGet: &corev1.HTTPGetAction{
Path: "/health",
Port: intstr.IntOrString{
Expand Down
1 change: 1 addition & 0 deletions test/e2e/operator_test.go
@@ -1,3 +1,4 @@
//go:build e2e
// +build e2e

package e2e
Expand Down
3 changes: 2 additions & 1 deletion test/e2e/utils.go
@@ -1,3 +1,4 @@
//go:build e2e
// +build e2e

package e2e
Expand Down Expand Up @@ -162,7 +163,7 @@ func upstreamContainer(container, image string) corev1.Container {
Scheme: "HTTP",
}
healthProbe := &corev1.Probe{
Handler: corev1.Handler{
ProbeHandler: corev1.ProbeHandler{
HTTPGet: getAction,
},
InitialDelaySeconds: int32(10),
Expand Down
1 change: 1 addition & 0 deletions tools/tools.go
@@ -1,3 +1,4 @@
//go:build tools
// +build tools

// This package contains import references to packages required only for the
Expand Down
3 changes: 0 additions & 3 deletions vendor/github.com/cespare/xxhash/v2/go.mod

This file was deleted.

Empty file.
6 changes: 6 additions & 0 deletions vendor/github.com/evanphx/json-patch/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

63 changes: 63 additions & 0 deletions vendor/github.com/evanphx/json-patch/patch.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions vendor/github.com/fsnotify/fsnotify/.mailmap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 0 additions & 36 deletions vendor/github.com/fsnotify/fsnotify/.travis.yml

This file was deleted.

16 changes: 13 additions & 3 deletions vendor/github.com/fsnotify/fsnotify/AUTHORS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bc48e0a

Please sign in to comment.