Skip to content

Commit 1d5d20f

Browse files
authored
Fetch IAM Endpoint Dynamically (#257)
* update versions * update versions * fetch iam endpoint dynamically Signed-off-by: Ashima-Ashima1 <[email protected]> * fix uts Signed-off-by: Ashima-Ashima1 <[email protected]> * publish v0.9.0 Signed-off-by: Ashima-Ashima1 <[email protected]> * publish v0.9.1 Signed-off-by: Ashima-Ashima1 <[email protected]> * fix travis Signed-off-by: Ashima-Ashima1 <[email protected]> * publish v0.9.1 Signed-off-by: Ashima-Ashima1 <[email protected]> * revert version Signed-off-by: Ashima-Ashima1 <[email protected]> * revert version Signed-off-by: Ashima-Ashima1 <[email protected]> * address review comments Signed-off-by: Ashima-Ashima1 <[email protected]> * minor fixes Signed-off-by: Ashima-Ashima1 <[email protected]> --------- Signed-off-by: Ashima-Ashima1 <[email protected]>
1 parent 0ab377c commit 1d5d20f

21 files changed

+106
-33
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Checkout Code
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v5
2525

2626
- name: Print Go Version
2727
run: go version
@@ -65,7 +65,7 @@ jobs:
6565
/home/runner/work/ibm-object-csi-driver/ibm-object-csi-driver/cos-csi-mounter/cos-csi-mounter-${{ env.APP_VERSION }}.rpm.tar.gz.sha256
6666
tag_name: v1.0.3
6767
name: v1.0.3
68-
## body:
68+
## body:
6969
prerelease: ${{ env.IS_LATEST_RELEASE != 'true' }}
7070

7171
- name: Perform CodeQL Analysis

.secrets.baseline

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": "go.sum|^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2025-08-08T10:24:11Z",
6+
"generated_at": "2025-08-25T02:32:44Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"
@@ -209,7 +209,7 @@
209209
"hashed_secret": "39f69c278f46165447f30d10acf54277aaa3d5fc",
210210
"is_secret": false,
211211
"is_verified": false,
212-
"line_number": 85,
212+
"line_number": 86,
213213
"type": "Secret Keyword",
214214
"verified_result": null
215215
}
@@ -270,7 +270,7 @@
270270
{
271271
"hashed_secret": "c7c6508b19455e3e8040e60e9833fbede92e5d8e",
272272
"is_verified": false,
273-
"line_number": 356,
273+
"line_number": 368,
274274
"type": "Secret Keyword",
275275
"verified_result": null
276276
}

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
dist: bionic
33
language: go
44
go:
5-
- 1.24.5
5+
- 1.25.0
66

77
group: bluezone
88

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ FROM registry.access.redhat.com/ubi8/ubi AS rclone-builder
3030
RUN yum install wget git gcc -y
3131

3232
ENV ARCH=amd64
33-
ENV GO_VERSION=1.24.5
33+
ENV GO_VERSION=1.25.0
3434

3535
RUN echo $ARCH $GO_VERSION
3636

Dockerfile.builder

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24.5
1+
FROM golang:1.25.0
22

33
WORKDIR /go/src/github.com/IBM/ibm-object-csi-driver
44
ADD . /go/src/github.com/IBM/ibm-object-csi-driver

deploy/ibmCloud/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ images:
2525
newName: k8s.gcr.io/sig-storage/csi-node-driver-registrar
2626
newTag: v2.12.0
2727
- newName: registry.k8s.io/sig-storage/livenessprobe
28-
newTag: v2.14.0
28+
newTag: v2.16.0
2929
name: liveness-probe-image
3030
commonLabels:
3131
app.kubernetes.io/part-of: ibm-object-csi-driver

deploy/ibmUnmanaged/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ images:
1919
newName: k8s.gcr.io/sig-storage/csi-node-driver-registrar
2020
newTag: v2.12.0
2121
- newName: registry.k8s.io/sig-storage/livenessprobe
22-
newTag: v2.14.0
22+
newTag: v2.16.0
2323
name: liveness-probe-image
2424
commonLabels:
2525
app.kubernetes.io/part-of: ibm-object-csi-driver

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ require (
2121
go.uber.org/zap v1.27.0
2222
golang.org/x/net v0.43.0
2323
google.golang.org/grpc v1.74.2
24-
google.golang.org/protobuf v1.36.6
24+
google.golang.org/protobuf v1.36.7
2525
k8s.io/api v0.33.4
2626
k8s.io/apimachinery v0.33.4
2727
k8s.io/client-go v0.33.4

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20250528174236-200df99c418a h1:
392392
google.golang.org/genproto/googleapis/rpc v0.0.0-20250528174236-200df99c418a/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A=
393393
google.golang.org/grpc v1.74.2 h1:WoosgB65DlWVC9FqI82dGsZhWFNBSLjQ84bjROOpMu4=
394394
google.golang.org/grpc v1.74.2/go.mod h1:CtQ+BGjaAIXHs/5YS3i473GqwBBa1zGQNevxdeBEXrM=
395-
google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY=
396-
google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY=
395+
google.golang.org/protobuf v1.36.7 h1:IgrO7UwFQGJdRNXH/sQux4R1Dj1WAKcLElzeeRaXV2A=
396+
google.golang.org/protobuf v1.36.7/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY=
397397
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
398398
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
399399
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=

pkg/constants/constants.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ package constants
33
import "time"
44

55
const (
6-
DefaultIAMEndPoint = "https://iam.cloud.ibm.com"
6+
PublicIAMEndpoint = "https://iam.cloud.ibm.com"
7+
PrivateIAMEndpoint = "https://private.iam.cloud.ibm.com"
78

89
// Maximum number of volumes that controller can publish to the node.
910
// If value is not set or zero CO SHALL decide how many volumes of

0 commit comments

Comments
 (0)