{{- /*
  Helm prints only the installed chart's notes, never a subchart's, so the `openbot` chart's notes
  about shared computers are said again here, in its own words (`openbot.sharedComputersWhy`).
*/}}
{{- $computers := (.Values.openbot | default dict).computers | default dict }}
{{- if and .Values.openbot.enabled (has ($computers.mode | default "") (list "shared" "external")) }}
SHARED COMPUTERS, ACKNOWLEDGED (openbot.computers.sharedModeAcknowledged=true).

{{ include "openbot.sharedComputersWhy" "openbot." }}

OpenBot's admins see the same notice in Admin.
{{ end -}}
