Add custom gitea configuration in helm chart

This commit is contained in:
wbsong111
2024-11-13 17:09:35 +09:00
parent ef5127073e
commit c0e4205a28
4 changed files with 138 additions and 2 deletions
+14
View File
@@ -331,3 +331,17 @@ https
{{- toYaml .Values.extraVolumeMounts -}}
{{- end -}}
{{- end -}}
{{/*
Renders a value that contains template.
Usage:
{{ include "common.tplvalues.render" ( dict "value" .Values.path.to.the.Value "context" $) }}
*/}}
{{- define "common.tplvalues.render" -}}
{{- if typeIs "string" .value }}
{{- tpl .value .context }}
{{- else }}
{{- tpl (.value | toYaml) .context }}
{{- end }}
{{- end -}}