Skip to content

Commit 66f0da5

Browse files
Merge pull request #3 from guillaumebernard84/master
test rebase
2 parents 86343ad + 6b12451 commit 66f0da5

File tree

90 files changed

+1625
-2315
lines changed

Some content is hidden

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

90 files changed

+1625
-2315
lines changed
Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
---
2+
name: Bug report
3+
about: Bug report
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
110
<!--
211
Please add the affected binary name in the title unless multiple binaries are affected, e.g.
312
[cinder-csi-plugin] Cannot delete PV
@@ -14,12 +23,7 @@ All the currently maintained binaries are:
1423
* barbican-kms-plugin
1524
-->
1625

17-
**Is this a BUG REPORT or FEATURE REQUEST?**:
18-
19-
> Uncomment only one, leave it on its own line:
20-
>
21-
> /kind bug
22-
> /kind feature
26+
/kind bug
2327

2428
**What happened**:
2529

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
name: Feature report
3+
about: Feature report
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
<!--
11+
Please add the affected binary name in the title unless multiple binaries are affected, e.g.
12+
[cinder-csi-plugin] Cannot delete PV
13+
For openstack-cloud-controller-manager, you can use [occm] for short.
14+
15+
All the currently maintained binaries are:
16+
* openstack-cloud-controller-manager (occm)
17+
* cinder-csi-plugin
18+
* manila-csi-plugin
19+
* k8s-keystone-auth
20+
* client-keystone-auth
21+
* octavia-ingress-controller
22+
* magnum-auto-healer
23+
* barbican-kms-plugin
24+
-->
25+
26+
/kind feature
27+
28+
**What happened**:
29+
30+
31+
**What you expected to happen**:
32+
33+
34+
**How to reproduce it**:
35+
36+
37+
**Anything else we need to know?**:
38+
39+
40+
**Environment**:
41+
- openstack-cloud-controller-manager(or other related binary) version:
42+
- OpenStack version:
43+
- Others:

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@
1414
## BUILD ARGS ##
1515
################################################################################
1616
# This build arg allows the specification of a custom Golang image.
17-
ARG GOLANG_IMAGE=golang:1.22.2
17+
ARG GOLANG_IMAGE=golang:1.23.6
1818

1919
# The distroless image on which the CPI manager image is built.
2020
#
2121
# Please do not use "latest". Explicit tags should be used to provide
2222
# deterministic builds. Follow what kubernetes uses to build
2323
# kube-controller-manager, for example for 1.27.x:
2424
# https://github.com/kubernetes/kubernetes/blob/release-1.27/build/common.sh#L99
25-
ARG DISTROLESS_IMAGE=registry.k8s.io/build-image/go-runner:v2.3.1-go1.22.2-bookworm.0
25+
ARG DISTROLESS_IMAGE=registry.k8s.io/build-image/go-runner:v2.4.0-go1.23.6-bookworm.0
2626

2727
# We use Alpine as the source for default CA certificates and some output
2828
# images
29-
ARG ALPINE_IMAGE=alpine:3.17.5
29+
ARG ALPINE_IMAGE=alpine:3.21.2
3030

3131
# cinder-csi-plugin uses Debian as a base image
3232
ARG DEBIAN_IMAGE=registry.k8s.io/build-image/debian-base:bookworm-v1.0.4

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ $(BUILD_CMDS): $(SOURCES)
8181
test: unit functional
8282

8383
check: work
84-
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61.0 run ./...
84+
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.63.4 run --timeout=20m ./...
8585

8686
unit: work
8787
go test -tags=unit $(shell go list ./... | sed -e '/sanity/ { N; d; }' | sed -e '/tests/ {N; d;}') $(TESTARGS)

OWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ emeritus_approvers:
66
approvers:
77
- dulek
88
- kayrus
9+
- stephenfin
910
- zetaab
1011
reviewers:
1112
- dulek
1213
- kayrus
1314
- mdbooth
15+
- stephenfin
1416
- zetaab

SECURITY_CONTACTS

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
# DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE
1111
# INSTRUCTIONS AT https://kubernetes.io/security/
1212

13-
hogepodge
14-
dklyle
13+
dulek
14+
kayrus
15+
zetaab

charts/cinder-csi-plugin/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
2-
appVersion: v1.31.2
2+
appVersion: v1.32.0
33
description: Cinder CSI Chart for OpenStack
44
name: openstack-cinder-csi
5-
version: 2.31.7
5+
version: 2.33.0-alpha.0
66
home: https://github.com/kubernetes/cloud-provider-openstack
77
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
88
maintainers:

charts/manila-csi-plugin/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
2-
appVersion: v1.31.2
2+
appVersion: v1.32.0
33
description: Manila CSI Chart for OpenStack
44
name: openstack-manila-csi
5-
version: 2.31.4
5+
version: 2.33.0-alpha.0
66
home: http://github.com/kubernetes/cloud-provider-openstack
77
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
88
maintainers:

charts/openstack-cloud-controller-manager/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
apiVersion: v2
2-
appVersion: v1.31.2
2+
appVersion: v1.32.0
33
description: Openstack Cloud Controller Manager Helm Chart
44
icon: https://object-storage-ca-ymq-1.vexxhost.net/swift/v1/6e4619c416ff4bd19e1c087f27a43eea/www-images-prod/openstack-logo/OpenStack-Logo-Vertical.png
55
home: https://github.com/kubernetes/cloud-provider-openstack
66
name: openstack-cloud-controller-manager
7-
version: 2.31.2
7+
version: 2.33.0-alpha.0
88
maintainers:
99
- name: eumel8
1010
email: f.kloeker@telekom.de

cmd/client-keystone-auth/main.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ limitations under the License.
1717
package main
1818

1919
import (
20+
"context"
2021
"fmt"
2122
"io"
2223
"net/http"
@@ -156,7 +157,7 @@ func main() {
156157
Use: "client-keystone-auth",
157158
Short: "Keystone client credential plugin for Kubernetes",
158159
Run: func(cmd *cobra.Command, args []string) {
159-
handle()
160+
handle(context.Background())
160161
},
161162
Version: version.Version,
162163
}
@@ -177,7 +178,7 @@ func main() {
177178
os.Exit(code)
178179
}
179180

180-
func handle() {
181+
func handle(ctx context.Context) {
181182
// Generate Gophercloud Auth Options based on input data from stdin
182183
// if IsTerminal returns "true", or from env variables otherwise.
183184
if !term.IsTerminal(int(os.Stdin.Fd())) {
@@ -214,7 +215,7 @@ func handle() {
214215
options.ClientKeyPath = clientKeyPath
215216
options.ClientCAPath = clientCAPath
216217

217-
token, err := keystone.GetToken(options)
218+
token, err := keystone.GetToken(ctx, options)
218219
if err != nil {
219220
if gophercloud.ResponseCodeIs(err, http.StatusUnauthorized) {
220221
fmt.Println(errRespTemplate)

0 commit comments

Comments
 (0)