Skip to content

Commit c8e09ad

Browse files
authored
chore(deps): Update dependencies and Go version to 1.25.7 (#753)
1 parent 60139e0 commit c8e09ad

File tree

6 files changed

+107
-111
lines changed

6 files changed

+107
-111
lines changed

Dockerfile

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

1515
# Use distroless as minimal base image to package the manager binary
1616
# Refer to https://github.com/GoogleContainerTools/distroless for more details
17-
FROM gcr.io/distroless/static:nonroot@sha256:f43f134f5d60bf7afb3db92f865db42514913f01a53b08cd59a1ac6534671077
17+
FROM gcr.io/distroless/static:nonroot@sha256:88a46f645e304fc0dcfbdacdfa338ce02d9890df5f936872243d553278deae92
1818

1919
# For multi-arch builds, use automatic platform build arguments
2020
# see https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope

Dockerfile-operator

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
2828

2929
# Use distroless as minimal base image to package the manager binary
3030
# Refer to https://github.com/GoogleContainerTools/distroless for more details
31-
FROM gcr.io/distroless/static:nonroot@sha256:f43f134f5d60bf7afb3db92f865db42514913f01a53b08cd59a1ac6534671077
31+
FROM gcr.io/distroless/static:nonroot@sha256:88a46f645e304fc0dcfbdacdfa338ce02d9890df5f936872243d553278deae92
3232

3333
# For multi-arch builds, use automatic platform build arguments
3434
# see https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function dockerfile_from_deps() {
161161
else
162162
echo "Updating docker image to $file to $digest"
163163
set -x
164-
sed -i "" "s/$oldDigest/$digest/g" "$file"
164+
sed -i '' "s/$oldDigest/$digest/g" "$file"
165165
fi
166166

167167
}

docs/api.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ _Appears in:_
5858
| `maxSigtermDelay` _integer_ | MaxSigtermDelay is the maximum number of seconds to wait for connections to<br />close after receiving a TERM signal. This sets the proxy container's<br />CLI argument `--max-sigterm-delay` and<br />configures `terminationGracePeriodSeconds` on the workload's PodSpec. | | Minimum: 0 <br />Optional: \{\} <br /> |
5959
| `minSigtermDelay` _integer_ | MinSigtermDelay is the minimum number of seconds to wait for connections to<br />close after receiving a TERM signal. This sets the proxy container's<br />CLI argument `--min-sigterm-delay` | | Minimum: 0 <br />Optional: \{\} <br /> |
6060
| `sqlAdminAPIEndpoint` _string_ | SQLAdminAPIEndpoint is a debugging parameter that when specified will<br />change the Google Cloud api endpoint used by the proxy. | | Optional: \{\} <br /> |
61-
| `image` _string_ | Image is the URL to the proxy image. Optional, by default the operator<br />will use the latest Cloud SQL Auth Proxy version as of the release of the<br />operator.<br /><br />The operator ensures that all workloads configured with the default proxy<br />image are upgraded automatically to use to the latest released proxy image.<br /><br />When the customer upgrades the operator, the operator upgrades all<br />workloads using the default proxy image to the latest proxy image. The<br />change to the proxy container image is applied in accordance with<br />the RolloutStrategy. | | Optional: \{\} <br /> |
61+
| `image` _string_ | Image is the URL to the proxy image. Optional, by default the operator<br />will use the latest Cloud SQL Auth Proxy version as of the release of the<br />operator.<br />The operator ensures that all workloads configured with the default proxy<br />image are upgraded automatically to use to the latest released proxy image.<br />When the customer upgrades the operator, the operator upgrades all<br />workloads using the default proxy image to the latest proxy image. The<br />change to the proxy container image is applied in accordance with<br />the RolloutStrategy. | | Optional: \{\} <br /> |
6262
| `rolloutStrategy` _string_ | RolloutStrategy indicates the strategy to use when rolling out changes to<br />the workloads affected by the results. When this is set to<br />`Workload`, changes to this resource will be automatically applied<br />to a running Deployment, StatefulSet, DaemonSet, or ReplicaSet in<br />accordance with the Strategy set on that workload. When this is set to<br />`None`, the operator will take no action to roll out changes to affected<br />workloads. `Workload` will be used by default if no value is set.<br />See: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy | Workload | Enum: [Workload None] <br />Optional: \{\} <br /> |
6363
| `refreshStrategy` _string_ | RefreshStrategy indicates which refresh strategy the proxy should use.<br />When this is set to `lazy`, the proxy will use a lazy refresh strategy,<br />and will be configured to run with the --lazy-refresh flag. When this<br />omitted or set to `background`, the proxy will use the default background<br />refresh strategy.<br />See: https://github.com/GoogleCloudPlatform/cloud-sql-proxy/?tab=readme-ov-file#configuring-a-lazy-refresh | background | Enum: [lazy background] <br />Optional: \{\} <br /> |
6464
| `quiet` _boolean_ | Quiet configures the proxy's --quiet flag to limit the amount of<br />logging generated by the proxy container. | | |
@@ -130,25 +130,21 @@ _Appears in:_
130130
InstanceSpec describes the configuration for how the proxy should expose
131131
a Cloud SQL database instance to a workload.
132132

133-
134133
In the minimum recommended configuration, the operator will choose
135134
a non-conflicting TCP port and set environment
136135
variables MY_DB_SERVER_PORT MY_DB_SERVER_HOST with the value of the TCP port
137136
and hostname. The application can read these values to connect to the database
138137
through the proxy. For example:
139138

140-
141139
`{
142140
"connectionString":"my-project:us-central1:my-db-server",
143141
"portEnvName":"MY_DB_SERVER_PORT"
144142
"hostEnvName":"MY_DB_SERVER_HOST"
145143
}`
146144

147-
148145
If you want to assign a specific port number for a database, set the `port`
149146
field. For example:
150147

151-
152148
`{ "connectionString":"my-project:us-central1:my-db-server", "port":5000 }`
153149

154150

go.mod

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ module github.com/GoogleCloudPlatform/cloud-sql-proxy-operator
33
go 1.25.0
44

55
require (
6-
cloud.google.com/go/cloudsqlconn v1.20.0
6+
cloud.google.com/go/cloudsqlconn v1.20.1
77
github.com/go-logr/logr v1.4.3
88
go.uber.org/zap v1.27.1
9-
k8s.io/api v0.35.1
10-
k8s.io/apimachinery v0.35.1
11-
k8s.io/client-go v0.35.1
12-
sigs.k8s.io/controller-runtime v0.23.1
9+
k8s.io/api v0.35.2
10+
k8s.io/apimachinery v0.35.2
11+
k8s.io/client-go v0.35.2
12+
sigs.k8s.io/controller-runtime v0.23.3
1313
sigs.k8s.io/yaml v1.6.0
1414
)
1515

@@ -22,20 +22,20 @@ require (
2222
github.com/fsnotify/fsnotify v1.9.0 // indirect
2323
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
2424
github.com/go-logr/zapr v1.3.0 // indirect
25-
github.com/go-openapi/jsonpointer v0.22.4 // indirect
26-
github.com/go-openapi/jsonreference v0.21.4 // indirect
27-
github.com/go-openapi/swag v0.25.4 // indirect
28-
github.com/go-openapi/swag/cmdutils v0.25.4 // indirect
29-
github.com/go-openapi/swag/conv v0.25.4 // indirect
30-
github.com/go-openapi/swag/fileutils v0.25.4 // indirect
31-
github.com/go-openapi/swag/jsonname v0.25.4 // indirect
32-
github.com/go-openapi/swag/jsonutils v0.25.4 // indirect
33-
github.com/go-openapi/swag/loading v0.25.4 // indirect
34-
github.com/go-openapi/swag/mangling v0.25.4 // indirect
35-
github.com/go-openapi/swag/netutils v0.25.4 // indirect
36-
github.com/go-openapi/swag/stringutils v0.25.4 // indirect
37-
github.com/go-openapi/swag/typeutils v0.25.4 // indirect
38-
github.com/go-openapi/swag/yamlutils v0.25.4 // indirect
25+
github.com/go-openapi/jsonpointer v0.22.5 // indirect
26+
github.com/go-openapi/jsonreference v0.21.5 // indirect
27+
github.com/go-openapi/swag v0.25.5 // indirect
28+
github.com/go-openapi/swag/cmdutils v0.25.5 // indirect
29+
github.com/go-openapi/swag/conv v0.25.5 // indirect
30+
github.com/go-openapi/swag/fileutils v0.25.5 // indirect
31+
github.com/go-openapi/swag/jsonname v0.25.5 // indirect
32+
github.com/go-openapi/swag/jsonutils v0.25.5 // indirect
33+
github.com/go-openapi/swag/loading v0.25.5 // indirect
34+
github.com/go-openapi/swag/mangling v0.25.5 // indirect
35+
github.com/go-openapi/swag/netutils v0.25.5 // indirect
36+
github.com/go-openapi/swag/stringutils v0.25.5 // indirect
37+
github.com/go-openapi/swag/typeutils v0.25.5 // indirect
38+
github.com/go-openapi/swag/yamlutils v0.25.5 // indirect
3939
github.com/google/btree v1.1.3 // indirect
4040
github.com/google/gnostic-models v0.7.1 // indirect
4141
github.com/google/go-cmp v0.7.0 // indirect
@@ -48,26 +48,26 @@ require (
4848
github.com/prometheus/client_golang v1.23.2 // indirect
4949
github.com/prometheus/client_model v0.6.2 // indirect
5050
github.com/prometheus/common v0.67.5 // indirect
51-
github.com/prometheus/procfs v0.19.2 // indirect
51+
github.com/prometheus/procfs v0.20.1 // indirect
5252
github.com/spf13/pflag v1.0.10 // indirect
5353
github.com/x448/float16 v0.8.4 // indirect
5454
go.uber.org/multierr v1.11.0 // indirect
55-
go.yaml.in/yaml/v2 v2.4.3 // indirect
55+
go.yaml.in/yaml/v2 v2.4.4 // indirect
5656
go.yaml.in/yaml/v3 v3.0.4 // indirect
57-
golang.org/x/net v0.50.0 // indirect
58-
golang.org/x/oauth2 v0.35.0 // indirect
59-
golang.org/x/sync v0.19.0 // indirect
60-
golang.org/x/sys v0.41.0 // indirect
61-
golang.org/x/term v0.40.0 // indirect
62-
golang.org/x/text v0.34.0 // indirect
63-
golang.org/x/time v0.14.0 // indirect
57+
golang.org/x/net v0.52.0 // indirect
58+
golang.org/x/oauth2 v0.36.0 // indirect
59+
golang.org/x/sync v0.20.0 // indirect
60+
golang.org/x/sys v0.42.0 // indirect
61+
golang.org/x/term v0.41.0 // indirect
62+
golang.org/x/text v0.35.0 // indirect
63+
golang.org/x/time v0.15.0 // indirect
6464
gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect
6565
google.golang.org/protobuf v1.36.11 // indirect
6666
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
6767
gopkg.in/inf.v0 v0.9.1 // indirect
68-
k8s.io/apiextensions-apiserver v0.35.1 // indirect
69-
k8s.io/klog/v2 v2.130.1 // indirect
70-
k8s.io/kube-openapi v0.0.0-20260127142750-a19766b6e2d4 // indirect
68+
k8s.io/apiextensions-apiserver v0.35.2 // indirect
69+
k8s.io/klog/v2 v2.140.0 // indirect
70+
k8s.io/kube-openapi v0.0.0-20260304202019-5b3e3fdb0acf // indirect
7171
k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 // indirect
7272
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
7373
sigs.k8s.io/randfill v1.0.0 // indirect

0 commit comments

Comments
 (0)