This commit is contained in:
2025-01-13 21:45:46 -07:00
parent fc6d7ad148
commit 6e577dc580
3 changed files with 11 additions and 17 deletions

View File

@@ -33,20 +33,19 @@ spec:
hostPath:
path: /data/gitea/postgres
type: DirectoryOrCreate
---
apiVersion: v1
kind: Service
metadata:
name: postgres
name: gitea_db
namespace: projects
labels:
app: postgres
app: gitea_db
spec:
ports:
- protocol: TCP
port: 5432
targetPort: 5432
selector:
app: postgres
app: gitea_db
type: ClusterIP