You've already forked helm-gitea
Fix memcached conditional and external database check in init container (#18)
Bump chart version Update README.md with example for DB Fix external host check for Databases Fix condition for memcached in Chart.yaml Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de> Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/18 Reviewed-by: techknowlogick <techknowlogick@gitea.io> Reviewed-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
@ -61,7 +61,8 @@ app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- else if .Values.gitea.database.builtIn.mysql.enabled -}}
|
||||
{{- printf "%s-mysql" .Release.Name -}}
|
||||
{{- else -}}
|
||||
{{ .Values.gitea.database.external.host }}
|
||||
{{- $parts := split ":" .Values.gitea.config.database.HOST -}}
|
||||
{{- printf "%s %s" $parts._0 $parts._1 -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
@ -71,7 +72,6 @@ app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- else if .Values.gitea.database.builtIn.mysql.enabled -}}
|
||||
{{ .Values.mysql.service.port }}
|
||||
{{- else -}}
|
||||
{{ .Values.gitea.database.external.port }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
|
Reference in New Issue
Block a user