From 8e6754707446f74e093f51275014fb6d87cb508a Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Wed, 9 Nov 2022 12:32:13 +0000 Subject: [PATCH] code: update metallb-gitea service --- basic/config/kube-system/metallb-gitea.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/basic/config/kube-system/metallb-gitea.yaml b/basic/config/kube-system/metallb-gitea.yaml index 90759f9..f91f6bc 100644 --- a/basic/config/kube-system/metallb-gitea.yaml +++ b/basic/config/kube-system/metallb-gitea.yaml @@ -13,8 +13,12 @@ spec: loadBalancerIP: "${ip_address}" ports: - name: ssh - protocol: SSH + protocol: TCP port: 22 targetPort: 22 selector: app: gitea +status: + loadBalancer: + ingress: + - ip: "${ip_address}"