mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* Google Cloud SQL Proxy * Updates as requested * Add NOTES.txt * Add connection information if all required values are provided * Disable deployment if no GCP settings were provided * simplify conditional statements
18 lines
412 B
YAML
18 lines
412 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ template "fullname" . }}
|
|
labels:
|
|
app: {{ template "fullname" . }}
|
|
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
|
release: "{{ .Release.Name }}"
|
|
heritage: "{{ .Release.Service }}"
|
|
spec:
|
|
ports:
|
|
- name: sqlproxy
|
|
protocol: TCP
|
|
port: {{ .Values.cloudsql.port }}
|
|
targetPort: sqlproxy
|
|
selector:
|
|
app: {{ template "fullname" . }}
|