Closed
Conversation
Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
If a person has made it to GitHub, they almost certainly have an issue with the library and don't need to circle back to support. By removing this phrase, we don't confuse customers and make it clear that we're happy to engage here. If a customer does in fact have a support issue, we can direct them accordingly.
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Add support for configuring the Proxy using a file. Supported formats include TOML, YAML, and JSON. The configuration file supports all flags, formatting the flags in lowercase with underscore delimiters. Flags will always have first priority and will overwrite any other config set. This is the order of which we prioritize: flags > environment variables > configuration file Co-authored-by: Eno Compton <enocom@google.com>
When specifying keys in the configuration file, one must use kebab case. This commit ensures the instance connection names also use kebab case and updates the README to accurately describe the feature. When configuring the Proxy with a config file, one must use matching flag names and specify any instances with the special key instance-connection-name, or instance-connection-name-i, where i is the zero-based index of the instance. Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
This fixes an error inbuild.sh deps command. Now the docker container image hashes will be updated correctly.
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
…sing unix sockets. (#2489) Automatically set the MDX client_protocol_type field to "TCP" or "UDS" for mysql instances that support Metadata Exchange. This will ensure that password login works correctly in MySQL 8.0 or higher when the user has a caching_sha2_password. We will leave this in a draft state until back-end support for this is fully rolled out. Fixes #2317
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
This adds the `shutdown` command the proxy, which will cause a proxy running on the same host to shut down. It invokes the shutdown command by sending an HTTP Post to `http://127.0.0.1:9101/quitquitquit`. This is especially useful as a preStop hook in Kubernetes. Run the proxy container with the --quitquitquit and --admin-port flags. Then configure the pre-stop hook with the same admin port. ``` # Configure kubernetes to call run the cloud-sql-proxy shutdown command # before sending SIGTERM to the proxy when stopping the pod. This will # give the proxy more time to gracefully exit. lifecycle: preStop: exec: command: ["/cloud-sql-proxy","shutdown", "--admin-port","<ADMIN_PORT>"] ``` Fixes #2511
Fixes a typo in the README.md for the kubernetes example. Fixes #2473
* chore(main): release 2.20.0 * docs: Update documentation to latest version. --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Jonathan Hess <hessjc@google.com>
* deps: Update Non-major dependency updates * fix: Update deprecated proxy options
Release-As: 2.21.0
* chore(main): release 2.21.0 * chore: Update documentation to latest version. --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: kgala2 <galakp@google.com>
…opt (#2544) This fixes a bug in how the auth proxy handled the configuration when the `--impersonate-service-account` flag and the `auto-iam-auth` instance configuration parameter are set at the same time. This is especially important to make the Cloud SQL Proxy Operator work correctly, see GoogleCloudPlatform/cloud-sql-proxy-operator#719 Fixes #2542
This change ensures that the universe domain configuration is correctly passed when setting up an impersonation chain for credentials. It also introduces internal test infrastructure to mock `impersonate.CredentialsTokenSource` and adds a unit test `TestCredentialsOpt` to verify this behavior.
Usage: ./build.sh build_image {image_url}
This builds the cloud-sql-proxy binary from the local source code and pushes it to
a container registry.
Co-authored-by: Ben Knutson <benknutson@google.com>
* chore(main): release 2.21.1 * Updates license check file with new version number. --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Jonathan Hess <hessjc@google.com>
f450b8c to
e438540
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This release updates dependencies to their latest versions.