Test installation of the policy reporter subchart with auditScanner.policyReporter=true.
Check that the kubewarden-controller-ui is up and running.
Check that the services kubewarden-controller-ui and kubewarden-controller-policy-reporter are available.
Perform a minimal smoke test (e.g: setting kubectl port-forward service/kubewarden-controller-ui 8082:8080 -n kubewarden and hitting the kubewarden-controller-ui in localhost:8082). Maybe there's better ways.
Repeat the test in upgrade scenarios, upgrading the policy-reporter chart bits too, by upgrading from an install with auditScanner.policyReporter=true .
From the fallout of https://github.com/kubewarden/helm-charts/issues/311, it is obvious we need some minimum testing of the policy-reporter UI subchart.
Acceptance criteria
Test installation of the policy reporter subchart with
auditScanner.policyReporter=true
.kubewarden-controller-ui
is up and running.kubewarden-controller-ui
andkubewarden-controller-policy-reporter
are available.kubectl port-forward service/kubewarden-controller-ui 8082:8080 -n kubewarden
and hitting the kubewarden-controller-ui in localhost:8082). Maybe there's better ways.Repeat the test in upgrade scenarios, upgrading the policy-reporter chart bits too, by upgrading from an install with
auditScanner.policyReporter=true
.