Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
fix NOTES when no mariadb password
Browse files Browse the repository at this point in the history
  • Loading branch information
Adnan Abdulhussein committed Jan 31, 2017
1 parent 8a2b965 commit f3df3b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stable/phabricator/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ host. To configure Phabricator with the URL of your service:

export APP_HOST=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
export APP_PASSWORD=$(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath="{.data.phabricator-password}" | base64 --decode)
{{- if .Values.mariadb.mariadbRootPassword }}
export APP_DATABASE_PASSWORD=$(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "mariadb.fullname" . }} -o jsonpath="{.data.mariadb-root-password}" | base64 --decode)
{{- end }}
{{- end }}

2. Complete your Phabricator deployment by running:

helm upgrade {{ .Release.Name }} \
--set phabricatorHost=$APP_HOST,phabricatorPassword=$APP_PASSWORD,mariadb.mariadbRootPassword=$APP_DATABASE_PASSWORD stable/phabricator
--set phabricatorHost=$APP_HOST,phabricatorPassword=$APP_PASSWORD{{ if .Values.mariadb.mariadbRootPassword }},mariadb.mariadbRootPassword=$APP_DATABASE_PASSWORD{{ end }} stable/phabricator

{{- else -}}
1. Get the Phabricator URL by running:
Expand Down

0 comments on commit f3df3b6

Please sign in to comment.