diff --git a/charts/alfresco-repository/Chart.yaml b/charts/alfresco-repository/Chart.yaml index 1cc000e1..95bdc556 100644 --- a/charts/alfresco-repository/Chart.yaml +++ b/charts/alfresco-repository/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: alfresco-repository description: Alfresco content repository Helm chart type: application -version: 0.4.0 +version: 0.4.1 appVersion: 23.2.1 dependencies: - name: alfresco-common diff --git a/charts/alfresco-repository/README.md b/charts/alfresco-repository/README.md index 502c0200..ab657f91 100644 --- a/charts/alfresco-repository/README.md +++ b/charts/alfresco-repository/README.md @@ -1,6 +1,6 @@ # alfresco-repository -![Version: 0.4.0](https://img.shields.io/badge/Version-0.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 23.2.1](https://img.shields.io/badge/AppVersion-23.2.1-informational?style=flat-square) +![Version: 0.4.1](https://img.shields.io/badge/Version-0.4.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 23.2.1](https://img.shields.io/badge/AppVersion-23.2.1-informational?style=flat-square) Alfresco content repository Helm chart diff --git a/charts/alfresco-repository/ci/default-values.yaml b/charts/alfresco-repository/ci/default-values.yaml index 45829ece..3c5de0f4 100644 --- a/charts/alfresco-repository/ci/default-values.yaml +++ b/charts/alfresco-repository/ci/default-values.yaml @@ -1,6 +1,6 @@ configuration: db: - url: postgresql://pg-postgresql-acs/alfresco + url: postgresql://pg-postgresql-acs:5432/alfresco username: &pguser pguser password: &pgpass pgpass messageBroker: diff --git a/charts/alfresco-repository/templates/deployment.yaml b/charts/alfresco-repository/templates/deployment.yaml index 95b0875c..c600eda1 100644 --- a/charts/alfresco-repository/templates/deployment.yaml +++ b/charts/alfresco-repository/templates/deployment.yaml @@ -38,7 +38,8 @@ spec: - sh - -c - | - NCTARGET=$(echo DATABASE_URL | awk -F ';|/' '{print $3}') + NCTARGET=$(echo "$DATABASE_URL" | awk -F ';|/' '{print $3}') + echo -n "Checking database socket: " if [[ "$NCTARGET" == *":"* ]]; then until nc -vw1 $NCTARGET; do sleep 2