Skip to content

Postgres-Installation into Kubernetes fails due to unavailable image #1670

@mbert

Description

@mbert

bitnami has moved the image referenced in the repo away, so that mosip-infra/deployment/v3/external/postgres/install.sh fails. The following change works for me:

diff --git a/deployment/v3/external/postgres/install.sh b/deployment/v3/external/postgres/install.sh
index 960578d0..3fef24e5 100755
--- a/deployment/v3/external/postgres/install.sh
+++ b/deployment/v3/external/postgres/install.sh
@@ -15,7 +15,7 @@ kubectl label ns $NS istio-injection=enabled --overwrite
 
 function installing_postgres() {
   echo Installing  Postgres
-  helm -n $NS install postgres bitnami/postgresql --version 12.11.1 -f values.yaml --wait
+  helm -n $NS install postgres bitnami/postgresql --version 12.11.1 -f values.yaml --set image.registry=docker.io --set image.repository=bitnamilegacy/postgresql --set image.tag=15.4.0-debian-11-r10 --wait
   echo Installed Postgres
 
   echo Installing gateways and virtual services

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions