{{- if .Values.externaldb.broker.serviceInstanceName }}
apiVersion: servicecatalog.k8s.io/v1beta1
kind: ServiceBinding
metadata:
  name: {{ template "node.fullname" . }}-binding
  labels: {{- include "node.labels" . | nindent 4 }}
spec:
  instanceRef:
    name: {{ .Values.externaldb.broker.serviceInstanceName }}
  secretName: {{ template "node.secretName" . }}
{{- end }}
