apiVersion: v1
kind: Secret
metadata:
  name: {{ template "heartbeat.fullname" . }}
  labels:
    app: {{ template "heartbeat.name" . }}
    chart: {{ template "heartbeat.chart" . }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
type: Opaque
data:
  heartbeat.yml: {{ toYaml .Values.config | indent 4 | b64enc }}
