feat: add Gitea deployment, services, and persistent volume claims

This commit is contained in:
2025-04-15 11:33:44 +05:30
parent 64c099f545
commit 0851fd3609
4 changed files with 215 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
---
apiVersion: v1
kind: Service
metadata:
name: gitea-service
namespace: default
spec:
type: NodePort
selector:
app: gitea
ports:
- port: 3000
targetPort: 3000
nodePort: 3011
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: gitea-ssh-service
namespace: default
spec:
type: NodePort
selector:
app: gitea
ports:
- port: 22
targetPort: 22
nodePort: 222
---
apiVersion: v1
kind: Service
metadata:
name: gitea-db-service
namespace: default
spec:
selector:
app: gitea-db
ports:
- protocol: TCP
port: 5432
targetPort: 5432
---
apiVersion: v1
kind: Service
metadata:
name: gitea-int-service
namespace: default
spec:
selector:
app: gitea
ports:
- protocol: TCP
port: 3000
targetPort: 3000