Commit f8a9a2ea authored by Paul des Garets's avatar Paul des Garets
Browse files

Fix multiline helm command

parent 71866b53
Pipeline #8729 failed with stages
in 19 seconds
......@@ -39,22 +39,23 @@ deploy:
- kubectl config set-context ${CONTEXT} --cluster=${CLUSTER} --user=${USER}
- kubectl config use-context ${CONTEXT}
- sed -i "s/letsencrypt-issuer/letsencrypt-${PROJECT_NAME}/g" values.yaml
- helm upgrade --install ${PROJECT_NAME} myapps-chart-0.1.0.tgz --debug --namespace=${NAMESPACE} \
--set ingress.tls[0].hosts[0]=${URL}\
--set ingress.tls[0].secretName=${PROJECT_NAME}-tls\
--set ingress.hosts[0].host=${URL}\
--set ingress.serviceName={PROJECT_NAME}\
--set ${DB_IMAGE}.enabled=true\
--set initdbUser=admin\
--set initdbPassword=${PASSWORD_DB}\
--set db.user=admin\
--set db.password=${PASSWORD_DB}\
--set image.repository=${IMAGE_REPO}${CI_COMMIT_SHORT_SHA}\
--set myapps.namespace=${NAMESPACE}\
--set myapps.name=${PROJECT_NAME}\
--set myapps.selector=${PROJECT_NAME}\
--set myapps.nameDB=${PROJECT_NAME}-database\
--set postgresql.persistence.size=1Gi\
--set mariadb.master.persistence.size=1Gi\
--set ingress.certmanager=letsencrypt-${PROJECT_NAME}\
--values=values.yaml
- >
helm upgrade --install ${PROJECT_NAME} myapps-chart-0.1.0.tgz --debug --namespace=${NAMESPACE}
--set ingress.tls[0].hosts[0]=${URL}
--set ingress.tls[0].secretName=${PROJECT_NAME}-tls
--set ingress.hosts[0].host=${URL}
--set ingress.serviceName=${PROJECT_NAME}
--set ${DB_IMAGE}.enabled=true
--set initdbUser=admin
--set initdbPassword=${PASSWORD_DB}
--set db.user=admin
--set db.password=${PASSWORD_DB}
--set image.repository=zasyvcng.gra5.container-registry.ovh.net/library/${CI_COMMIT_SHORT_SHA}
--set myapps.namespace=${NAMESPACE}
--set myapps.name=${PROJECT_NAME}
--set myapps.selector=${PROJECT_NAME}
--set myapps.nameDB=${PROJECT_NAME}-database
--set postgresql.persistence.size=1Gi
--set mariadb.master.persistence.size=1Gi
--set ingress.certmanager=letsencrypt-${PROJECT_NAME}
--values=values.yaml
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment