From e87c1df74b31478af9abab52eae7033a82b93a11 Mon Sep 17 00:00:00 2001 From: Lumpiasty Date: Sun, 3 Aug 2025 17:46:34 +0200 Subject: [PATCH] update gitea to new ingress --- apps/gitea/release.yaml | 6 +++--- infra/controllers/nginx-ingress.yaml | 13 ++++++++----- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/apps/gitea/release.yaml b/apps/gitea/release.yaml index 22b2afa..b8e8736 100644 --- a/apps/gitea/release.yaml +++ b/apps/gitea/release.yaml @@ -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" diff --git a/infra/controllers/nginx-ingress.yaml b/infra/controllers/nginx-ingress.yaml index 44f899d..c5825a1 100644 --- a/infra/controllers/nginx-ingress.yaml +++ b/infra/controllers/nginx-ingress.yaml @@ -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"