Import cloud-sql-proxy-2.0.0rc3
The Cloud SQL Auth proxy is a utility for ensuring secure connections to your Cloud SQL instances. <...> ok robert@
This commit is contained in:
parent
5753319606
commit
db33fd9489
29
sysutils/cloud-sql-proxy/Makefile
Normal file
29
sysutils/cloud-sql-proxy/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
COMMENT= GCP Cloud SQL Auth proxy
|
||||
|
||||
#VERSION= 2.0.0
|
||||
#PKGNAME= cloud-sql-proxy-${VERSION}
|
||||
VERSION= 2.0.0-preview.3
|
||||
PKGNAME= cloud-sql-proxy-2.0.0rc3
|
||||
|
||||
# cloud-sql-proxy-vendored distfile generated by fetching archive from
|
||||
# https://github.com/GoogleCloudPlatform/cloud-sql-proxy/archive/v$VERSION/cloud-sql-proxy-$VERSION.tar.gz
|
||||
# and running "go mod tidy" + "go mod vendor"
|
||||
DISTNAME= cloud-sql-proxy-vendored-${VERSION}
|
||||
MASTER_SITES= https://distfiles.bsdfrog.org/
|
||||
ALL_TARGET= github.com/GoogleCloudPlatform/cloud-sql-proxy
|
||||
|
||||
CATEGORIES= sysutils databases net
|
||||
|
||||
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
||||
|
||||
# Apache-2.0
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB += c pthread
|
||||
|
||||
MODULES= lang/go
|
||||
|
||||
# go/src/github.com/GoogleCloudPlatform/cloud-sql-proxy/Dockerfile
|
||||
MODGO_LDFLAGS += -X main.metadataString=container
|
||||
|
||||
.include <bsd.port.mk>
|
2
sysutils/cloud-sql-proxy/distinfo
Normal file
2
sysutils/cloud-sql-proxy/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (cloud-sql-proxy-vendored-2.0.0-preview.3.tar.gz) = dMX5/w3hzpTykpjG1/T5NBvUCU5B5Dx1yS+wtfvdQ6E=
|
||||
SIZE (cloud-sql-proxy-vendored-2.0.0-preview.3.tar.gz) = 6271221
|
25
sysutils/cloud-sql-proxy/pkg/DESCR
Normal file
25
sysutils/cloud-sql-proxy/pkg/DESCR
Normal file
@ -0,0 +1,25 @@
|
||||
The Cloud SQL Auth proxy is a utility for ensuring secure connections to your
|
||||
Cloud SQL instances. It provides IAM authorization, allowing you to control who
|
||||
can connect to your instance through IAM permissions, and TLS 1.3 encryption,
|
||||
without having to manage certificates.
|
||||
|
||||
See the Connecting Overview page
|
||||
(https://cloud.google.com/sql/docs/mysql/connect-overview) for more information
|
||||
on connecting to a Cloud SQL instance, or the About the proxy page
|
||||
(https://cloud.google.com/sql/docs/mysql/sql-proxy) for details on how the Cloud
|
||||
SQL proxy works.
|
||||
|
||||
The Cloud SQL Auth proxy has support for:
|
||||
|
||||
- Automatic IAM Authentication (Postgres only)
|
||||
- Metrics (Cloud Monitoring, Cloud Trace, and Prometheus)
|
||||
- HTTP Healthchecks
|
||||
- Service account impersonation
|
||||
- Separate Dialer functionality released as the Cloud SQL Go Connector
|
||||
- Configuration with environment variables
|
||||
- Fully POSIX-compliant flags
|
||||
|
||||
NOTE: The proxy does not configure the network between the VM it's running on
|
||||
and the Cloud SQL instance. You MUST ensure the proxy can reach your Cloud SQL
|
||||
instance, either by deploying it in a VPC that has access to your Private IP
|
||||
instance, or by configuring Public IP.
|
1
sysutils/cloud-sql-proxy/pkg/PLIST
Normal file
1
sysutils/cloud-sql-proxy/pkg/PLIST
Normal file
@ -0,0 +1 @@
|
||||
@bin bin/cloud-sql-proxy
|
Loading…
Reference in New Issue
Block a user