diff --git a/charts/stable/gitea/Chart.yaml b/charts/stable/gitea/Chart.yaml index a9138bda67f..a95a41e293e 100644 --- a/charts/stable/gitea/Chart.yaml +++ b/charts/stable/gitea/Chart.yaml @@ -34,7 +34,7 @@ sources: - https://github.com/go-gitea/gitea - https://hub.docker.com/r/gitea/gitea/ type: application -version: 5.0.41 +version: 5.0.42 annotations: truecharts.org/catagories: | - GIT diff --git a/charts/stable/gitea/templates/_secrets.tpl b/charts/stable/gitea/templates/_secrets.tpl index 0d638d3439e..93654646061 100644 --- a/charts/stable/gitea/templates/_secrets.tpl +++ b/charts/stable/gitea/templates/_secrets.tpl @@ -3,7 +3,7 @@ --- -{{- $DOMAIN := ( printf "%s-gitea.%s.svc.%s" .Release.Name .Release.Namespace "cluster.local" | quote ) -}} +{{ $DOMAIN := ( printf "%s-gitea.%s.svc.%s" .Release.Name .Release.Namespace "cluster.local" | quote ) -}} {{- if and ( .Values.ingress.main.enabled ) ( gt (len .Values.ingress.main.hosts) 0 ) -}} {{- $DOMAIN = (index .Values.ingress.main.hosts 0).host -}} {{- end -}}