Skip to content

Commit db73149

Browse files
OKE OSS Release v1.27.0
1 parent 4102275 commit db73149

File tree

1,746 files changed

+98941
-32749
lines changed

Some content is hidden

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

1,746 files changed

+98941
-32749
lines changed

.github/workflows/makefile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Set up Go 1.x
1313
uses: actions/setup-go@v2
1414
with:
15-
go-version: 1.19
15+
go-version: '1.20'
1616
id: go
1717

1818
- name: Check out code into the Go module directory

Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
ARG CI_IMAGE_REGISTRY
1616

17-
FROM golang:1.19.6 as builder
17+
FROM golang:1.20.4 as builder
1818

1919
ARG COMPONENT
2020

@@ -37,4 +37,11 @@ RUN yum install -y util-linux \
3737
&& yum install -y xfsprogs \
3838
&& yum clean all
3939

40+
COPY scripts/encrypt-mount /sbin/encrypt-mount
41+
COPY scripts/encrypt-umount /sbin/encrypt-umount
42+
COPY scripts/rpm-host /sbin/rpm-host
43+
RUN chmod 755 /sbin/encrypt-mount
44+
RUN chmod 755 /sbin/encrypt-umount
45+
RUN chmod 755 /sbin/rpm-host
46+
4047
COPY --from=0 /go/src/github.com/oracle/oci-cloud-controller-manager/dist/* /usr/local/bin/

Dockerfile_arm_all

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG CI_IMAGE_REGISTRY
22

3-
FROM golang:1.19.6 as builder
3+
FROM golang:1.20.4 as builder
44

55
ARG COMPONENT
66

@@ -21,4 +21,11 @@ RUN yum install -y util-linux \
2121
&& yum clean all
2222
\
2323

24+
COPY scripts/encrypt-mount /sbin/encrypt-mount
25+
COPY scripts/encrypt-umount /sbin/encrypt-umount
26+
COPY scripts/rpm-host /sbin/rpm-host
27+
RUN chmod 755 /sbin/encrypt-mount
28+
RUN chmod 755 /sbin/encrypt-umount
29+
RUN chmod 755 /sbin/rpm-host
30+
2431
COPY --from=0 /go/src/github.com/oracle/oci-cloud-controller-manager/dist/arm/* /usr/local/bin/

Makefile

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

41-
RELEASE = v1.26.0
41+
RELEASE = v1.27.0
4242

4343
GOOS ?= linux
4444
ARCH ?= amd64
@@ -195,7 +195,7 @@ test-local: build-dirs
195195
-v $(PWD):$(DOCKER_REPO_ROOT) \
196196
-e COMPONENT="$(COMPONENT)" \
197197
-e GOPATH=/go/ \
198-
odo-docker-signed-local.artifactory.oci.oraclecorp.com/odx-oke/oke/k8-manager-base:go1.19.6-1.0.17 \
198+
odo-docker-signed-local.artifactory.oci.oraclecorp.com/odx-oke/oke/k8-manager-base:go1.20.4-1.0.19 \
199199
make coverage image
200200

201201
.PHONY: run-ccm-e2e-tests-local

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,15 @@ cloud-provider specific code out of the Kubernetes codebase.
3131
| v1.22.0 | v1.22 | - |
3232
| v1.23.0 | v1.23 | - |
3333
| v1.24.2 | v1.24 | - |
34-
| v1.25.1 | v1.25 | - |
35-
| v1.26.0 | v1.26 | - |
34+
| v1.25.2 | v1.25 | - |
35+
| v1.26.1 | v1.26 | - |
36+
| v1.27.0 | v1.27 | - |
3637

3738

3839

3940

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

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

THIRD_PARTY_LICENSES.txt

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@ SPDX:Apache-2.0
66
---------------------------------- Copyright -----------------------------------
77
Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
88
Copyright 2014 The Kubernetes Authors.
9+
Copyright 2016 The Kubernetes Authors.
910
Copyright 2017 Oracle and/or its affiliates. All rights reserved.
1011
Copyright 2017 The Kubernetes Authors.
1112
Copyright 2018 Oracle and/or its affiliates. All rights reserved.
1213
Copyright 2019 Oracle and/or its affiliates. All rights reserved.
1314
Copyright 2020 Oracle and/or its affiliates. All rights reserved.
1415
Copyright 2021 Oracle and/or its affiliates. All rights reserved.
16+
Copyright 2022 Oracle and/or its affiliates. All rights reserved.
17+
Copyright 2023 Oracle and/or its affiliates. All rights reserved.
1518

1619
-------------------------- Fourth Party Dependencies ---------------------------
1720

@@ -50,6 +53,17 @@ Copyright 2021 The ANTLR Project
5053

5154
--------------------------------- (separator) ----------------------------------
5255

56+
== Dependency
57+
github.com/asaskevich/govalidator
58+
59+
== License Type
60+
SPDX:MIT
61+
62+
== Copyright
63+
Copyright (c) 2014 Alex Saskevich
64+
65+
--------------------------------- (separator) ----------------------------------
66+
5367
== Dependency
5468
github.com/beorn7/perks
5569

@@ -283,6 +297,7 @@ SPDX:Apache-2.0
283297
Copyright 2019 The logr Authors.
284298
Copyright 2020 The logr Authors.
285299
Copyright 2021 The logr Authors.
300+
Copyright 2022 The logr Authors.
286301

287302
--------------------------------- (separator) ----------------------------------
288303

@@ -2391,6 +2406,8 @@ Copyright 2019 The Go Authors. All rights reserved.
23912406
Copyright 2019 The Go Authors. All rights reserved.",
23922407
Copyright 2020 The Go Authors. All rights reserved.
23932408
Copyright 2021 The Go Authors. All rights reserved.
2409+
Copyright 2022 The Go Authors. All rights reserved.
2410+
Copyright 2023 The Go Authors. All rights reserved.
23942411

23952412
== Patents
23962413
Additional IP Rights Grant (Patents)
@@ -2625,6 +2642,7 @@ Copyright 2019 The Kubernetes Authors.
26252642
Copyright 2020 The Kubernetes Authors.
26262643
Copyright 2021 The Kubernetes Authors.
26272644
Copyright 2022 The Kubernetes Authors.
2645+
Copyright 2023 The Kubernetes Authors.
26282646

26292647
--------------------------------- (separator) ----------------------------------
26302648

@@ -2642,6 +2660,7 @@ Copyright 2019 The Kubernetes Authors.
26422660
Copyright 2020 The Kubernetes Authors.
26432661
Copyright 2021 The Kubernetes Authors.
26442662
Copyright 2022 The Kubernetes Authors.
2663+
Copyright 2023 The Kubernetes Authors.
26452664

26462665
--------------------------------- (separator) ----------------------------------
26472666

@@ -2664,6 +2683,7 @@ Copyright 2019 The Kubernetes Authors.
26642683
Copyright 2020 The Kubernetes Authors.
26652684
Copyright 2021 The Kubernetes Authors.
26662685
Copyright 2022 The Kubernetes Authors.
2686+
Copyright 2023 The Kubernetes Authors.
26672687

26682688
--------------------------------- (separator) ----------------------------------
26692689

@@ -2683,6 +2703,7 @@ Copyright 2019 The Kubernetes Authors.
26832703
Copyright 2020 The Kubernetes Authors.
26842704
Copyright 2021 The Kubernetes Authors.
26852705
Copyright 2022 The Kubernetes Authors.
2706+
Copyright 2023 The Kubernetes Authors.
26862707

26872708
--------------------------------- (separator) ----------------------------------
26882709

@@ -2703,6 +2724,7 @@ Copyright 2019 The Kubernetes Authors.
27032724
Copyright 2020 The Kubernetes Authors.
27042725
Copyright 2021 The Kubernetes Authors.
27052726
Copyright 2022 The Kubernetes Authors.
2727+
Copyright 2023 The Kubernetes Authors.
27062728

27072729
--------------------------------- (separator) ----------------------------------
27082730

@@ -2721,6 +2743,8 @@ Copyright 2018 The Kubernetes Authors.
27212743
Copyright 2019 The Kubernetes Authors.
27222744
Copyright 2020 The Kubernetes Authors.
27232745
Copyright 2021 The Kubernetes Authors.
2746+
Copyright 2022 The Kubernetes Authors.
2747+
Copyright 2023 The Kubernetes Authors.
27242748

27252749
--------------------------------- (separator) ----------------------------------
27262750

@@ -2740,6 +2764,7 @@ Copyright 2019 The Kubernetes Authors.
27402764
Copyright 2020 The Kubernetes Authors.
27412765
Copyright 2021 The Kubernetes Authors.
27422766
Copyright 2022 The Kubernetes Authors.
2767+
Copyright 2023 The Kubernetes Authors.
27432768

27442769
--------------------------------- (separator) ----------------------------------
27452770

@@ -2757,6 +2782,7 @@ Copyright 2018 The Kubernetes Authors.
27572782
Copyright 2019 The Kubernetes Authors.
27582783
Copyright 2020 The Kubernetes Authors.
27592784
Copyright 2021 The Kubernetes Authors.
2785+
Copyright 2023 The Kubernetes Authors.
27602786

27612787
--------------------------------- (separator) ----------------------------------
27622788

@@ -2803,6 +2829,7 @@ Copyright 2020 Intel Coporation.
28032829
Copyright 2020 The Kubernetes Authors.
28042830
Copyright 2021 The Kubernetes Authors.
28052831
Copyright 2022 The Kubernetes Authors.
2832+
Copyright 2023 The Kubernetes Authors.
28062833

28072834
--------------------------------- (separator) ----------------------------------
28082835

@@ -2813,8 +2840,10 @@ k8s.io/kms
28132840
SPDX:Apache-2.0
28142841

28152842
== Copyright
2843+
Copyright 2017 The Kubernetes Authors.
28162844
Copyright 2019 The Kubernetes Authors.
28172845
Copyright 2022 The Kubernetes Authors.
2846+
Copyright 2023 The Kubernetes Authors.
28182847

28192848
--------------------------------- (separator) ----------------------------------
28202849

@@ -2839,6 +2868,7 @@ Copyright 2021 The Go Authors. All rights reserved.
28392868
Copyright 2021 The Kubernetes Authors.
28402869
Copyright 2022 The Go Authors. All rights reserved.
28412870
Copyright 2022 The Kubernetes Authors.
2871+
Copyright 2023 The Kubernetes Authors.
28422872

28432873
--------------------------------- (separator) ----------------------------------
28442874

@@ -2872,6 +2902,7 @@ Copyright 2019 The Kubernetes Authors.
28722902
Copyright 2020 The Kubernetes Authors.
28732903
Copyright 2021 The Kubernetes Authors.
28742904
Copyright 2022 The Kubernetes Authors.
2905+
Copyright 2023 The Kubernetes Authors.
28752906

28762907
--------------------------------- (separator) ----------------------------------
28772908

@@ -2900,6 +2931,7 @@ SPDX:Apache-2.0
29002931
== Copyright
29012932
Copyright (c) 2009 The Go Authors. All rights reserved.
29022933
Copyright (c) 2015-2016 Manfred Touron
2934+
Copyright (c) 2015-2018 gimme contributors
29032935
Copyright (c) Microsoft Corporation. All rights reserved.
29042936
Copyright 2009 The Go Authors. All rights reserved.
29052937
Copyright 2014 The Kubernetes Authors.
@@ -3229,7 +3261,7 @@ Copyright 2021 The Kubernetes Authors.
32293261
--------------------------------- (separator) ----------------------------------
32303262

32313263
== Dependency
3232-
sigs.k8s.io/sig-storage-lib-external-provisioner/v8
3264+
sigs.k8s.io/sig-storage-lib-external-provisioner/v9
32333265

32343266
== License Type
32353267
SPDX:Apache-2.0
@@ -3902,4 +3934,4 @@ the Mozilla Public License, v. 2.0.
39023934

39033935
=== ATTRIBUTION-HELPER-GENERATED:
39043936
=== 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}
3905-
=== License file based on go.mod with md5 sum: 44a3b09805c5f60c83e1b48d2c1b752f
3937+
=== License file based on go.mod with md5 sum: b60928eaa9060ddc672cab2c555f2306

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.26
1+
1.27

container-storage-interface.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ $ kubectl describe pvc/oci-bv-claim
130130

131131
# Troubleshoot
132132

133-
### FsGroup policy not propagated from pod security context
133+
## FsGroup policy not propagated from pod security context
134134

135135
If your fsGroup is not being applied on the files in your volume.
136136

@@ -183,6 +183,21 @@ spec:
183183
```
184184
`File` - Indicates that the CSI volume driver supports volume ownership and permission change via fsGroup, and Kubernetes may use fsGroup to change permissions and ownership of the volume to match user requested fsGroup in the pod's SecurityPolicy regardless of fstype or access mode.
185185

186+
## Calico-node pods fail readiness health checks when oci-fss-utils is installed on node
187+
188+
If you are using Calico CNI, the following error is thrown by the Calico daemonset pods that are scheduled on the node which has oci-fss-utils package installed:
189+
```
190+
Readiness probe failed: 2023-10-12 08:51:08.172 [INFO][346] confd/health.go 180: Number of node(s) with BGP peering established = 0 calico/node is not ready: BIRD is not ready: BGP not established with 10.0.0.5,10.0.76.88,10.0.66.239
191+
```
192+
193+
### Solution:
194+
195+
Add the following env setting to the calico-node container in the calico-node daemonset manifest.
196+
```yaml
197+
- name: IP_AUTODETECTION_METHOD
198+
value: 'skip-interface=v-eth.*'
199+
```
200+
186201
[1]: https://docs.us-phoenix-1.oraclecloud.com/Content/Block/Concepts/overview.htm
187202
[2]: https://kubernetes.io/blog/2019/01/15/container-storage-interface-ga/
188203
[3]: https://kubernetes.io/docs/admin/authorization/rbac/

0 commit comments

Comments
 (0)