Update PostgreSQL configuration: set image and add storage replacement in kustomization
This commit is contained in:
@@ -2,3 +2,4 @@ POSTGRES_DB=postgres
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=OhPostgres!
|
||||
POSTGRES_STORAGE=10Gi
|
||||
POSTGRES_IMAGE=pgvector/pgvector:pg15
|
@@ -15,7 +15,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: postgres
|
||||
image: postgres:15
|
||||
image: pgvector/pgvector:pg15
|
||||
ports:
|
||||
- containerPort: 5432
|
||||
envFrom:
|
||||
|
@@ -32,3 +32,13 @@ replacements:
|
||||
select:
|
||||
kind: PersistentVolumeClaim
|
||||
name: postgresql-pvc
|
||||
- source:
|
||||
kind: ConfigMap
|
||||
name: config
|
||||
fieldPath: data.POSTGRES_IMAGE
|
||||
targets:
|
||||
- fieldPaths:
|
||||
- spec.template.spec.containers.0.image
|
||||
select:
|
||||
kind: Deployment
|
||||
name: postgres-deployment
|
||||
|
Reference in New Issue
Block a user