kube-cascade/gitea/svc-ssh.yaml

23 lines
404 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
labels:
app: gitea
name: gitea-ssh
namespace: gitea
annotations:
metallb.universe.tf/allow-shared-ip: 172.16.17.16
metallb.universe.tf/loadBalancerIPs: 172.16.17.16
spec:
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
ports:
- port: 22
name: ssh
protocol: TCP
targetPort: 22
selector:
app: gitea
type: LoadBalancer