f7c66c0336
Co-authored-by: dementhorr <dementhorr@proton.me> Co-authored-by: Vince Montalbano <vince.montalbano@gmail.com> Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/666 Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com> Co-authored-by: vjm <vjm@noreply.gitea.com> Co-committed-by: vjm <vjm@noreply.gitea.com>
14 lines
380 B
YAML
14 lines
380 B
YAML
{{- if .Values.actions.enabled }}
|
|
{{- if and (and .Values.actions.provisioning.enabled .Values.persistence.enabled) .Values.persistence.mount }}
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "gitea.fullname" . }}-scripts
|
|
labels:
|
|
{{- include "gitea.labels" . | nindent 4 }}
|
|
data:
|
|
{{ (.Files.Glob "scripts/*.sh").AsConfig | indent 2 }}
|
|
{{- end }}
|
|
{{- end }}
|