Change the postgresql image in installation 31/14931/1
authorSwaraj Kumar <swaraj.kumar@samsung.com>
Thu, 18 Sep 2025 13:06:33 +0000 (18:36 +0530)
committerSwaraj Kumar <swaraj.kumar@samsung.com>
Thu, 18 Sep 2025 13:06:33 +0000 (18:36 +0530)
Temporary fix by changing the bitnami to bitnamilegacy

Issue-ID: AIMLFW-248

Change-Id: I90e08cbf12c127c54121cec21119d508489fad49
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
bin/install_databases.sh

index d845c45..8421537 100755 (executable)
@@ -30,7 +30,7 @@ helm repo add bitnami https://charts.bitnami.com/bitnami
 
 # Install PostgreSQL for Training Manager
 log_message "INFO" "Helm" "Installing PostgreSQL (tm-db) in 'traininghost' namespace..."
-helm install tm-db bitnami/postgresql --namespace traininghost
+helm install tm-db bitnami/postgresql  --set image.repository="bitnamilegacy/postgresql" --set image.tag="17.6.0" --set global.security.allowInsecureImages=true --namespace traininghost
 
 # Wait for tm-db to be ready
 log_message "INFO" "Kubernetes" "Waiting for tm-db-postgresql pod to be ready..."