system-config/kubernetes/gitea/k8s/service.yaml

23 lines
367 B
YAML

kind: Service
apiVersion: v1
metadata:
name: gitea-service
namespace: gitea
spec:
selector:
app: gitea
ports:
- protocol: TCP
port: 80
targetPort: 3080
name: http
- protocol: TCP
port: 443
targetPort: 3000
name: https
- protocol: TCP
port: 22
targetPort: 22
name: ssh
type: LoadBalancer