stackspout/basic/apps/code/metallb-gitea.yaml

19 lines
348 B
YAML
Raw Normal View History

2022-11-09 16:04:26 +00:00
# https://metallb.org/usage/
apiVersion: v1
kind: Service
metadata:
name: gitea-ssh
2022-11-09 16:09:03 +00:00
namespace: stackspout
2022-11-09 16:13:04 +00:00
annotations:
metallb.universe.tf/allow-shared-ip: "share-ipv4"
2022-11-09 16:04:26 +00:00
spec:
type: LoadBalancer
2022-11-09 16:28:43 +00:00
loadBalancerIP: "${ip_address}"
2022-11-09 16:04:26 +00:00
ports:
- name: ssh
protocol: TCP
port: 22
targetPort: 22
selector:
app: gitea