Closed doronkg closed 3 months ago
Attention: Patch coverage is 27.02703%
with 27 lines
in your changes missing coverage. Please review.
Project coverage is 41.30%. Comparing base (
a2f3629
) to head (92d3283
).
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What this PR does / why we need it
This PR excludes the default resources created in basic OpenShift installations. In addition, I've moved the config load out of the processing loop in most resource types, to reduce excessive iterations.
PR Checklist
GitHub Issue
Closes #240
Notes for your reviewers
In
pkg/kor/secrets.go
, a new exception secret type was added -kubernetes.io/dockercfg
, which is the OpenShift equivalent ofkubernetes.io/dockerconfigjson
.Basic OpenShift installation comes with 60+ namespaces beginning with
openshift-
prefix, which doesn't include additional namespaces created by OpenShift operators or customized installations, that would also be created with that prefix. For that case, I've excluded allopenshift-
namespaces in all relevant namespaced resource types, with the following pattern: