mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2025-12-08 12:36:44 +03:00
Fix ingress + improve testing
This commit is contained in:
4
.github/workflows/helm-test.yml
vendored
4
.github/workflows/helm-test.yml
vendored
@@ -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:
|
||||||
|
|||||||
@@ -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" $ }}
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user