Commit a431b798 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

add GCP Cloud SQL proxy as a Helm dependency

parent 24ddfba7
......@@ -34,8 +34,9 @@ from the load balancer to the
backends"](https://cloud.google.com/load-balancing/docs/ssl-certificates#backend-encryption)
for more information.
As an option, the chart will run GCP Cloud SQL Proxy as a "sidecar"
container; see the "Configuration" for more details.
This chart can run (if so configures) the GCP Cloud SQL Proxy as a
dependent Helm chart. See the "Configuration" section below for more
details.
## Requirements
......@@ -71,10 +72,21 @@ Default: `apache-shib.example.com`.
### GCP Cloud SQL Proxy Configuration
The Apache-Shibboleth Helm chart provides the option to run the [GCP Cloud
SQL Proxy]() as an additional service. It does this by using the [rimusz
GCP SQL Proxy Helm
SQL
Proxy](https://github.com/rimusz/charts/tree/master/stable/gcloud-sqlproxy)
as an additional service. It does this by using the [rimusz GCP SQL Proxy
Helm
chart](https://github.com/rimusz/charts/tree/master/stable/gcloud-sqlproxy)
as a dependent chart. This sub-chart runs as a ClusterIP Service with
as a dependent chart. To enable this dependency set `gcloud-sqlproxy` to
`true`. If you _do_ decide to run GCP SQL Proxy Helm, be aware that you
will need to set several extra settings in `values.yaml` including
`gcloud-sqlproxy.instances`; these extra settings are described in detail
at the [GCP Cloud SQL Proxy
page](https://github.com/rimusz/charts/tree/master/stable/gcloud-sqlproxy). See
also
[kube-apache-shib-demo](https://code.stanford.edu/et-iedo-public/kube-apache-shib-demo)
for a worked-out example.
## Kubernetes Resources
......
......@@ -20,17 +20,21 @@ USE_SSL: "NO"
###
### GCP Cloud SQL Proxy
# Set "enabled" to "true" to enable the GCP Cloud SQL Proxy service.
# Set "enabled" to "true" to enable the GCP Cloud SQL Proxy service:
#
# gcloud-sqlproxy:
# enabled: true
#
# Set "enabled" to "false" to disable the GCP Cloud SQL Proxy service:
#
# gcloud-sqlproxy:
# enabled: false
gcloud-sqlproxy:
enabled: false
gcloud-sqlproxy:
cloudsql:
instances:
- instance: bogus
project: bogus
region: bogus
port: 3306
# The rest of the GCP gcloud-sqlproxy.* settings are described at
# https://github.com/rimusz/charts/tree/master/stable/gcloud-sqlproxy
###
### Kubernetes options
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment