Skip to content

Commit 0d09e61

Browse files
Merge pull request #438 from YashwantGohokar/oke_oss_release_1.25.2
OKE OSS Release 1.25.2
2 parents 2debe01 + 3cecf6c commit 0d09e61

File tree

873 files changed

+36159
-12447
lines changed

Some content is hidden

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

873 files changed

+36159
-12447
lines changed

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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/

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.1 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: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +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.
1516
Copyright 2022 Oracle and/or its affiliates. All rights reserved.
17+
Copyright 2023 Oracle and/or its affiliates. All rights reserved.
1618

1719
-------------------------- Fourth Party Dependencies ---------------------------
1820

@@ -580,20 +582,6 @@ Copyright 2021 The Kubernetes Authors.
580582

581583
--------------------------------- (separator) ----------------------------------
582584

583-
== Dependency
584-
github.com/kubernetes-csi/external-resizer
585-
586-
== License Type
587-
SPDX:Apache-2.0
588-
589-
== Copyright
590-
Copyright 2018 The Kubernetes Authors.
591-
Copyright 2019 The Kubernetes Authors.
592-
Copyright 2020 The Kubernetes Authors.
593-
Copyright 2022 The Kubernetes Authors.
594-
595-
--------------------------------- (separator) ----------------------------------
596-
597585
== Dependency
598586
github.com/kubernetes-csi/external-snapshotter/client/v6
599587

@@ -608,20 +596,6 @@ Copyright 2022 The Kubernetes Authors.
608596

609597
--------------------------------- (separator) ----------------------------------
610598

611-
== Dependency
612-
github.com/kubernetes-csi/external-snapshotter/v6
613-
614-
== License Type
615-
SPDX:Apache-2.0
616-
617-
== Copyright
618-
Copyright 2018 The Kubernetes Authors.
619-
Copyright 2019 The Kubernetes Authors.
620-
Copyright 2020 The Kubernetes Authors.
621-
Copyright 2021 The Kubernetes Authors.
622-
623-
--------------------------------- (separator) ----------------------------------
624-
625599
== Dependency
626600
github.com/magiconair/properties
627601

@@ -1750,6 +1724,7 @@ Copyright 2017 The Go Authors. All rights reserved.
17501724
Copyright 2018 The Go Authors. All rights reserved.
17511725
Copyright 2019 The Go Authors. All rights reserved.
17521726
Copyright 2020 The Go Authors. All rights reserved.
1727+
Copyright 2022 The Go Authors. All rights reserved.
17531728

17541729
== Patents
17551730
Additional IP Rights Grant (Patents)
@@ -2001,6 +1976,7 @@ Copyright 2016 The Go Authors. All rights reserved.
20011976
Copyright 2017 The Go Authors. All rights reserved.
20021977
Copyright 2018 The Go Authors. All rights reserved.
20031978
Copyright 2019 The Go Authors. All rights reserved.
1979+
Copyright 2021 The Go Authors. All rights reserved.
20041980

20051981
== Patents
20061982
Additional IP Rights Grant (Patents)
@@ -3596,4 +3572,4 @@ the Mozilla Public License, v. 2.0.
35963572

35973573
=== ATTRIBUTION-HELPER-GENERATED:
35983574
=== 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}
3599-
=== License file based on go.mod with md5 sum: 3c73334856a41ee447dc3a4d568b052a
3575+
=== License file based on go.mod with md5 sum: 52aaa5c4cd897ee28d069e2081161b92

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/

go.mod

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,18 @@ require (
3939
github.com/container-storage-interface/spec v1.6.0
4040
github.com/golang/protobuf v1.5.2
4141
github.com/kubernetes-csi/csi-lib-utils v0.11.0
42-
github.com/kubernetes-csi/external-resizer v0.0.0-20220909153723-62048789556f // v1.6.0
4342
github.com/kubernetes-csi/external-snapshotter/client/v6 v6.1.0
44-
github.com/kubernetes-csi/external-snapshotter/v6 v6.1.0
4543
github.com/onsi/ginkgo v1.16.5
46-
github.com/onsi/gomega v1.20.1
47-
github.com/oracle/oci-go-sdk/v65 v65.40.1
44+
github.com/onsi/gomega v1.24.0
45+
github.com/oracle/oci-go-sdk/v65 v65.49.2
4846
github.com/pkg/errors v0.9.1
4947
github.com/prometheus/client_golang v1.13.0
5048
github.com/spf13/cobra v1.4.0 // indirect
5149
github.com/spf13/pflag v1.0.5
5250
github.com/spf13/viper v1.8.1
5351
go.uber.org/zap v1.21.0
54-
golang.org/x/net v0.0.0-20220909164309-bea034e7d591
55-
golang.org/x/sys v0.6.0 // indirect
52+
golang.org/x/net v0.1.0
53+
golang.org/x/sys v0.8.0 // indirect
5654
google.golang.org/grpc v1.49.0
5755
gopkg.in/natefinch/lumberjack.v2 v2.0.0
5856
gopkg.in/yaml.v2 v2.4.0
@@ -74,6 +72,7 @@ require (
7472
)
7573

7674
require (
75+
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4
7776
google.golang.org/protobuf v1.28.1
7877
k8s.io/apiextensions-apiserver v0.25.4
7978
)
@@ -101,7 +100,7 @@ require (
101100
github.com/gogo/protobuf v1.3.2 // indirect
102101
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
103102
github.com/google/gnostic v0.6.9 // indirect
104-
github.com/google/go-cmp v0.5.8 // indirect
103+
github.com/google/go-cmp v0.5.9 // indirect
105104
github.com/google/gofuzz v1.2.0 // indirect
106105
github.com/google/uuid v1.3.0 // indirect
107106
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
@@ -123,6 +122,7 @@ require (
123122
github.com/modern-go/reflect2 v1.0.2 // indirect
124123
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
125124
github.com/nxadm/tail v1.4.8 // indirect
125+
github.com/onsi/ginkgo/v2 v2.6.0 // indirect
126126
github.com/opencontainers/go-digest v1.0.0 // indirect
127127
github.com/opencontainers/selinux v1.10.0 // indirect
128128
github.com/pelletier/go-toml v1.9.3 // indirect
@@ -150,14 +150,13 @@ require (
150150
go.opentelemetry.io/proto/otlp v0.7.0 // indirect
151151
go.uber.org/atomic v1.7.0 // indirect
152152
go.uber.org/multierr v1.6.0 // indirect
153-
golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd // indirect
154-
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
153+
golang.org/x/crypto v0.1.0 // indirect
154+
golang.org/x/mod v0.6.0 // indirect
155155
golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a // indirect
156-
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
157-
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
158-
golang.org/x/text v0.3.7 // indirect
156+
golang.org/x/term v0.1.0 // indirect
157+
golang.org/x/text v0.4.0 // indirect
159158
golang.org/x/time v0.0.0-20220609170525-579cf78fd858 // indirect
160-
golang.org/x/tools v0.1.12 // indirect
159+
golang.org/x/tools v0.2.0 // indirect
161160
google.golang.org/appengine v1.6.7 // indirect
162161
google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21 // indirect
163162
gopkg.in/inf.v0 v0.9.1 // indirect

0 commit comments

Comments
 (0)