{{- if .Values.gitea.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ printf "%s-%s" (include "kubezero-lib.fullname" $) "themes" | trunc 63 | trimSuffix "-" }}
data:
  {{ (.Files.Glob "files/gitea/themes/*").AsConfig | nindent 2 }}
{{- end }}
