You've already forked helm-actions

### Description of the change Just moves all defines under a new gitea.actions prefix. ### Additional information Reduce possibility to cause a name clash with the helm-gitea chart if both would be included in a single helm chart installation. Reviewed-on: https://gitea.com/gitea/helm-actions/pulls/10 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Christopher Homberger <christopher.homberger@web.de> Co-committed-by: Christopher Homberger <christopher.homberger@web.de>
15 lines
446 B
YAML
15 lines
446 B
YAML
{{- if .Values.enabled }}
|
|
{{- if and (and .Values.provisioning.enabled .Values.persistence.enabled) .Values.persistence.mount }}
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "gitea.actions.fullname" . }}-scripts
|
|
namespace: {{ .Values.namespace | default .Release.Namespace }}
|
|
labels:
|
|
{{- include "gitea.actions.labels" . | nindent 4 }}
|
|
data:
|
|
{{ (.Files.Glob "scripts/*.sh").AsConfig | indent 2 }}
|
|
{{- end }}
|
|
{{- end }}
|