diff --git a/templates/gogs/gogs-config.yaml b/templates/gogs/gogs-config.yaml index 94785ed..d9edea4 100755 --- a/templates/gogs/gogs-config.yaml +++ b/templates/gogs/gogs-config.yaml @@ -22,13 +22,13 @@ data: {{- else }} DOMAIN = localhost EXTERNAL_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/ - {{- end -}} + {{- end }} {{- if .Values.service.http.externalHost }} DOMAIN = {{ .Values.service.http.externalHost }} {{- else }} DOMAIN = {{ template "fullname" . }}-http.{{ .Release.Namespace }}.svc.cluster.local - {{- end -}} + {{- end }} HTTP_PORT = {{ .Values.service.http.port }} UNIX_SOCKET_PERMISSION = 666