Thank you for installing {{ .Chart.Name }}!

Rootcoz is a single-replica deployment (SQLite on a ReadWriteOnce PVC). Do not scale replicas above 1.

{{- if .Values.route.enabled }}
{{- if .Values.route.host }}

Route: https://{{ .Values.route.host }}
{{- else }}

Route: auto-generated by OpenShift. Get the hostname:
  oc get route {{ include "rootcoz.fullname" . }}-route -n {{ .Release.Namespace }} -o jsonpath='{.spec.host}'
{{- end }}
{{- else if .Values.ingress.enabled }}

Ingress: {{ if .Values.ingress.tls.enabled }}https{{ else }}http{{ end }}://{{ .Values.ingress.host }}
{{- else }}

No external Route/Ingress configured. Access via port-forward:
  kubectl port-forward svc/{{ include "rootcoz.fullname" . }} 8000:8000 -n {{ .Release.Namespace }}
{{- end }}

Bootstrap admin login:
  Username: admin
  API key:
    kubectl get secret {{ include "rootcoz.credentialsSecretName" . }} -n {{ .Release.Namespace }} \
      -o jsonpath='{.data.ADMIN_KEY}' | base64 -d; echo

Configure Jenkins, Jira, GitHub, and other integrations in Server Settings after login.

WARNING: helm uninstall keeps the PVC (data retained). Do not delete the encryption secret
({{ include "rootcoz.encryptionSecretName" . }}) independently or the database becomes unreadable.

Run health check: helm test {{ .Release.Name }} -n {{ .Release.Namespace }}
