Add Gitea deployment, services, secrets, and persistent volume claims

This commit is contained in:
2025-10-15 14:10:50 +05:30
parent a91d4ef702
commit f943ffd9d4
5 changed files with 217 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
---
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
---
apiVersion: v1
kind: Service
metadata:
name: gitea-ssh-service
namespace: git-ops
spec:
type: LoadBalancer
selector:
app: gitea-app
ports:
- port: 222
targetPort: 22
---
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