feat!: ports are now referenced by name

- Closes #919
This commit is contained in:
Michael Kriese 2025-01-16 11:15:16 +01:00
parent 4bfbb48dd3
commit b3d1068082
No known key found for this signature in database
GPG key ID: F8D7748549A5986A
5 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,5 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "gitea.fullname" . -}}
{{- $httpPort := .Values.service.http.port -}}
apiVersion: networking.k8s.io/v1/Ingress
kind: Ingress
metadata:
@ -40,7 +39,7 @@ spec:
service:
name: {{ $fullName }}-http
port:
number: {{ $httpPort }}
name: http
{{- end }}
{{- end }}
{{- end }}