File tree Expand file tree Collapse file tree 4 files changed +4
-8
lines changed
cmd/openstack-cloud-controller-manager
tests/playbooks/roles/install-golang/defaults Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 14
14
# # BUILD ARGS ##
15
15
# ###############################################################################
16
16
# This build arg allows the specification of a custom Golang image.
17
- ARG GOLANG_IMAGE=golang:1.19.6
17
+ ARG GOLANG_IMAGE=golang:1.20.1
18
18
19
19
# The distroless image on which the CPI manager image is built.
20
20
#
21
21
# Please do not use "latest". Explicit tags should be used to provide
22
22
# deterministic builds. Follow what kubernetes uses to build
23
23
# kube-controller-manager, for example for 1.23.x:
24
24
# https://github.com/kubernetes/kubernetes/blob/release-1.24/build/common.sh#L94
25
- ARG DISTROLESS_IMAGE=k8s.gcr.io/build-image/go-runner:v2.3.1-go1.19.6 -bullseye.0
25
+ ARG DISTROLESS_IMAGE=k8s.gcr.io/build-image/go-runner:v2.3.1-go1.20.1 -bullseye.0
26
26
27
27
# We use Alpine as the source for default CA certificates and some output
28
28
# images
Original file line number Diff line number Diff line change @@ -22,9 +22,7 @@ package main
22
22
import (
23
23
goflag "flag"
24
24
"fmt"
25
- "math/rand"
26
25
"os"
27
- "time"
28
26
29
27
"github.com/spf13/pflag"
30
28
"k8s.io/apimachinery/pkg/util/wait"
@@ -44,8 +42,6 @@ import (
44
42
)
45
43
46
44
func main () {
47
- rand .Seed (time .Now ().UnixNano ())
48
-
49
45
ccmOptions , err := options .NewCloudControllerManagerOptions ()
50
46
if err != nil {
51
47
klog .Fatalf ("unable to initialize command options: %v" , err )
Original file line number Diff line number Diff line change 1
1
module k8s.io/cloud-provider-openstack
2
2
3
- go 1.19
3
+ go 1.20
4
4
5
5
replace github.com/onsi/ginkgo/v2 => github.com/onsi/ginkgo/v2 v2.4.0
6
6
Original file line number Diff line number Diff line change 1
1
---
2
- go_version : ' 1.19 '
2
+ go_version : ' 1.20 '
3
3
arch : ' amd64'
4
4
go_tarball : ' go{{ go_version }}.linux-{{ arch }}.tar.gz'
5
5
go_download_location : ' https://go.dev/dl/{{ go_tarball }}'
You can’t perform that action at this time.
0 commit comments