Thanks for installing {{ .Chart.Name }}.

Release name : {{ .Release.Name }}
Namespace    : {{ .Release.Namespace }}
Image        : {{ include "kabactl.image" . }}
Replicas     : {{ if .Values.autoscaling.enabled }}{{ .Values.autoscaling.minReplicas }}–{{ .Values.autoscaling.maxReplicas }} (HPA){{ else }}{{ .Values.replicaCount }}{{ end }}

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

The service is exposed via Ingress:
{{- $tls := .Values.ingress.tls -}}
{{- range $host := .Values.ingress.hosts }}
  {{- range $path := $host.paths }}
  http{{ if $tls }}s{{ end }}://{{ $host.host }}{{ $path.path }}
  {{- end }}
{{- end }}
{{- else if eq .Values.service.type "ClusterIP" }}

To access the service from your local machine:

  kubectl port-forward -n {{ .Release.Namespace }} svc/{{ include "kabactl.fullname" . }} 28832:{{ .Values.service.port }}

  # kabactl listens on HTTPS with a self-signed cert by default.
  # `-k` skips cert verification; for trusted access, pull
  # /home/kaba/.config/kaba/certs/kaba.cert from the pod and import it.
  curl -k https://localhost:28832/

{{- if .Values.service.proxyEnabled }}
To use the SOCKS5 proxy (port {{ .Values.service.proxyPort }}):

  kubectl port-forward -n {{ .Release.Namespace }} svc/{{ include "kabactl.fullname" . }} 28833:{{ .Values.service.proxyPort }}
  curl --socks5 localhost:28833 https://example.com
{{- end }}
{{- end }}

Tail logs:
  kubectl logs -n {{ .Release.Namespace }} -l app.kubernetes.io/instance={{ .Release.Name }} -f
