Skip to content

Commit cb51d64

Browse files
committed
Release 1.28.2
Security patching, updated Makefile, Readme and Third Party Licences
1 parent ed40675 commit cb51d64

File tree

506 files changed

+15364
-3353
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

506 files changed

+15364
-3353
lines changed

.github/workflows/makefile.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,16 @@ jobs:
1717

1818
- name: Check out code into the Go module directory
1919
uses: actions/checkout@v2
20-
20+
- name: Install dependencies
21+
run: |
22+
go mod download
2123
- name: Run Unit Tests
2224
run: |
2325
go test -covermode=count -coverprofile=profile.cov ./pkg/...
26+
- name: Install goveralls
27+
run: go install github.com/mattn/goveralls@latest
2428
- name: Send coverage
2529
env:
2630
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2731
run: |
28-
GO111MODULE=off go get github.com/mattn/goveralls
29-
$(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github
32+
goveralls -coverprofile=profile.cov -service=github

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${GITHUB_ACTOR,,} --password-stdin
2727

2828
- name: Build Image
29-
run: OSS_REGISTRY="ghcr.io/oracle" VERSION="${{ github.ref_name }}" make image
29+
run: OSS_REGISTRY="ghcr.io/${GITHUB_REPOSITORY_OWNER,,}" VERSION="${{ github.ref_name }}" make image
3030

3131
- name: Push Image
32-
run: OSS_REGISTRY="ghcr.io/oracle" VERSION="${{ github.ref_name }}" make docker-push-all
32+
run: OSS_REGISTRY="ghcr.io/${GITHUB_REPOSITORY_OWNER,,}" VERSION="${{ github.ref_name }}" make docker-push-all

Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,14 @@ WORKDIR $SRC
2727

2828
RUN COMPONENT=${COMPONENT} make clean build
2929

30-
FROM oraclelinux:7-slim
30+
FROM ghcr.io/oracle/oraclelinux:8-slim-fips
3131

3232
COPY --from=0 /go/src/github.com/oracle/oci-cloud-controller-manager/dist/* /usr/local/bin/
3333
COPY --from=0 /go/src/github.com/oracle/oci-cloud-controller-manager/image/* /usr/local/bin/
3434

35-
RUN yum install -y util-linux \
36-
&& yum install -y e2fsprogs \
37-
&& yum install -y xfsprogs \
38-
&& yum clean all
35+
RUN microdnf -y install util-linux e2fsprogs xfsprogs python2 && \
36+
microdnf update && \
37+
microdnf clean all
3938

4039
COPY scripts/encrypt-mount /sbin/encrypt-mount
4140
COPY scripts/encrypt-umount /sbin/encrypt-umount

Dockerfile_arm_all

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@ WORKDIR $SRC
1414

1515
RUN ARCH=arm make clean build-arm-all
1616

17-
FROM arm64v8/oraclelinux:7-slim
17+
FROM ghcr.io/oracle/oraclelinux:8-slim-fips-arm64v8
1818

19-
RUN yum install -y util-linux \
20-
&& yum install -y e2fsprogs \
21-
&& yum clean all
22-
\
19+
RUN microdnf -y install util-linux e2fsprogs xfsprogs python2 && \
20+
microdnf update && \
21+
microdnf clean all
2322

2423
COPY scripts/encrypt-mount /sbin/encrypt-mount
2524
COPY scripts/encrypt-umount /sbin/encrypt-umount

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ else
3838
VERSION ?= ${VERSION}
3939
endif
4040

41-
RELEASE = v1.28.1
41+
RELEASE = v1.28.2
4242

4343
GOOS ?= linux
4444
ARCH ?= amd64

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,15 @@ cloud-provider specific code out of the Kubernetes codebase.
3131
| v1.23.0 | v1.23 | - |
3232
| v1.24.2 | v1.24 | - |
3333
| v1.25.2 | v1.25 | - |
34-
| v1.26.3 | v1.26 | - |
35-
| v1.27.2 | v1.27 | - |
36-
| v1.28.0 | v1.28 | - |
37-
34+
| v1.26.4 | v1.26 | - |
35+
| v1.27.3 | v1.27 | - |
36+
| v1.28.2 | v1.28 | - |
37+
| v1.29.1 | v1.29 | - |
38+
| v1.30.0 | v1.30 | - |
3839

3940

4041
Note:
41-
Versions older than v1.27.3 are no longer supported, new features / bug fixes will be available in v1.27.3 and later.
42+
Versions older than v1.28.2 are no longer supported, new features / bug fixes will be available in v1.28.2 and later.
4243

4344
## Implementation
4445
Currently `oci-cloud-controller-manager` implements:

THIRD_PARTY_LICENSES.txt

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,6 @@ SPDX:MIT
11301130

11311131
== Copyright
11321132
Copyright (c) 2013-2014 Onsi Fakhouri
1133-
Copyright (c) 2014 Amit Kumar Gupta
11341133

11351134
--------------------------------- (separator) ----------------------------------
11361135

@@ -1263,16 +1262,12 @@ END OF TERMS AND CONDITIONS
12631262

12641263

12651264
== Copyright
1266-
Copyright (c) 2012-2020 Mat Ryer, Tyler Bunnell and contributors.
1267-
Copyright (c) 2013 The Go Authors. All rights reserved.
12681265
Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates.
12691266
Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved.
12701267
Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
12711268
Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
12721269
Copyright (c) 2016, 2023 Oracle and/or its affiliates.
12731270
Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
1274-
Copyright © 2012-2020 Mat Ryer, Tyler Bunnell and contributors.
1275-
Copyright © 2013 The Go Authors. All rights reserved.
12761271

12771272
== Notices
12781273
Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates.
@@ -1978,7 +1973,6 @@ go.uber.org/zap
19781973
SPDX:MIT
19791974

19801975
== Copyright
1981-
Copyright (c) "*" Uber Technologies, Inc.")
19821976
Copyright (c) 2016 Uber Technologies, Inc.
19831977
Copyright (c) 2016, 2017 Uber Technologies, Inc.
19841978
Copyright (c) 2016-2017 Uber Technologies, Inc.
@@ -2120,6 +2114,7 @@ Copyright 2020 The Go Authors. All rights reserved.
21202114
Copyright 2021 The Go Authors. All rights reserved.
21212115
Copyright 2022 The Go Authors. All rights reserved.
21222116
Copyright 2023 The Go Authors. All rights reserved.
2117+
Copyright 2024 The Go Authors. All rights reserved.
21232118

21242119
== Patents
21252120
Additional IP Rights Grant (Patents)
@@ -3018,6 +3013,7 @@ Copyright 2020 The Kubernetes Authors.
30183013
Copyright 2021 The Kubernetes Authors.
30193014
Copyright 2022 The Kubernetes Authors.
30203015
Copyright 2023 The Kubernetes Authors.
3016+
Copyright 2024 The Kubernetes Authors.
30213017

30223018
--------------------------------- (separator) ----------------------------------
30233019

@@ -4007,5 +4003,5 @@ the Mozilla Public License, v. 2.0.
40074003

40084004

40094005
=== ATTRIBUTION-HELPER-GENERATED:
4010-
=== Attribution helper version: {Major:0 Minor:11 GitVersion: GitCommit: GitTreeState:dirty BuildDate:1970-01-01T00:00:00Z GoVersion:go1.19.3 Compiler:gc Platform:darwin/arm64}
4011-
=== License file based on go.mod with md5 sum: f13d103ac6a1fd64d889146a5a1dbc24
4006+
=== Attribution helper version: {Major:0 Minor:11 GitVersion:0.10.0-114-g3747dab9 GitCommit:3747dab92eb29c0dbe6409ffbb824b9ae3a04b87 GitTreeState:dirty BuildDate:2024-02-28T16:52:52Z GoVersion:go1.21.0 Compiler:gc Platform:darwin/amd64}
4007+
=== License file based on go.mod with md5 sum: 002d30e85246feb4f9ea96ae4ad1d826

0 commit comments

Comments
 (0)