diff --git a/.github/ISSUE_TEMPLATE/bug-cli.yaml b/.github/ISSUE_TEMPLATE/bug-cli.yaml index 0acd24a2fb..cb02f8a47d 100644 --- a/.github/ISSUE_TEMPLATE/bug-cli.yaml +++ b/.github/ISSUE_TEMPLATE/bug-cli.yaml @@ -16,7 +16,10 @@ body: options: - 1.4.x - 1.5.x - - 1.6.x + - 1.6.0 + - 1.6.1 + - 1.6.2 + - 1.7.0 validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/bug-other.yaml b/.github/ISSUE_TEMPLATE/bug-other.yaml index ffea8afecc..57bf39df9a 100644 --- a/.github/ISSUE_TEMPLATE/bug-other.yaml +++ b/.github/ISSUE_TEMPLATE/bug-other.yaml @@ -15,7 +15,10 @@ body: options: - 1.4.x - 1.5.x - - 1.6.x + - 1.6.0 + - 1.6.1 + - 1.6.2 + - 1.7.0 validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/bug-webhook.yaml b/.github/ISSUE_TEMPLATE/bug-webhook.yaml index bfef88b5c0..ec5ad02ee9 100644 --- a/.github/ISSUE_TEMPLATE/bug-webhook.yaml +++ b/.github/ISSUE_TEMPLATE/bug-webhook.yaml @@ -15,7 +15,10 @@ body: options: - 1.4.x - 1.5.x - - 1.6.x + - 1.6.0 + - 1.6.1 + - 1.6.2 + - 1.7.0 validations: required: true - type: dropdown diff --git a/charts/kyverno/templates/NOTES.txt b/charts/kyverno/templates/NOTES.txt index 169c7c1eea..aec28a6cf8 100644 --- a/charts/kyverno/templates/NOTES.txt +++ b/charts/kyverno/templates/NOTES.txt @@ -1,19 +1,16 @@ -Thank you for installing {{ .Chart.Name }} {{ .Chart.Version }} 😀 +Chart version: {{ .Chart.Version }} +Kyverno version: {{ default .Chart.AppVersion (default .Values.image.tag .Values.initImage.tag) }} -Your release is named {{ .Release.Name }}, app 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. +⚠️ WARNING: Setting replicas count below 3 means Kyverno is not running in high availability mode. {{- else if lt .Values.replicaCount 3 }} -WARNING: Setting replicas count below 3 means Kyverno is not running in high availability mode. +⚠️ WARNING: Setting replicas count below 3 means Kyverno is not running in high availability mode. {{- end }} -{{- if empty .Values.config.webhooks }} -WARNING: Kyverno has been installed with no Namespace exclusions which may prevent normal cluster operations in cluster or Node failure scenarios. Please see the documentation at https://kyverno.io/installation/#security-vs-operability to understand the risks. -{{- else }} -WARNING: Kyverno has been installed and some Namespaces and/or resources have been excluded from webhooks. Please see the documentation at https://kyverno.io/installation/#security-vs-operability to understand the risks. -{{- end }} +💡 Note: There is a trade-off when deciding which approach to take regarding Namespace exclusions. Please see the documentation at https://kyverno.io/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. We don't run tests against previous versions and Kyverno is not guaranteed to work with Kubernetes {{ .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 }} diff --git a/charts/kyverno/values.yaml b/charts/kyverno/values.yaml index 9c56cc5baf..0cd2924ddd 100644 --- a/charts/kyverno/values.yaml +++ b/charts/kyverno/values.yaml @@ -261,14 +261,15 @@ config: # Note that it takes a list of `namespaceSelector` and/or `objectSelector` in the JSON format, and only the first element # will be forwarded to the webhook configurations. webhooks: - # Exlude namespaces + # Exclude namespaces # - namespaceSelector: # matchExpressions: - # - key: environment + # - key: kubernetes.io/metadata.name # operator: In # values: - # - prod - # Exlude objects + # - kube-system + # - kyverno + # Exclude objects # - objectSelector: # matchExpressions: # - key: webhooks.kyverno.io/exclude