Closed fabriziosestito closed 3 days ago
Attention: Patch coverage is 81.57895%
with 14 lines
in your changes missing coverage. Please review.
Project coverage is 72.97%. Comparing base (
e3750b2
) to head (c5a217e
).
Files | Patch % | Lines |
---|---|---|
internal/pkg/admission/policy-server-ca-secret.go | 73.33% | 6 Missing and 2 partials :warning: |
internal/pkg/certs/certs.go | 86.36% | 3 Missing and 3 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@flavio I've addressed the comments in https://github.com/kubewarden/kubewarden-controller/pull/777/commits/c3cbdf4e9759e6e0fa2900d2343bcde0865cfe43.
I tracked all the naming-related comments in: https://github.com/kubewarden/kubewarden-controller/issues/782
Blocked: waiting for 1.14 release
Description
This PR refactors the generation utilities in the
admissionregistration
package, removing duplication and simplifying the current implementation. It renamesadmissionregistration
incerts
and reactors the existing reconciler unit test in integration tests clauses.Additional info
This PR also changes the golangci configuration to add an exception for the
ok
map index in thevarnamelen
linter. However we should uniform and clean up the golangci configurations across all the KW repos, this is tracked by: #778There are a few incongruences with the naming, for instance, this status https://github.com/kubewarden/kubewarden-controller/blob/030edce6f7c57d54b88453054e39f9baa20377cc/pkg/apis/policies/v1/policyserver_types.go#L132 should be probably named
CertSecretReconciled
instead. Fixing this is out of scope for this PR and I will create an issue about it.Fixes: #775, #664