gitea-k8s/service.yaml

21 lines
284 B
YAML
Raw Normal View History

2021-11-23 07:44:40 +00:00
---
kind: Service
apiVersion: v1
metadata:
name: gitea
spec:
selector:
app: gitea
type: LoadBalancer
ports:
- port: 80
targetPort: 80
name: http
- port: 443
targetPort: 443
name: https
- port: 22
targetPort: 2222
name: ssh