Update PostgreSQL configuration: set image and add storage replacement in kustomization
This commit is contained in:
@@ -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