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

24 lines
464 B
YAML
Raw Normal View History

2022-11-09 16:04:26 +00:00
# https://metallb.org/usage/
#apiVersion: metallb.io/v1beta1
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:09:03 +00:00
loadBalancerIP: 212.224.115.169 #"${ip_address}"
2022-11-09 16:04:26 +00:00
ports:
- name: ssh
protocol: TCP
port: 22
targetPort: 22
selector:
app: gitea
#status:
# loadBalancer:
# ingress:
# - ip: "${ip_address}"