[POLICY] Add fixed postgres image tag and postgres port 64/139964/1
authorAndreas Geissler <andreas-geissler@telekom.de>
Mon, 20 Jan 2025 14:57:23 +0000 (15:57 +0100)
committerAndreas Geissler <andreas-geissler@telekom.de>
Mon, 20 Jan 2025 14:57:23 +0000 (15:57 +0100)
Use fixed image version instead of "latest" and
define a port variable used in the DB job definition

Issue-ID: POLICY-5250

Change-Id: I2d73cb485ac1a6cb94913cdaa0b3a8bfe87a60e0
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
kubernetes/policy/values.yaml

index 2fd3c32..fbaeda2 100644 (file)
@@ -286,7 +286,7 @@ mariadb-galera:
   serviceAccount:
     nameOverride: *mariadbService
 
-postgresImage: library/postgres:latest
+postgresImage: library/postgres:17.2
 # application configuration override for postgres
 postgres:
   nameOverride: &postgresName policy-postgres
@@ -294,6 +294,7 @@ postgres:
     name: *postgresName
     name2: policy-pg-primary
     name3: policy-pg-replica
+    internalPort: 5432
   container:
     name:
       primary: policy-pg-primary