Skip to content

Repository files navigation

Cloud SQL Proxy Chart

The Cloud SQL Proxy provides secure access to your Cloud SQL Second Generation instances without having to whitelist IP addresses or configure SSL.

Introduction

This Helm chart provides a containerised cloud sql service within your Kubernetes cluster.

Configuration

Below is a list of all configuration parameters available, items in bold are required settings

ParameterDescriptionDefault
gcp.projectGoogle Cloud Platform projectprojectname
gcp.regionGoogle Cloud Platford regioneurope-west2
gcp.instanceName of your Cloud SQL instancecloudsql-instance
image.nameThe image repository to pullb.gcr.io/cloudsql-docker/gce-proxy
image.tagThe image tag to pulllatest
replicaCountNumber of pods to run in deployment1
bind.addrBind address for the container0.0.0.0
bind.portBind port for the container3306
service.nameService namecloudsql-proxy
service.typeService typeClusterIP
service.externalPortService external port3306
credentials.pathWhere to mount credentials/secrets/cloudsql
credentials.fileWhere to look for a credentials filecredentials.json
credentials.secretThe name for the credentials secretnil
credentials.secret_enabledWhether to create a credentials secrettrue
credentials.b64encBase64 encoded credentialsnil
ssl.pathSSL mount path within container/etc/ssl/certs
ssl.hostpathSSL certs host location/etc/ssl/certs

Install

$ git clone https://github.com/ajcrowe/cloudsql-proxy-chart.git cloudsql-proxy
$ helm install --name my-cloudsql-proxy \
--set gcp.project=my-gcp-project \
--set gcp.region=europe-west1 \
--set gcp.instance=my-cloudsql-master \
--set credentials.file=/path/to/credentials.json
cloudsql-proxy

Uninstall

$ helm delete my-cloud-proxy

About

Cloud SQL Proxy Helm Chart

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages