{{- /*
Root-level notes. Only the parent chart's NOTES.txt is printed by helm install/upgrade, so
operator-facing deprecation notices for subcharts live here, gated so a default deployment
prints nothing. ArgoCD never shows notes; the release notes carry the same text there.
*/ -}}
{{- $q := (((.Values.kafka).cluster).kafka).quotas | default dict -}}
{{- $defaults := $q.defaults | default dict -}}
{{- if and $defaults.enabled (ne ($q.type | default "strimzi") "kafka") }}
WARNING: kafka.cluster.kafka.quotas.defaults.enabled is set but ignored.
  The post-install Job it drove has been removed, and under quotas.type "strimzi" the flag does
  nothing. Rate limits now come from quotas.strimzi.* (type strimzi) or quotas.kafka.* (type kafka);
  see https://docs.hopsworks.ai/latest/setup_installation/admin/kafka_quotas/#kafka-quotas-defaults-migration
  The client-id default the old Job wrote may still be in Kafka. On clusters first installed with
  pre-0.45 Strimzi CRDs it has been in force and lapses when the CRD upgrade Job runs; on any
  cluster it goes live again if quotas.type is later set to "kafka". Check before relying on either:
    kafka-configs.sh --bootstrap-server <broker>:9091 --command-config <cfg> --describe --entity-type clients
{{- end }}
