NorthScope has been installed.

Release:
  {{ .Release.Name }} in namespace {{ .Release.Namespace }}

{{ if .Values.ingress.enabled }}
Ingress:
{{ range .Values.ingress.hosts }}
  {{ if $.Values.ingress.tls }}https://{{ .host }}{{ else }}http://{{ .host }}{{ end }}
{{ end }}
{{- range .Values.ingress.hosts }}
{{- if eq .host "northscope.example.com" }}
NOTE: northscope.example.com is the chart's placeholder host. Set
ingress.hosts[0].host to a DNS name that points at your ingress controller.
{{ end }}
{{- end }}
{{- if and .Values.auth.enabled (not .Values.ingress.tls) }}
WARNING: The Ingress has no TLS, so the sign-in password and session cookie
travel over plain HTTP. Set ingress.tls (for example with cert-manager) unless
TLS is terminated in front of the ingress controller.
{{ end }}

{{ else }}
Port-forward:
  kubectl -n {{ .Release.Namespace }} port-forward svc/{{ include "northscope.fullname" . }} 18080:{{ .Values.service.port }}

Open:
  http://localhost:18080
{{ end }}

{{ if .Values.auth.enabled -}}
Sign in:
{{- if .Values.auth.existingSecret }}
  Username: kubectl -n {{ .Release.Namespace }} get secret {{ include "northscope.authSecretName" . }} -o jsonpath='{.data.username}' | base64 -d; echo
{{- else }}
  Username: {{ .Values.auth.username }}
{{- end }}
  Password: kubectl -n {{ .Release.Namespace }} get secret {{ include "northscope.authSecretName" . }} -o jsonpath='{.data.password}' | base64 -d; echo

{{ else -}}
WARNING: Authentication is disabled (auth.enabled=false). Anyone who can reach
the Service can view cluster topology, including internal hostnames and Pod IPs.

{{ end -}}
Uninstall:
  helm uninstall {{ .Release.Name }} -n {{ .Release.Namespace }}
