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

@@ -2,6 +2,10 @@ name: Helm Chart CI
on:
pull_request:
paths:
- 'helm-charts/gitea-mirror/**'
- '.github/workflows/helm-test.yml'
- '.github/ci/values-ci.yaml'
push:
branches: [ main ]
paths:

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: