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: on:
pull_request: pull_request:
paths:
- 'helm-charts/gitea-mirror/**'
- '.github/workflows/helm-test.yml'
- '.github/ci/values-ci.yaml'
push: push:
branches: [ main ] branches: [ main ]
paths: paths:

View File

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

View File

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