code: reenable gitea-ssh metallb service

This commit is contained in:
xeruf 2024-01-23 12:24:15 +01:00
parent 48c49790d9
commit f8081bfd46
1 changed files with 18 additions and 0 deletions

View File

@ -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