Add support for Google Cloud SQL to use as a backend (#6016)

* added cloud sql proxy container

* Add cloud sql proxy

* make changes on stable/drone

* update for general usage [stable/drone]

* Bump minor version for new feature
This commit is contained in:
mihirat
2018-06-28 11:25:31 -07:00
committed by k8s-ci-robot
parent 30e46f7af9
commit ac526fa232
4 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: drone
home: https://drone.io/
icon: https://drone.io/apple-touch-icon.png
version: 1.2.0
version: 1.3.0
appVersion: 0.8.5
description: Drone is a Continuous Delivery system built on container technology
keywords:
+2
View File
@@ -56,6 +56,8 @@ The following table lists the configurable parameters of the drone charts and th
| `server.resources` | Drone **server** pod resource requests & limits | `{}` |
| `server.schedulerName` | Drone **server** alternate scheduler name | `nil` |
| `server.affinity` | Drone **server** scheduling preferences | `{}` |
| `server.extraContainers` | Additional sidecar containers | `""` |
| `server.extraVolumes` | Additional volumes for use in extraContainers | `""` |
| `agent.env` | Drone **agent** environment variables | `(default values)` |
| `agent.replicas` | Drone **agent** replicas | `1` |
| `agent.annotations` | Drone **agent** annotations | `{}` |
@@ -76,6 +76,9 @@ spec:
volumeMounts:
- name: data
mountPath: /var/lib/drone
{{- with .Values.server.extraContainers }}
{{ tpl . $ | indent 6 }}
{{- end }}
volumes:
- name: data
{{- if .Values.persistence.enabled }}
@@ -84,4 +87,7 @@ spec:
{{- else }}
emptyDir: {}
{{- end -}}
{{- with .Values.server.extraVolumes }}
{{ tpl . $ | indent 6 }}
{{- end }}
{{ end }}
+7
View File
@@ -122,6 +122,13 @@ server:
##
affinity: {}
## additional siecar containers, e. g. for a database proxy, such as Google's cloudsql-proxy.
## ex: https://github.com/kubernetes/charts/tree/master/stable/keycloak
extraContainers: |
## additional volumes, e. g. for secrets used in an extraContainers.
extraVolumes: |
agent:
## Drone agent configuration.
## Values in here get injected as environment variables.