Warp is starting as {{ .Values.serverName }}.

Create the first administrator:

  kubectl exec -n {{ .Release.Namespace }} deploy/{{ include "warp.fullname" . }} -- \
    warp create-account --username admin --admin

{{- if not .Values.ingress.enabled }}

Reach it locally:

  kubectl port-forward -n {{ .Release.Namespace }} svc/{{ include "warp.fullname" . }} 8008:{{ .Values.service.port }}
  curl http://localhost:8008/_matrix/client/versions
{{- end }}

The signing key {{ if .Values.signingKey.existingSecret }}comes from the secret {{ .Values.signingKey.existingSecret }}{{ else }}is on the data volume, which is kept when the release is deleted{{ end }}.
Losing it means other servers no longer recognise this one.
{{- if .Values.admin.enabled }}

The admin panel is {{ if .Values.admin.ingress.enabled }}on https://{{ .Values.admin.ingress.host }}.{{ else }}reachable with:

  kubectl port-forward -n {{ .Release.Namespace }} svc/{{ include "warp.admin.fullname" . }} 8009:{{ .Values.admin.service.port }}
  # then browse to http://localhost:8009{{ end }}

Sign in with an account that has the admin flag.
{{- end }}
