Fix ingress + improve testing

This commit is contained in:
V-Paranoiaque
2025-09-27 18:28:10 +02:00
parent 9c1ac76ff9
commit 1f98f441f3
3 changed files with 7 additions and 3 deletions

View File

@@ -28,8 +28,8 @@ spec:
- host: {{ tpl .host $ | quote }}
http:
paths:
- path: "/"
pathType: "Prefix"
- path: {{ .path | default "/" }}
pathType: {{ .pathType | default "Prefix" }}
backend:
service:
name: {{ include "gitea-mirror.fullname" $ }}

View File

@@ -15,12 +15,12 @@ podSecurityContext:
ingress:
enabled: false
className: ""
pathType: Prefix
annotations: {}
hosts:
- host: mirror.example.com
paths:
- path: /
pathType: Prefix
tls: []
# - secretName: chart-example-tls
# hosts: