Add annotations

allow-shared-ip to gitea-ssh-service
This commit is contained in:
erik 2022-07-22 10:00:50 +02:00
parent 4e6e82c392
commit d3fbd8d88b

View file

@ -15,6 +15,8 @@ apiVersion: v1
metadata: metadata:
name: gitea-ssh-service name: gitea-ssh-service
namespace: default namespace: default
annotations:
metallb.universe.tf/allow-shared-ip: "repo-server-svc"
spec: spec:
type: LoadBalancer type: LoadBalancer
selector: selector:
@ -22,4 +24,5 @@ spec:
ports: ports:
- port: 2225 - port: 2225
targetPort: 22 targetPort: 22
protocol: TCP