Files
Kubernetes/Gitea/gitea_service.yaml

18 lines
283 B
YAML

apiVersion: v1
kind: Service
metadata:
name: gitea
namespace: gitea
spec:
selector:
app: gitea
ports:
- name: http
protocol: TCP
port: 3000
targetPort: http
- name: ssh
protocol: TCP
port: 2222
targetPort: ssh