-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #455 from percona/EVEREST-1757
EVEREST-1757 | improve post install message
- Loading branch information
Showing
1 changed file
with
27 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,37 @@ | ||
{{ if .Release.IsInstall }} | ||
Thank you for installing Everest! | ||
{{- if .Release.IsInstall }} | ||
Thank you for installing Everest (v{{ .Chart.AppVersion }})! | ||
|
||
Get started by following the below steps: | ||
Follow the steps below to get started: | ||
{{ if not .Values.dbNamespace.enabled }} | ||
PROVISION A NAMESPACE FOR YOUR DATABASES | ||
========================================= | ||
|
||
1. Access the Everest UI: | ||
Install a namespace for your databases using the following command: | ||
|
||
Setup a port-forward to the Everest service: | ||
helm install everest/everest-db-namespace --namespace everest --create-namespace | ||
|
||
kubectl port-forward svc/everest 8080:8080 -n everest-system | ||
{{- end }} | ||
|
||
Next, open your browser at http://localhost:8080. | ||
RETRIEVE THE INITIAL ADMIN PASSWORD | ||
==================================== | ||
|
||
2. Retrieve the initial admin password: | ||
Run the following command to fetch the initial admin password: | ||
|
||
kubectl get secret everest-accounts -n everest-system -o jsonpath='{.data.users\.yaml}' | base64 --decode | yq '.admin.passwordHash' | ||
kubectl get secret everest-accounts -n everest-system -o jsonpath='{.data.users\.yaml}' | base64 --decode | yq '.admin.passwordHash' | ||
|
||
{{if (not .Values.dbNamespace.enabled) }} | ||
3. Provision a namespace for your databases: | ||
**Note:** The initial password is stored in plain text. For security, change it immediately using the following command: | ||
|
||
cat <<EOF | kubectl create -f - | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: everest | ||
labels: | ||
app.kubernetes.io/managed-by: everest | ||
EOF | ||
helm install everest percona/everest-db-namespace --namespace everest | ||
{{ end }} | ||
{{ end }} | ||
{{ if .Release.IsUpgrade }} | ||
everestctl accounts set-password -u admin | ||
|
||
ACCESS THE EVEREST UI | ||
====================== | ||
|
||
To access the web UI, set up port-forwarding and visit http://localhost:8080 in your browser: | ||
|
||
kubectl port-forward svc/everest 8080:8080 -n everest-system | ||
{{- end }} | ||
|
||
{{- if .Release.IsUpgrade }} | ||
Everest has been successfully upgraded to version {{ .Chart.AppVersion }}! | ||
{{ end }} | ||
{{- end }} | ||
|