remove separate db deployment

This commit is contained in:
2025-05-27 18:42:37 +05:30
parent 1de92460ff
commit e8e2186031
3 changed files with 31 additions and 82 deletions

View File

@@ -7,7 +7,7 @@ metadata:
spec:
type: NodePort
selector:
app: gitea
app: gitea-app
ports:
- port: 3000
targetPort: 3000
@@ -23,26 +23,12 @@ metadata:
spec:
type: NodePort
selector:
app: gitea
app: gitea-app
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
@@ -51,7 +37,7 @@ metadata:
namespace: default
spec:
selector:
app: gitea
app: gitea-app
ports:
- protocol: TCP
port: 3000