update gitea to new ingress

This commit is contained in:
2025-08-03 17:46:34 +02:00
parent e363113c5e
commit e87c1df74b
2 changed files with 11 additions and 8 deletions

View File

@@ -79,8 +79,8 @@ spec:
ssh:
annotations:
lbipam.cilium.io/sharing-key: gitea
lbipam.cilium.io/sharing-cross-namespace: nginx-ingress-controller
lbipam.cilium.io/ips: 10.44.0.0,2001:470:61a3:400::1
lbipam.cilium.io/sharing-cross-namespace: nginx-ingress
lbipam.cilium.io/ips: 10.44.0.6,2001:470:61a3:400::6
type: LoadBalancer
port: 22
# Requirement for sharing ip with other service
@@ -89,7 +89,7 @@ spec:
ingress:
enabled: true
className: nginx
className: nginx-ingress
annotations:
cert-manager.io/cluster-issuer: letsencrypt
acme.cert-manager.io/http01-edit-in-place: "true"

View File

@@ -51,11 +51,14 @@ spec:
# Requirement for sharing ip with other service
externalTrafficPolicy: Cluster
ipFamilyPolicy: RequireDualStack
# annotations:
# # Share IP with gitea ssh so we can have the same domain for both port
# lbipam.cilium.io/sharing-key: gitea
# lbipam.cilium.io/sharing-cross-namespace: gitea
# lbipam.cilium.io/ips: 10.44.0.0,2001:470:61a3:400::1
ipFamilies:
- IPv4
- IPv6
annotations:
# Share IP with gitea ssh so we can have the same domain for both port
lbipam.cilium.io/sharing-key: gitea
lbipam.cilium.io/sharing-cross-namespace: gitea
lbipam.cilium.io/ips: 10.44.0.6,2001:470:61a3:400::6
# config:
# entries:
# proxy-buffering: "false"