update gitea to new ingress

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

View File

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

View File

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