Chart version: {{ .Chart.Version }}
Kyverno version: {{ default .Chart.AppVersion (default .Values.image.tag .Values.initImage.tag) }}

Thank you for installing {{ .Chart.Name }}! Your release is named {{ .Release.Name }}.

{{- if not .Values.replicaCount }}
⚠️  WARNING: Setting replicas count below 3 means Kyverno is not running in high availability mode.
{{- else if lt (int .Values.replicaCount) 3 }}
⚠️  WARNING: Setting replicas count below 3 means Kyverno is not running in high availability mode.
{{- end }}

💡 Note: There is a trade-off when deciding which approach to take regarding Namespace exclusions. Please see the documentation at https://kyverno.io/docs/installation/#security-vs-operability to understand the risks.

{{- if semverCompare "<1.21.0" .Capabilities.KubeVersion.Version }}
⚠️  WARNING: The minimal Kubernetes version officially supported by Kyverno is 1.21. Earlier versions are untested and Kyverno is not guaranteed to work with Kubernetes {{ .Capabilities.KubeVersion.Version }}.
{{- end }}
