apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ template "hubot.fullname" . }}-scripts
  labels:
    app: {{ template "hubot.name" . }}
    chart: {{ template "hubot.chart" . }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
data:
{{ toYaml .Values.hubot.scripts | indent 2 }}
