UNCLASSIFIED - NO CUI

Skip to content

AuthZPolicy should not be deployed if Reporter-UI is disabled

Bug

Description

When Kyverno Reporter UI is disabled (upstream.ui.enabled=false), the corresponding AuthorizationPolicy is still deployed.

See here. I believe this line should change from

{{- if and .Values.istio.enabled .Values.istio.hardened.enabled -}}

to

{{- if and .Values.istio.enabled .Values.istio.hardened.enabled .Values.upstream.ui.enabled -}}

BigBang Version

3.1.0