Skip to content

Commit 79272bc

Browse files
Merge branch 'openshift:main' into OCM-2994
2 parents 20bf23b + aa2ae1f commit 79272bc

11 files changed

Lines changed: 39 additions & 39 deletions

.ci-operator.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
build_root_image:
2+
name: release
3+
namespace: openshift
4+
tag: rhel-8-release-golang-1.19-openshift-4.12
File renamed without changes.

apis/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/openshift/addon-operator/apis
22

3-
go 1.18
3+
go 1.19
44

55
require (
66
github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring v0.61.1-rhobs1

config/docker/addon-operator-manager.Dockerfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
FROM registry.access.redhat.com/ubi8/ubi-minimal@sha256:3e1adcc31c6073d010b8043b070bd089d7bf37ee2c397c110211a6273453433f
2-
# registry.access.redhat.com/ubi8/ubi-minimal:8.7-1107
1+
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8-1014
32

43
# shadow-utils contains adduser and groupadd binaries
54
RUN microdnf install shadow-utils \
65
&& groupadd --gid 1000 noroot \
76
&& adduser \
8-
--no-create-home \
9-
--no-user-group \
10-
--uid 1000 \
11-
--gid 1000 \
12-
noroot
7+
--no-create-home \
8+
--no-user-group \
9+
--uid 1000 \
10+
--gid 1000 \
11+
noroot
1312

1413
WORKDIR /
1514

config/docker/addon-operator-webhook.Dockerfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
FROM registry.access.redhat.com/ubi8/ubi-minimal@sha256:3e1adcc31c6073d010b8043b070bd089d7bf37ee2c397c110211a6273453433f
2-
# registry.access.redhat.com/ubi8/ubi-minimal:8.7-1107
1+
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8-1014
32

43
# shadow-utils contains adduser and groupadd binaries
54
RUN microdnf install shadow-utils \
65
&& groupadd --gid 1000 noroot \
76
&& adduser \
8-
--no-create-home \
9-
--no-user-group \
10-
--uid 1000 \
11-
--gid 1000 \
12-
noroot
7+
--no-create-home \
8+
--no-user-group \
9+
--uid 1000 \
10+
--gid 1000 \
11+
noroot
1312

1413
WORKDIR /
1514

config/docker/api-mock.Dockerfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
FROM registry.access.redhat.com/ubi8/ubi-minimal@sha256:3e1adcc31c6073d010b8043b070bd089d7bf37ee2c397c110211a6273453433f
2-
# registry.access.redhat.com/ubi8/ubi-minimal:8.7-1107
1+
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8-1014
32

43
# shadow-utils contains adduser and groupadd binaries
54
RUN microdnf install shadow-utils \
65
&& groupadd --gid 1000 noroot \
76
&& adduser \
8-
--no-create-home \
9-
--no-user-group \
10-
--uid 1000 \
11-
--gid 1000 \
12-
noroot
7+
--no-create-home \
8+
--no-user-group \
9+
--uid 1000 \
10+
--gid 1000 \
11+
noroot
1312

1413
WORKDIR /
1514

config/docker/prometheus-remote-storage-mock.Dockerfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
FROM registry.access.redhat.com/ubi8/ubi-minimal@sha256:3e1adcc31c6073d010b8043b070bd089d7bf37ee2c397c110211a6273453433f
2-
# registry.access.redhat.com/ubi8/ubi-minimal:8.7-1107
1+
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8-1014
32

43
# shadow-utils contains adduser and groupadd binaries
54
RUN microdnf install shadow-utils \
65
&& groupadd --gid 1000 noroot \
76
&& adduser \
8-
--no-create-home \
9-
--no-user-group \
10-
--uid 1000 \
11-
--gid 1000 \
12-
noroot
7+
--no-create-home \
8+
--no-user-group \
9+
--uid 1000 \
10+
--gid 1000 \
11+
noroot
1312

1413
WORKDIR /
1514

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/openshift/addon-operator
22

3-
go 1.18
3+
go 1.19
44

55
require (
66
github.com/blang/semver/v4 v4.0.0
@@ -11,7 +11,7 @@ require (
1111
github.com/gorilla/mux v1.8.0
1212
github.com/hashicorp/go-multierror v1.1.1
1313
github.com/magefile/mage v1.15.0
14-
github.com/mt-sre/client v0.2.0
14+
github.com/mt-sre/client v0.2.3
1515
github.com/mt-sre/devkube v0.6.3
1616
github.com/novln/docker-parser v1.0.0
1717
github.com/openshift/addon-operator/apis v0.0.0-20230309184833-806514f6132f
@@ -43,7 +43,7 @@ require (
4343
github.com/alessio/shellescape v1.4.1 // indirect
4444
github.com/aws/aws-sdk-go v1.44.218 // indirect
4545
github.com/beorn7/perks v1.0.1 // indirect
46-
github.com/cenkalti/backoff/v4 v4.1.3 // indirect
46+
github.com/cenkalti/backoff/v4 v4.2.0 // indirect
4747
github.com/cespare/xxhash/v2 v2.2.0 // indirect
4848
github.com/dennwc/varint v1.0.0 // indirect
4949
github.com/emicklei/go-restful/v3 v3.10.2 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n
221221
github.com/cenkalti/backoff v0.0.0-20181003080854-62661b46c409/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM=
222222
github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM=
223223
github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw=
224-
github.com/cenkalti/backoff/v4 v4.1.3 h1:cFAlzYUlVYDysBEH2T5hyJZMh3+5+WCBvSnK6Q8UtC4=
225-
github.com/cenkalti/backoff/v4 v4.1.3/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw=
224+
github.com/cenkalti/backoff/v4 v4.2.0 h1:HN5dHm3WBOgndBH6E8V0q2jIYIR3s9yglV8k/+MN3u4=
225+
github.com/cenkalti/backoff/v4 v4.2.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
226226
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
227227
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
228228
github.com/cespare/xxhash/v2 v2.1.0/go.mod h1:dgIUBU3pDso/gPgZ1osOZ0iQf77oPR28Tjxl5dIMyVM=
@@ -1037,8 +1037,8 @@ github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJ
10371037
github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc=
10381038
github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ=
10391039
github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae/go.mod h1:qAyveg+e4CE+eKJXWVjKXM4ck2QobLqTDytGJbLLhJg=
1040-
github.com/mt-sre/client v0.2.0 h1:nF6ei3aZ2BHyi+EB/rQBuCIlR0z1QvaYNjZ7RVNsSak=
1041-
github.com/mt-sre/client v0.2.0/go.mod h1:wiYCEamk92vOM1eKkgQDaxYj7ON+m1R/aceSZ+1UDTI=
1040+
github.com/mt-sre/client v0.2.3 h1:/Z+wfs/RepGJIc8mGHmU8jdhqfWQH/tBHLsf3RTtZ50=
1041+
github.com/mt-sre/client v0.2.3/go.mod h1:MRZr3Dpqwg57BBdTTExm2bHGcs6VjYt32EnecPG5FF8=
10421042
github.com/mt-sre/devkube v0.6.3 h1:T5Lei+Bs6gC4UmeL07q+PAehjpj4K3wXY1StW+qbgyU=
10431043
github.com/mt-sre/devkube v0.6.3/go.mod h1:rQLeA4cxZYa347l25MAZFFnzx7AJ54jByN3PY/b2dfw=
10441044
github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=

pkg/client/addon_instance.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ type AddonInstanceClient interface {
1919
SendPulse(ctx context.Context, instance av1alpha1.AddonInstance, opts ...SendPulseOption) error
2020
}
2121

22-
// NewAddonInstanceClient returns a configured AddonInstanceClient implementation
22+
// NewAddonInstanceClient returns a configured AddonInstanceClient
2323
// using the given client instance as a base.
24-
func NewAddonInstanceClient(client client.Client) *AddonInstanceClientImpl {
24+
func NewAddonInstanceClient(client client.Client) AddonInstanceClient {
2525
return &AddonInstanceClientImpl{
2626
client: client,
2727
}

0 commit comments

Comments
 (0)