From f8081bfd4667e182d2815e2f098c81e8d3950f23 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Tue, 23 Jan 2024 12:24:15 +0100 Subject: [PATCH] code: reenable gitea-ssh metallb service --- basic/apps/code/metallb-gitea.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 basic/apps/code/metallb-gitea.yaml diff --git a/basic/apps/code/metallb-gitea.yaml b/basic/apps/code/metallb-gitea.yaml new file mode 100644 index 0000000..176a611 --- /dev/null +++ b/basic/apps/code/metallb-gitea.yaml @@ -0,0 +1,18 @@ +# https://metallb.org/usage/ +apiVersion: v1 +kind: Service +metadata: + name: gitea-ssh + namespace: stackspout + annotations: + metallb.universe.tf/allow-shared-ip: "share-ipv4" +spec: + type: LoadBalancer + loadBalancerIP: "${ip_address}" + ports: + - name: ssh + protocol: TCP + port: 22 + targetPort: 22 + selector: + app: gitea