Skip to content

Commit

Permalink
NIT-994 pipeline for installing helm charts
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahzad Chaudhry committed Dec 19, 2023
1 parent 134780b commit 7bba845
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cloud-platform-deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ jobs:
kubectl config use-context ${KUBE_CLUSTER}
# Helm will not deploy unless this secret is present
if [ -z ${SECRET+x} ]
if [ -z ${SECRET} ]
then
SECRET=$(openssl rand -base64 20)
echo "Unset secret = $SECRET"
echo "Unset secret"
else
SECRET=$(awk '{print substr($0, 19)}' <<< $(kubectl get secrets alfresco-content-services-alfresco-repository-properties-secret -o jsonpath='{.data.alfresco-global\.properties}' | base64 -d))
echo "Secret = $SECRET"
echo "Set secret"
fi
# This is the S3 bucket where docs are stored
Expand Down

0 comments on commit 7bba845

Please sign in to comment.