Files
k3s/clusters/default/git-ops/gitea/gitea-svc.yml
2025-10-24 18:18:45 +05:30

47 lines
661 B
YAML

---
apiVersion: v1
kind: Service
metadata:
name: gitea-service
namespace: git-ops
spec:
type: LoadBalancer
selector:
app: gitea-app
ports:
- port: 3011
targetPort: 3000
protocol: TCP
name: http
- port: 222
targetPort: 22
name: ssh
---
apiVersion: v1
kind: Service
metadata:
name: gitea-int-service
namespace: git-ops
spec:
selector:
app: gitea-app
ports:
- protocol: TCP
port: 3000
targetPort: 3000
---
apiVersion: v1
kind: Service
metadata:
name: gitea-db-service
namespace: git-ops
spec:
selector:
app: gitea-db
ports:
- protocol: TCP
port: 5432
targetPort: 5432