mirror of
https://github.com/helm/charts.git
synced 2026-08-21 13:28:13 +00:00
* Add support for existing secrets * Correct imageTag in README * Use common names for specifying existing secrets
15 lines
406 B
YAML
15 lines
406 B
YAML
{{- if not .Values.existingSecret -}}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ template "gcloud-sqlproxy.fullname" . }}
|
|
labels:
|
|
app: {{ template "gcloud-sqlproxy.fullname" . }}
|
|
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
|
release: "{{ .Release.Name }}"
|
|
heritage: "{{ .Release.Service }}"
|
|
type: Opaque
|
|
data:
|
|
credentials.json: |-
|
|
{{ .Values.serviceAccountKey }}
|
|
{{- end -}} |