titan-iac/services/gitea/service.yaml
2025-09-02 09:30:37 -05:00

33 lines
481 B
YAML

# services/gitea/service.yaml
apiVersion: v1
kind: Service
metadata:
name: gitea
namespace: gitea
labels:
app: gitea
spec:
type: ClusterIP
ports:
- port: 3000
targetPort: 3000
protocol: TCP
name: http
selector:
app: gitea
---
apiVersion: v1
kind: Service
metadata:
name: gitea-ssh
namespace: gitea
spec:
type: NodePort
selector:
app: gitea
ports:
- name: ssh
port: 2242
targetPort: 2242
nodePort: 32242