{{- if .Values.reconcile.enabled }} apiVersion: v1 kind: ConfigMap metadata: name: {{ include "aptly.fullname" . }}-state labels: {{- include "aptly.labels" . | nindent 4 }} data: state.yaml: | {{- dict "localRepos" .Values.aptly.localRepos "mirrors" .Values.aptly.mirrors "publish" .Values.aptly.publish | toYaml | nindent 4 }} {{- end }}