{{- if .Values.googleApplicationCredentials }}
apiVersion: v1
kind: Secret
metadata:
  name: {{ template "keel.name" . }}-google
  namespace: kube-system
  labels:
    app: {{ template "keel.name" . }}
    chart: {{ template "keel.chart" . }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
type: Opaque
data:
  google-application-credentials.json: {{ .Values.googleApplicationCredentials | quote }}
{{- end }}
