Merge pull request 'fix: correct PostgreSQL mountPath and add external NodePort services' (#72) from feature/storage-layer-refactor into main
All checks were successful
CI / build (push) Successful in 1m9s
CI / docker (push) Successful in 41s
CI / deploy (push) Successful in 39s

Reviewed-on: cameleer/cameleer3-server#72
This commit is contained in:
2026-03-17 01:04:06 +01:00
2 changed files with 29 additions and 1 deletions

View File

@@ -82,3 +82,17 @@ spec:
- port: 9300
targetPort: 9300
name: transport
---
apiVersion: v1
kind: Service
metadata:
name: opensearch-external
namespace: cameleer
spec:
type: NodePort
selector:
app: opensearch
ports:
- port: 9200
targetPort: 9200
nodePort: 30920

View File

@@ -35,7 +35,7 @@ spec:
key: POSTGRES_PASSWORD
volumeMounts:
- name: data
mountPath: /var/lib/postgresql/data
mountPath: /home/postgres/pgdata
resources:
requests:
memory: "1Gi"
@@ -89,3 +89,17 @@ spec:
- port: 5432
targetPort: 5432
name: postgres
---
apiVersion: v1
kind: Service
metadata:
name: postgres-external
namespace: cameleer
spec:
type: NodePort
selector:
app: postgres
ports:
- port: 5432
targetPort: 5432
nodePort: 30432