{{ if .Release.IsInstall }}
Thank you for installing Everest!

Get started by following the below steps:

1. Access the Everest UI:

Setup a port-forward to the Everest service:

kubectl port-forward svc/everest 8080:8080 -n everest-system

Next, open your browser at http://localhost:8080.

2. Retrieve the initial admin password:

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:

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 }}
Everest has been successfully upgraded to version {{ .Chart.AppVersion }}!
{{ end }}
