2024-11-10 13:35:56 +00:00
|
|
|
{{- 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
|
2024-11-30 14:47:18 +00:00
|
|
|
namespace: {{ .Values.namespace | default .Release.Namespace }}
|
2024-11-10 13:35:56 +00:00
|
|
|
labels:
|
|
|
|
{{- include "gitea.labels" . | nindent 4 }}
|
|
|
|
data:
|
|
|
|
{{ (.Files.Glob "scripts/*.sh").AsConfig | indent 2 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|