{{- if .Release.IsInstall }}
Thank you for installing Everest (v{{ .Chart.AppVersion }})!

Follow the steps below to get started:
{{ if not .Values.dbNamespace.enabled }}
PROVISION A NAMESPACE FOR YOUR DATABASES
=========================================

Install a namespace for your databases using the following command:

    helm install everest percona/everest-db-namespace --namespace everest --create-namespace

{{- end }}

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'

**Note:** The initial password is stored in plain text. For security, change it immediately using the following command:

    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 }}

