[stable/phabricator] Update NOTES.txt setting the database root password on upgrade (#8440)

Signed-off-by: tompizmor <tompizmor@gmail.com>
This commit is contained in:
Tomas Pizarro
2018-10-16 01:58:41 -07:00
committed by k8s-ci-robot
parent ee6e8cc5ba
commit 6aa6fe5e83
2 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: phabricator
version: 3.1.0
version: 3.1.1
appVersion: 2018.40.0
description: Collection of open source web applications that help software companies build better software.
keywords:
+3 -5
View File
@@ -20,15 +20,13 @@ host. To configure Phabricator with the URL of your service:
export APP_HOST=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "phabricator.fullname" . }} --template "{{ "{{ range (index .status.loadBalancer.ingress 0) }}{{ . }}{{ end }}" }}")
export APP_PASSWORD=$(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "phabricator.fullname" . }} -o jsonpath="{.data.phabricator-password}" | base64 --decode)
{{- if .Values.mariadb.mariadbRootPassword }}
export APP_DATABASE_PASSWORD=$(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "phabricator.mariadb.fullname" . }} -o jsonpath="{.data.mariadb-root-password}" | base64 --decode)
{{- end }}
export DATABASE_ROOT_PASSWORD=$(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "phabricator.mariadb.fullname" . }} -o jsonpath="{.data.mariadb-root-password}" | base64 --decode)
{{- end }}
2. Complete your Phabricator deployment by running:
helm upgrade {{ .Release.Name }} \
--set phabricatorHost=$APP_HOST,phabricatorPassword=$APP_PASSWORD{{ if .Values.mariadb.mariadbRootPassword }},mariadb.mariadbRootPassword=$APP_DATABASE_PASSWORD{{ end }} stable/phabricator
helm upgrade {{ .Release.Name }} stable/phabricator \
--set phabricatorHost=$APP_HOST,phabricatorPassword=$APP_PASSWORD,mariadb.rootUser.password=$DATABASE_ROOT_PASSWORD
{{- else -}}
1. Get the Phabricator URL by running: