stackspout/basic/config/kube-system/metallb-gitea.yaml

21 lines
396 B
YAML

---
# https://metallb.org/usage/
#apiVersion: metallb.io/v1beta1
apiVersion: v1
kind: Service
metadata:
name: gitea-ssh
namespace: kube-system
annotations:
#metallb.universe.tf/allow-shared-ip: "key-to-share-1.2.3.4"
spec:
type: LoadBalancer
loadBalancerIP: "${ip_address}"
ports:
- name: ssh
protocol: SSH
port: 22
targetPort: 22
selector:
app: gitea