17 lines
340 B
YAML
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
|
|
|