diff --git a/basic/apps/code/metallb-gitea.yaml b/basic/apps/code/metallb-gitea.yaml new file mode 100644 index 0000000000000000000000000000000000000000..176a611c1fa7a6ed804f33afe3cf59ffe1ce1dd5 --- /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