Skip to content

Commit

Permalink
chore(main): release 2.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
release-please[bot] authored Jul 11, 2024
1 parent 52cd0d9 commit 2d5fe3f
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 21 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [2.12.0](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/compare/v2.11.4...v2.12.0) (2024-07-11)


### Features

* Add parameter --min-sigterm-delay allow new connections for a minimum number off seconds before shutting down the proxy. ([#2266](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/2266)) ([52cd0d9](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/commit/52cd0d95695d2b8e9456825e7c0bd452234a867b)), closes [#1640](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/1640)


### Bug Fixes

* Make the process exit if there as an error accepting a fuse connection. ([#2257](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/2257)) ([bb2a0ae](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/commit/bb2a0ae76d518eaeec69fcc2ac7e930a4bd7e024))

## [2.11.4](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/compare/v2.11.3...v2.11.4) (2024-06-12)


Expand Down
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ following instructions for your OS and CPU architecture.

```sh
# see Releases for other versions
URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4"
URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0"

curl "$URL/cloud-sql-proxy.linux.amd64" -o cloud-sql-proxy

Expand All @@ -73,7 +73,7 @@ chmod +x cloud-sql-proxy

```sh
# see Releases for other versions
URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4"
URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0"

curl "$URL/cloud-sql-proxy.linux.386" -o cloud-sql-proxy

Expand All @@ -87,7 +87,7 @@ chmod +x cloud-sql-proxy

```sh
# see Releases for other versions
URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4"
URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0"

curl "$URL/cloud-sql-proxy.linux.arm64" -o cloud-sql-proxy

Expand All @@ -101,7 +101,7 @@ chmod +x cloud-sql-proxy

```sh
# see Releases for other versions
URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4"
URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0"

curl "$URL/cloud-sql-proxy.linux.arm" -o cloud-sql-proxy

Expand All @@ -115,7 +115,7 @@ chmod +x cloud-sql-proxy

```sh
# see Releases for other versions
URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4"
URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0"

curl "$URL/cloud-sql-proxy.darwin.amd64" -o cloud-sql-proxy

Expand All @@ -129,7 +129,7 @@ chmod +x cloud-sql-proxy

```sh
# see Releases for other versions
URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4"
URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0"

curl "$URL/cloud-sql-proxy.darwin.arm64" -o cloud-sql-proxy

Expand All @@ -143,7 +143,7 @@ chmod +x cloud-sql-proxy

```sh
# see Releases for other versions
curl https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4/cloud-sql-proxy.x64.exe -o cloud-sql-proxy.exe
curl https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0/cloud-sql-proxy.x64.exe -o cloud-sql-proxy.exe
```

</details>
Expand All @@ -153,7 +153,7 @@ curl https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4

```sh
# see Releases for other versions
curl https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4/cloud-sql-proxy.x86.exe -o cloud-sql-proxy.exe
curl https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0/cloud-sql-proxy.x86.exe -o cloud-sql-proxy.exe
```

</details>
Expand Down Expand Up @@ -409,13 +409,13 @@ currently supported:

<!-- {x-release-please-start-version} -->
The `$VERSION` is the Proxy version without the leading "v" (e.g.,
`2.11.4`).
`2.12.0`).

For example, to pull a particular version, use a command like:

``` shell
# $VERSION is 2.11.4
docker pull gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.11.4
# $VERSION is 2.12.0
docker pull gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.12.0
```

<!-- {x-release-please-end} -->
Expand All @@ -436,11 +436,11 @@ the proxy's internal port to the host. For example, you can use:
<!-- {x-release-please-start-version} -->
```shell
docker run --publish <host-port>:<proxy-port> \
gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.11.4 \
--address "0.0.0.0" --port <proxy-port> <instance-connection-name>
gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.12.0 \
--address "2.12.0.0" --port <proxy-port> <instance-connection-name>
```
You'll need the `--address "0.0.0.0"` so that the proxy doesn't only listen for
You'll need the `--address "2.12.0.0"` so that the proxy doesn't only listen for
connections originating from *within* the container.
You will need to authenticate using one of the methods outlined in the
Expand All @@ -464,8 +464,8 @@ For example, a full command using a JSON credentials file might look like
docker run \
--publish <host-port>:<proxy-port> \
--mount type=bind,source="$(pwd)"/sa.json,target=/config/sa.json \
gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.11.4 \
--address 0.0.0.0 \
gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.12.0 \
--address 2.12.0.0 \
--port <proxy-port> \
--credentials-file /config/sa.json <instance-connection-name>
```
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ Third Party Licenses
To view all licenses for third party dependencies used within this
distribution please see:
https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4/third_party/licenses.tar.gz {x-release-please-version}
https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0/third_party/licenses.tar.gz {x-release-please-version}
`

var waitHelp = `
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.11.4
2.12.0
2 changes: 1 addition & 1 deletion examples/k8s-health-check/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ for more than 1 minute.
- name: my-application
image: gcr.io/my-container/my-application:1.1
- name: cloud-sql-proxy
image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.11.4
image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.12.0
args:
# Set the --max-connections flag to 50
- "--max-connections"
Expand Down
2 changes: 1 addition & 1 deletion examples/k8s-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ For the PgBouncer deployment, we add the proxy as a sidecar, starting it on port
<!-- {x-release-please-start-version} -->
``` yaml
- name: cloud-sql-proxy
image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.11.4 # make sure to use the latest version
image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.12.0 # make sure to use the latest version
args:
# Replace DB_PORT with the port the proxy should listen on
- "--port=<DB_PORT>"
Expand Down
2 changes: 1 addition & 1 deletion examples/k8s-sidecar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ as a separate service for several reasons:
- name: cloud-sql-proxy
# It is recommended to use the latest version of the Cloud SQL Auth Proxy
# Make sure to update on a regular schedule!
image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.11.4 # make sure to use the latest version
image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.12.0 # make sure to use the latest version
args:
# If connecting from a VPC-native GKE cluster, you can use the
# following flag to have the proxy connect over private IP
Expand Down

0 comments on commit 2d5fe3f

Please sign in to comment.