Skip to content

Commit

Permalink
OPSEXP-2481: alfresco-repository - fix repo init container (#242)
Browse files Browse the repository at this point in the history
Co-authored-by: alxgomz <[email protected]>
  • Loading branch information
alxgomz and alxgomz authored Mar 5, 2024
1 parent 165d023 commit 04f49df
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/alfresco-repository/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/alfresco-repository/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion charts/alfresco-repository/ci/default-values.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
3 changes: 2 additions & 1 deletion charts/alfresco-repository/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04f49df

Please sign in to comment.