c4k-forgejo/src/main/resources/forgejo/service-ssh.yaml
2023-03-28 10:02:50 +02:00

17 lines
340 B
YAML

kind: Service
apiVersion: v1
metadata:
name: forgejo-ssh-service
namespace: default
annotations:
metallb.universe.tf/allow-shared-ip: "shared-ip-service-group"
metallb.universe.tf/address-pool: public
spec:
type: LoadBalancer
selector:
app: forgejo
ports:
- port: 2222
targetPort: 22
protocol: TCP