{{- if .Values.enabled }} --- apiVersion: v1 kind: ConfigMap metadata: name: {{ include "gitea.fullname" . }}-act-runner-config namespace: {{ .Values.namespace | default .Release.Namespace }} labels: {{- include "gitea.labels" . | nindent 4 }} data: config.yaml: | {{- with .Values.statefulset.actRunner.config -}} {{ . | nindent 4}} {{- end -}} {{- end }}